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 …
One of the new features introduced in MySQL 8.0.24 was the ability to log all SQL statements that are issued in the MySQL Shell to the system log. This is a useful feature that can greatly assist in tracking who did what on the system.
Usage
The simplest way to utilize the new Shell logging feature is to simply start the MySQL Shell with the syslog option enabled like so:
$> mysqlsh --syslog --sql root@localhost
From this point forward all SQL entered in the MySQL Shell will be logged to the system log. For example, the following SQL is entered into the Shell:
MySQL localhost:33060+ ssl SQL > show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | sys | +--------------------+
We can now check the system log and verify that the statement above was indeed logged …
[Read more]