In MySQL 8.0, we are making large changes to the way the MySQL server stores meta data with the introduction of our native data dictionary. As part of these improvements, we have also made changes to the way the server bootstraps.…
This blog post is all about new MySQL 5.7 physical, logical architecture and it’s components.In this blog post, I will try to explain things in flow including data processing and SQL execution in MySQL with the help of diagrams.
Unlike the other databases, MySQL is a very flexible and
offers different kinds of storage engines as a plugin
for different kinds of needs. Because of this,
MySQL architecture and behavior will also change as per the
use of storage engines, for example transactional [InnoDB]
and non-transactional [MyISAM] engines data storage and
SQL execution methods will be different and within the
server it will use engine specific components like memory and
buffers depending on type storage engine will get used for the
SQL operation.
Will discuss more InnoDB, since it’s default and main storage
engine for MySQL.
MySQL Physical Architecture: Configuration files: …
[Read more]It’s been a busy month for file vulnerabilities. Thanks to Dawid Golunski at legalhackers.com for giving us all the opportunity to tighten security in our MySQL, MariaDB, and Percona Server instances.
Details were released for the CVE 6663 mentioned last week and for a new CVE 6664:
http://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html
http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html
Note that 6664 is dependent on 6663, and 6663 can be mitigated by turning off symbolic_links (=0). Upgrade to the latest versions also fixes the problem. Regardless, the attacker …
[Read more]
My recent post about importing a big dataset from
InnoDB into MyRocks has attracted quite a lot of attention (thank
you Mark!) and also it has been pointed out that what I wrote
about coexistence of MyRocks and InnoDB was incorrect.
In fact, I had been asking about it at Percona Live last month,
but got a negative answer.... plus I had tried it at first but
got a mysqld crash during crash recovery once, so since it was
not important for my use case I went ahead and disabled InnoDB
entirely.
But of course, as I have written previously, using both engines
in the same server is something that I would really, really love
to have, so I thought to give it a try with a very simple use
case.
So I created the following two tables, each one with a different
engine:
…
Introduction This article is part of a series of posts related to calling various relational database systems stored procedures and database functions from Hibernate. The reason for writing this down is because there are many peculiarities related to the underlying JDBC driver support and not every JPA or Hibernate feature is supported on every relational … Continue reading How to call MySQL stored procedures and functions with JPA and Hibernate →
MySQL-Sandbox installs the MySQL server in
isolation, by rejecting existing option files using the option
--no-defaults
. This is usually a good thing, because
you don't want the initialization to be influenced by options in
your /etc/my.cnf
or other options files in default
positions.
However, such isolation is also a problem when you need to add
options during the initialization. One example is innodb-page-size, which can be set to many
values, but only if the server was initialized accordingly. Thus,
you can't set innodb-page-size=64K
in your
configuration file because the default value is different. It
would fail, as InnoDB would conflict.
…
[Read more]Percona has addressed CVE-2016-6663 and CVE-2016-6664 in releases of Percona Server for MySQL and Percona XtraDB Cluster.
Percona is happy to announce that the following vulnerabilities are fixed in current releases of Percona Server for MySQL and Percona XtraDB Cluster:
- CVE-2016-6663: allows a local system user with access to the affected database in the context of a low-privileged account (CREATE/INSERT/SELECT grants) to escalate their privileges and execute arbitrary code as the database system user (typically “mysql”).
- …
Join Percona’s Chief Evangelist Colin Charles on Thursday, November 3, 2016, at 10 am PDT/ 1:00pm EDT (UTC-7) as he presents “The MySQL Ecosystem in 2016.”
MySQL is a unique adult (now 21 years old) in many ways. It supports plugins. It supports storage engines. It is also owned by Oracle, thus birthing two branches of the popular opensource database: Percona Server and MariaDB Server. It also once spawned a fork: Drizzle. Lately, a consortium of web scale users (think a chunk of the top ten sites out there) have spawned WebScaleSQL.
You’re a busy DBA having to maintain this mix of technologies. Or you’re a CIO planning to choose one branch. How do you go about picking? Supporting multiple databases? Find out more in this talk. We will also take a deep-dive into what feature differences exist between MySQL/Percona …
[Read more]Test cases that do not perform a proper cleanup turn out to be a nightmare for test engineers or anyone who is tasked with the job of monitoring regression test results. It leads to test failures that are difficult to analyse and fix.…
This blog post discusses an information script for the Percona Monitoring and Management (PMM) tool.
In recent news, we announced the fresh-of-the-press Percona Monitoring and Management (or PMM for short) platform. Given the interaction of the different components that together make up PMM, I developed a script that helps provide you information about the status of your PMM installation.
You can use this script yourself, or one of our support might point you to this page to obtain the information they need to troubleshoot an issue you are experiencing.
You will likely want to execute this script once on the PMM …
[Read more]