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]Uber Engineering’s Schemaless storage system powers some of the biggest services at Uber, such as Mezzanine. Schemaless is a scalable and highly available datastore on top of MySQL¹ clusters. Managing these clusters was fairly easy when we had …
The post Dockerizing MySQL at Uber Engineering appeared first on Uber Engineering Blog.
This blog post is a result of reading book.
To be clear -> “Expert MySQL” by Charles Bell -> http://www.apress.com/gp/book/9781430246596
This book explain internals of MySQL based on 5.6.x version. So
relatively new and really good resource to use.
So the task is:
Chapter 8, “Extending MySQL High Availability” -> page 310,
“Extending Replication”.
Where we should add new command -> “SQLCOM_STOP_SLAVES”
executed on master and causing to STOP IO_THREAD on all
slaves.
The basic idea is to run “STOP ALL SLAVES” on master, which in
turn will appear on binary log and then it will applied on
slaves.
Great
MySQL version is 5.6.32.
So, as book advice go to sql/lex.h. “We are adding the new symbol for the command. This file contains the symbol array stored in …
[Read more]
I have been following Facebook's MyRocks project (and Mark Callaghan's
blog) for a long time. The idea of an LSM based engine for
MySQL is actually a great idea.
We all know that InnoDB sucks at INSERTs. BTree in general
sucks when it's about insertion speed, and the more rows you
insert, the more it sucks at it. There are many blog posts on the
web that shows the insert speed degradation in InnoDB when the
amount of rows in the table grows. Things get much worse faster
if your primary key is a random key, for example an UUID.
We hit this problem with our caching servers (yes, we do caching
with MySQL!), and in order to be able to scale these servers up
we moved since a couple years to the TokuDB engine with great
success. TokuDB is based on fractal tree technology, and
guarantees the same insert speed, no matter the number of rows
you have in the table; furthermore, it …