[caption id="attachment_209" align="alignright" width="240"
caption="Photo by Stéfan under a CC by NC SA 2.0
license"][/caption]
If you have been reading Planet MySQL over April you will have seen many
blog posts on the new features in the MySQL 5.6 (currently a
development release). I developed several patches that are
in 5.6 including the 'Slave_last_heartbeat' status variable to
show the time of the last replication heartbeat received.
One of the cool new features I developed which I am most
proud of is the option to remotely backup …
If you have been reading Planet MySQL over April you will have seen many blog posts on the new features in the MySQL 5.6 (currently a development release). I developed several patches that are in 5.6 including the ‘Slave_last_heartbeat’ status variableto show the time of the last replication heartbeat received. One of the cool new features I developed which I am most proud of is the option to remotely backup your binary logs without a MySQL slave:
Remote Binlog Back-up
Enhances …
[Read more]
In my previous blog posting, I explained how I was able to
get more stable query execution times by increasing the amount of
sampling used to by InnoDB to calculate statistics. However, for
my example query, Query 8 of the DBT-3 benchmark, the MySQL
Optimizer still toggled between three different indexes to use
when accessing one of the 8 tables.
I decided to try out InnoDB Persistent Statistics that is one of
the new features in the recent MySQL 5.6.2 Development Milestone Release.
According to the advertisement, this should give both more
accurate and more stable statistics. The improved accuracy is …
Hi Folks,
This is just a quick update to let you know that, after much
cursing and frustration with my lack of Solaris experience, I
have managed to make XtraBackup Manager work on Nexenta
(NCP3).
So why would you care?
The answer is because Nexenta is OpenSolaris based and therefore
has support for ZFS. I think ZFS is an awesome filesystem to
combine with XtraBackup Manager, because you can benefit from
transparent compression at the filesystem level.
This means you can store a whole lot more on less disk and you
don't have to deal with compressing and uncompressing your
backups all the time.
Sure, you could always use Nexenta Community or Enterprise
appliances as a NFS mounted filer, but why would you want to
stream all of your backup data into one Linux based server to run
XtraBackup Manager just so that it all goes out an interface via
NFS to the real storage?
…
I am not a fan of the MMM tool for managing MySQL replication. This is a topic of vigorous debate among different people, and even within Percona not everyone feels the same way, which is why I’m posting it here instead of on an official Percona blog. There is room for legitimate differences of opinion, and my opinion is just my opinion. Nonetheless, I think it’s important to share, because a lot of people think of MMM as a high availability tool, and that’s not a decision to take lightly. At some point I just have to step off the treadmill and write a blog post to create awareness of what I see as a really bad situation that needs to be stopped.
I like software that is well documented and formally tested. A lot of software is usable even if it isn’t created by perfectionists. But there are two major things in the MySQL world for which I think we can all agree we need strong guarantees of correctness. One is backups. The other is …
[Read more]
May 10th meeting -- Join us for a presentation on the new
features in MySQL 5.6
Tuesday May 10th 4:30 PM to 6:00 PM (doors lock at 5PM)
Please RSVP!
Refreshments provided!!
Oracle Offices
7460 Warren Parkway
Suite 300.
Frisco, TX 75034
Whilst supporting customers at SkySQL I often have
to load gigabytes of SQL data into MySQL servers to run
tests. This process can be slow especially for InnoDB
because in a standard dump file every insert is a transaction and
every transaction has to be synchronised to disk for crash
safety. The thing is, most of the time I don't care if the
machine I'm using crashes whilst I'm loading this data into the
server.
There are of course many ways around this, such as editing the
SQL files and wrapping transactions around batches of inserts and
editing the configuration files to disable all the syncing
involved. But I don't want one configuration to load in
data and then another to play with the data, so this is where
libeatmydata comes in.
…
Whilst supporting customers at SkySQL I often have to load gigabytes of SQL data into MySQL servers to run tests. This process can be slow especially for InnoDB because in a standard dump file every insert is a transaction and every transaction has to be synchronised to disk for crash safety. The thing is, most of the time I don’t care if the machine I’m using crashes whilst I’m loading this data into the server.
There are of course many ways around this, such as editing the SQL files and wrapping transactions around batches of inserts and editing the configuration files to disable all the syncing involved. But I don’t want one configuration to load in data and then another to play with the data, so this is where libeatmydata comes in.
…
[Read more]Part of the InnoDB duties, being an MVCC-implementing storage engine, is to get rid of–purge–the old versions of the records as they become obsolete. In MySQL 5.1 this is done by the master InnoDB thread. Since then, InnoDB has been moving towards the parallelized purge: in MySQL 5.5 there is an option to have a single separate dedicated purge thread and in MySQL 5.6.2 one can have multiple dedicated purge threads.
Percona Server 5.1 supports multiple purge threads too, although using more than one is considered experimental at the moment. Unfortunately this patch hasn’t been ported to Percona Server 5.5 yet.
Let’s test these two implementations and find out what benefits,
if any, do the additional purge threads bring.
The test workload makes a long history list and then lets purge
thread(s) work through it while having a regular OLTP load on the
server. The OLTP part of this is provided by …
I am not a fan of the MMM tool for managing MySQL replication. This is a topic of vigorous debate among different people, and even within Percona not everyone feels the same way, which is why I’m posting it here instead of on an official Percona blog. There is room for legitimate differences of opinion, and my opinion is just my opinion. Nonetheless, I think it’s important to share, because a lot of people think of MMM as a high availability tool, and that’s not a decision to take lightly.