EmergencyEMERGENCY? Get 24/7 Help Now!

Falcon Storage Engine Design Review

 | January 12, 2007 |  Posted In: Insight for DBAs

Now as new MySQL Storage engine – Falcon is public I can write down my thought about its design, which I previously should have kept private as I partially got them while working for MySQL. These thought base on my understanding, reading docs, speaking to Jim, Monty, Arjen and other people so I might miss […]

Read More

MySQL sources from development tree

 | January 9, 2007 |  Posted In: Insight for DBAs

I just want to write few tips how to get MySQL from development BitKeeper tree, as there are several tricks. First of all you need a fresh free client – bk-client2.0 http://www.bitkeeper.com/Hosted.Downloading.html . Once you get it, you can clone latest tree: bkf clone bk://mysql.bkbits.net/mysql-5.0 mysql-5.0 New client supports “changes” command, so you can look […]

Read More

Where to get recent MySQL version ?

 | December 29, 2006 |  Posted In: Insight for DBAs

As you might noticed there are no recent MySQL Community versions available for download from MySQL Download Area This applies both to binaries (which is expected with new polices) but also to the source files which were promised to be available. So what is if you would like to use recent MySQL code while staying […]

Read More

Innodb locking and Foreign Keys

 | December 12, 2006 |  Posted In: Insight for DBAs

Today I was working with application which uses Innodb and foreign keys and got into locking problems possibly due to foreign keys, so I did a little investigation on that matter. Interesting enough it looks like most people do not think about foreign keys overhead in terms of locking. The overhead about checking referenced table […]

Read More

Using LoadAvg for Performance Optimization

 | December 4, 2006 |  Posted In: Insight for DBAs

Linux and Unixes have excellent metric of system load called “loadavg”. In fact load average is is 3 numbers which correspond to “load average” calculated for one five and 15 minutes. It is computed as exponential moving average so most recent load have more weight in the value than old one. What does Load Average […]

Read More

Covering index and prefix indexes

 | November 23, 2006 |  Posted In: Insight for DBAs

I already wrote in the blog as well mentioned in presentation there is often a choice you have to make between having prefix index – which can be significantly smaller in size and having index being covering index, which means query can be executed using only data from the index without reading the row itself. […]

Read More

Opening Tables scalability

 | November 21, 2006 |  Posted In: Insight for DBAs

I was restarting MySQL on box with 50.000 of Innodb tables and again it took couple of hours to reach decent performance because of “Opening Tables” stage was taking long. Part of the problem is Innodb is updating stats on each table open which is possibly expensive operation, but really it is only great test […]

Read More

Rebuilding MySQL Binary

 | November 16, 2006 |  Posted In: Insight for DBAs

Running RPM based or other packaged MySQL Binary you may have a problem if you would like to rebuild binary for some reason – change some build settings, apply some third party patches or simply try latest snapshot (This time I was both applying patches for Innodb scalability and Vadim’s patches to get proper slow […]

Read More

Bug fix of InnoDB scalability problem

 | November 14, 2006 |  Posted In: Insight for DBAs

I was pretty busy last month with project which will be annonced very soon (I hope), but I can’t miss bug fix of my favorite bug 15815. I wrote about this problem before and also investigated in my presentation. Finally bug fix was pushed into 5.0-bk tree and now I have it in my hands. […]

Read More