Buy Percona ServicesBuy Now!

MySQL Blob Compression performance benefits

 | January 11, 2008 |  Posted In: Insight for DBAs

When you’re storing text of significant size in the table it often makes sense to keep it compressed. Unfortunately MySQL does not provide compressed BLOB/TEXT columns (I would really love to have COMPRESSED attribute for the BLOB/TEXT columns which would make them transparently compressed) but you well can do it yourself by using COMPRESS/UNCOMPRESS functions […]

Read More

Large result sets vs. compression protocol

 | December 20, 2007 |  Posted In: Insight for Developers

mysql_connect() function in PHP’s MySQL interface (which for reference maps to mysql_real_connect() function in MySQL C API) has a $client_flags parameter since PHP 4.3.0. This parameter is barely known and almost always overlooked but in some cases it could provide a nice boost to your application. There’s a number of different flags that can be […]

Read More

Fixing column encoding mess in MySQL

 | December 18, 2007 |  Posted In: Insight for Developers

Just had an interesting issue with an encoding mess on a column containing non-ASCII (Russian) text. The solution was not immediately obvious so I decided it’s worth sharing. The column (actually the whole table) was created with DEFAULT CHARSET cp1251. Most of the data was in proper cp1251 national encoding indeed. However, because of web […]

Read More

Slides from Egypt talks

 | December 16, 2007 |  Posted In: Events and Announcements

I published slides from my two talks from our Egypt company meeting. First one is about Sphinx search engine. The originally presentation was prepared by Andrew Aksenoff, author of Sphinx for HighLoad.ru conference, I translated it on English for our meeting. And second about Mercurial version system, the tool we decided to use for our […]

Read More

Be careful rotating MySQL logs

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

If you enable logging of all queries as “slow queries” using the patch or MySQL 5.1 you can get log file to grow huge. Same may happen with general log file. In some cases we’ve got log file sizes of 100G or more which may need to be cleaned up. Here is some danger waiting […]

Read More
Subscribe to the Percona Database Performance Blog for open source database help, technical resources, Percona Live updates and upcoming webinars.
Submit your email address below and we’ll send you an update every Friday at 1pm ET.

No, thank you. Please do not ask me again.