Yesterday my friend and ex-colleague Sveta published a blog post on how to migrate ownership of stored routines, views and triggers in MySQL. I usually agree a lot with her and even if I agree with what she wrote, there is one single point I would like to comment: use MySQL Shell ! In the blog post,...
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
Benchmarking is a critical technique for delivering high performance software. The basic idea behind benchmarking is measuring and comparing the performance of one software version against another. Over the years, many benchmarking techniques have emerged, but we can broadly separate them into two categories: micro and macro benchmarks. Micro-benchmarks measure a small part of the codebase, usually by isolating a single function call and calling it repeatedly, whereas macro-benchmarks measure the performance of the codebase as a whole and run in an environment similar to what end-users experience.
“It would be nice to have an option, that would allow to suppress the DEFINER statement in the CREATE VIEW statements generated by mysqldump. This would help when transferring data structures between databases with different security models.”
TLDR;
Use mysqlpump with option
--skip-definer
instead of
mysqldump
. The Story
This was requested as MySQL Bug #24680 on Nov 29, 2006. This feature request got large Community support. Even if we cannot see the number of people who voted for this request, the number of comments is impressive.
The request is very reasonable:
mysqldump
is widely used during application development and it is a very common practice to migrate database structure …
[Read more]In the previous posts of this series, I presented how the Percona Support team approaches the analysis and troubleshooting of a MySQL server using a tried-and-tested method supported by specific tools found in the Percona Toolkit:
Inspecting MySQL Servers Part 1: The Percona Support Way
Inspecting MySQL Servers Part 2: Knowing the Server
Inspecting MySQL Servers Part 3: What MySQL?
Inspecting MySQL Servers Part 4: An Engine in …
[Read more]MySQL Database Service with HeatWave is now available in Brazil Southeast (Vinhedo) and Brazil East (Sao Paulo) regions.
With this addition, Oracle Cloud Infrastructure customers have more flexibility to deploy MySQL DB Systems closer to their applications, and it is now possible to select any of the 23 Oracle Cloud Infrastructure regions:
North America US East (Ashburn) US West (Phoenix) US West (San Jose) Canada Southeast (Toronto) Canada Southeast (Montreal) Latin America Brazil East (Sao Paulo) Brazil Southeast (Vinhedo) Chile Central (Santiago) EMEA UK South (London) UK West (Newport) Germany Central (Frankfurt) Switzerland North (Zurich) Netherlands Northwest (Amsterdam) Saudi Arabia West (Jeddah) UAE East (Dubai) APAC Japan East (Tokyo) Japan Central (Osaka) South Korea Central (Seoul) South Korea North …
[Read more]MySQL Database Service with HeatWave is now available in Brazil Southeast (Vinhedo) and Brazil East (Sao Paulo) regions. With this addition, Oracle Cloud Infrastructure customers have more flexibility to deploy MySQL DB Systems closer to their applications, and it is now possible to select any of th...
Recently I blogged about how to easily deploy a LAMP application to MDS.
Using the Terraform module (OCI Resource Manager’s Stack) you also have the possibility to choose the PHP version to install:
But as you should already know, not all versions support the
latest default authentication method in MySQL 8.0:
caching_sha2_password [1], [2],
[3].
Most of the PHP applications are using mysqli and
mysqlnd …
Recently I blogged about how to easily deploy a LAMP application to MDS.
Using the Terraform module (OCI Resource Manager’s Stack) you also have the possibility to choose the PHP version to install:
But as you should already know, not all versions support the latest default authentication method in MySQL 8.0: caching_sha2_password [1], [2], [3].
Most of the PHP applications are using mysqli and …
[Read more]The new MyDumper 0.10.7 version, which includes many new features and bug fixes, is now available. You can download the code from here.
For this release, we have added several features like WHERE support that is required for partial backups. We also added CHECKSUM for tables which help to speed up the restore of large tables to take advantage of fast index creation, and more.
New Features:
[Read more]In this post I will show how to program a C++ client for MySQL NDB Cluster. I have already presented MySQL Cluster, the distributed database using the in-memory storage engine, in several occasions. You may have learnt how to configure and start MySQL Cluster, so I will assume that a cluster is up and running. If you want to develop a simple C++ client, just run the cluster in a single host, which may be your very laptop. In order to compile an NDB API client, you will need.
- MySQL NDB Cluster installed. Community distributions are here (I like to work with the self contained TAR).
- The cluster up and …