MySQL Performance Blog

MySQL Performance Blog
Checked: 58 min 42 sec ago
Updated: 1 day 21 hours ago
Update every: 2 hours

Everything about MySQL Performance
Syndicate content

Percona sessions at the MySQL conference

MySQL Performance Blog - Mon, 15/03/2010 - 10:10pm
Many Percona employees will be at the 2010 MySQL conference. We’ll be giving a lot of informative technical talks on various topics. Here’s a list: Morgan Tocker, Baron Schwartz: Diagnosing and Fixing MySQL Performance Problems Peter Zaitsev: Scaling Applications with Caching, Sharding and Replication Baron Schwartz: EXPLAIN Demystified Vadim Tkachenko: An Overview of Flash Storage for Databases Matt [...]

Percona-XtraDB version 9.1

MySQL Performance Blog - Mon, 15/03/2010 - 4:13am
Dear Community, We are announcing today the new version 9.1 of XtraDB storage engine. Due to political reasons the name of binaries has changed to Percona-XtraDB. It is applicable to all packages including RPM, DEB and tar.gz packages. New features in version 9.1: MySQL 5.1.43 is taken as the basis packages name changed to Percona-XtraDB Enabled support of SSL Enabled profiling Added script [...]

How many fsync / sec FusionIO can handle

MySQL Performance Blog - Thu, 04/03/2010 - 4:09pm
I recently was asked how many fsync / sec ( and therefore durable transactions / sec) we can get on FusionIO card. It should be easy to test, let's take sysbench fileio benchmark and run, the next command should make it: ./sysbench --test=fileio --file-num=1 --file-total-size=50G --file-fsync-all=on --file-test-mode=seqrewr --max-time=100 --file-block-size=4096 --max-requests=0 run PLAIN TEXT CODE: Operations performed:  0 Read, 922938 [...]

Maximal write througput in MySQL

MySQL Performance Blog - Mon, 01/03/2010 - 6:53am
I recently was asked what maximal amount transactions per second we can get using MySQL and XtraDB / InnoDB storage engine if we have high-end server. Good questions, though not easy to answer, as it depends on: - durability setting ( innodb_flush_log_at_trx_commit = 0 or 1 ) ? - do we use binary logs ( [...]

MySQL 5.5-m2 scalability

MySQL Performance Blog - Sun, 28/02/2010 - 5:48pm
Oracle recently announcent MySQL-5.5.2-m2 milestone, and I have a predition that MySQL-5.5 will be announced as GA on MySQL UC 2010 in April. So let’s make quick on scalability characteristics we should expect from new release. I made sysbench oltp benchmarks on 10 mln rows (worth 2.5GB of data), on our Dell R900 system ( 16 cores, [...]

Why you should ignore MySQL’s key cache hit ratio

MySQL Performance Blog - Sun, 28/02/2010 - 5:34pm
I have not caused a fist fight in a while, so it's time to take off the gloves. I claim that somewhere around of 99% of advice about tuning MySQL's key cache hit ratio is wrong, even when you hear it from experts. There are two major problems with the key buffer hit [...]

Index lock and adaptive search – next two biggest InnoDB problems

MySQL Performance Blog - Fri, 26/02/2010 - 12:33am
Running many benchmarks on fast storage (FusionIO, SSDs) and multi-cores CPUs system I constantly face two contention problems. So I suspect it’s going to be next biggest issues to make InnoDB scaling on high-end system. This is also reason why in benchmarks I posted previously CPU usage is only about 50%, leaving other 50% in idle state. [...]

Missleading Innodb message on recovery

MySQL Performance Blog - Tue, 16/02/2010 - 3:03am
As I wrote about 2 years ago the feature of Innodb to store copy of master’s position in Slave’s Innodb tablespace got broken. There is a lot of discussions at the corresponding bug report while outcome of the fix remained uncertain for me (the bug is market duplicate while the bugs it [...]

READ-COMMITED vs REPETABLE-READ in tpcc-like load

MySQL Performance Blog - Thu, 11/02/2010 - 9:27pm
Question what is better isolation level is poping up again and again. Recently it was discussed in InnoDB : Any real performance improvement when using READ COMMITED isolation level ? and in Repeatable read versus read committed for InnoDB . Serge in his post explains why READ COMMITED is better for TPCC load, so why [...]

Blob Storage in Innodb

MySQL Performance Blog - Wed, 10/02/2010 - 6:54am
I’m running in this misconception second time in a week or so, so it is time to blog about it. How blobs are stored in Innodb ? This depends on 3 factors. Blob size; Full row size and Innodb row format. But before we look into how BLOBs [...]

Introducing percona-patches for 5.1

MySQL Performance Blog - Wed, 10/02/2010 - 5:03am
Our patches for 5.0 have attracted significant interest.  You can read about SecondLife’s experience here, as well as what Flickr had to say on their blog.  The main improvements come in both performance gains and improvements to diagnostics (such as the improvements to the slow log output, and INDEX_STATISTICS). Despite having many requests to port [...]

Introducing tpce-like workload for MySQL

MySQL Performance Blog - Mon, 08/02/2010 - 5:30pm
We have been using tpcc-mysql benchmark for long time, and there many results published in our blog, but that's just single workload. That's why we are looking into different benchmarks, and one of them is TPCE. Yasufumi made some efforts to make TPCE working with MySQL, and we are making it available for public consideration. You [...]

New OLAP Wikistat benchmark: Introduction and call for feedbacks

MySQL Performance Blog - Fri, 29/01/2010 - 3:08am
I've seen my posts on Ontime Air Traffics and Star Schema Benchmark got a lot of interest (links: http://www.mysqlperformanceblog.com/2010/01/07/star-schema-bechmark-infobright-infinidb-and-luciddb/ http://www.mysqlperformanceblog.com/2009/10/02/analyzing-air-traffic-performance-with-infobright-and-monetdb/ http://www.mysqlperformanceblog.com/2009/10/26/air-traffic-queries-in-luciddb/ http://www.mysqlperformanceblog.com/2009/11/02/air-traffic-queries-in-infinidb-early-alpha/ ). However benchmarks by itself did not cover all cases I would want, so I was thinking about better scenario.

Percona is hiring a Shift Support Captain

MySQL Performance Blog - Tue, 26/01/2010 - 2:31pm
Percona is hiring. As part of our growth process, we introduced the role of the Shift Support Captain in 2009 (see the original announcement here) to provide customers with a 24×7 technical contact person. The Shift Support Team dispatches incoming emergencies, assigns new issues, handles or escalates incoming Nagios alerts from some customers, and in general makes sure [...]

Community Events February-March

MySQL Performance Blog - Fri, 22/01/2010 - 9:13pm
February and March as busy months for Community events.  There’s MySQL University, Fosdem, the Seattle MySQL Meetup & Confoo.ca. Here are the details: February 4th – I’ll be presenting a talk via MySQL University on Optimizing Queries with Explain.  This talk will be about learning to read the output from MySQL’s EXPLAIN command, and optimizing some [...]

When should you store serialized objects in the database?

MySQL Performance Blog - Thu, 21/01/2010 - 9:39pm
A while back Friendfeed posted a blog post explaining how they changed from storing data in MySQL columns to serializing data and just storing it inside TEXT/BLOB columns. It seems that since then, the technique has gotten more popular with Ruby gems now around to do this for you automatically. So when is it a [...]

XtraDB feature: save / restore buffer pool

MySQL Performance Blog - Thu, 21/01/2010 - 12:07am
We recently released XtraDB-9, and while we did not highlight it in announcement, the release-making feature is ability to save and restore InnoDB buffer pool. The idea is not new and was originally developed by Jeremy Cole (sorry, I do not have the link on hands) some time ago, and now we implemented it in XtraDB. Why [...]

Why Swapping is bad for MySQL Performance ?

MySQL Performance Blog - Tue, 19/01/2010 - 2:41am
So you get MySQL or other applications using too much memory on the box or OS behaving funny and using more memory for cache and pushing application to the swap. This causes swapping and causes performance problems. This much is obvious. But how bad is it ? Should you count it same as normal Disk [...]

Fast storage: 8 SSD Intel X-25M 80GB benchmarks

MySQL Performance Blog - Mon, 18/01/2010 - 4:33pm
I appreciate opportunity Jos van Dongen from Tholis Consulting gave me. He granted me access to servers with 8 attached Intel X-25M 80GB MLC cards. The cards attached to 2 Adaptec 5805 raid controllers, with 4 cards per controller. The cost of setup is 8 x 260$ (X-25M) + 2×500$ (Adaptec 5805) = ~3000$. Available space [...]

How expensive is MySQL Replication for the Master

MySQL Performance Blog - Sat, 16/01/2010 - 4:50pm
I generally thought about MySQL replication as being quite low overhead on Master, depending on number of Slaves. What kind of load extra Slave causes ? Well it just gets a copy of binary log streamed to it. All slaves typically get few last events in binary log so it is in cash. [...]

2010 Percona Training Schedule

MySQL Performance Blog - Fri, 15/01/2010 - 5:50am
After a nice long vacation, it’s time to unveil our destinations for public classes in 2010.  We are now offering a course for Developers as well as DBAs.  The dates are: Seattle 16 February San Francisco 18-19 February Boston 22-23 February New York City 25-26 February Montréal 8-9 March Denver 15-16 March Chicago 18-19 March Washington DC 25-26 March Los Angeles 19-20 April Raleigh 22-23 [...]

XtraDB storage engine release 1.0.6-9

MySQL Performance Blog - Thu, 14/01/2010 - 5:09am
Dear Community, As of today Release 9 of XtraDB storage engine is available. The release includes following new features: The release is base on 1.0.6 version of InnoDB plugin. MySQL 5.1.42 as a base release Separate purge thread and LRU dump is implemented (this feature was actually added in Release 8, but somehow it was forgotten) New patch innodb_relax_table_creation Added extended statistics [...]

InnoDB, InnoDB-plugin vs XtraDB on fast storage

MySQL Performance Blog - Wed, 13/01/2010 - 8:52am
To continue fun with FusionIO cards, I wanted to check how MySQL / InnoDB performs here. For benchmark I took MySQL 5.1.42 with built-in InnoDB, InnoDB-plugin 1.0.6, and XtraDB 1.0.6-9 ( InnoDB with Percona patches). As benchmark engine I used tpcc-mysql with 1000 warehouses ( which gives around 90GB of data + indexes) on my workhourse [...]

FusionIO 320GB MLC benchmarks

MySQL Performance Blog - Tue, 12/01/2010 - 4:15am
After my previous benchmarks of FusionIO 160GB SLC card, FusionIO team sent me for the tests another card, FusionIO 320GB MLC. I should say I really appreciate an opportunity to play with this card and with combination of two cards. This card is also not cheap, the price I can find on dell.com is $6,829.99, which [...]

Active Cache for MySQL

MySQL Performance Blog - Sun, 10/01/2010 - 9:27pm
One of the problems I have with Memcache is this cache is passive, this means it only stores cached data. This means application using Memcache has to has to special logic to handle misses from the cache, being careful updating the cache – you may have multiple data modifications happening at the same time. [...]
Syndicate content