MariaDB Blog

May 04, 2011

Setting up a new MariaDB Buildbot host

Yesterday I set up a new machine for our MariaDB Buildbot. This is quite an important build host for us, it runs more than 20 different builds for each push into our most important trees, and is the host that builds most of our release packages. So quite a workhorse! It is a pretty fast machine, with 5 SSD disks, 48GB of RAM and 2 x quad-core Intel Xeon E5420.

Read More

March 04, 2011

Bzr hacks and tricks: diff -p

By S e

I don't know about you, but I like diff -p [1].  Having used it for years, I can read these diffs like a text, while diffs without -p often need to have the original file opened side by side, just to get enough of the context. Loving diff -p so much, I want to see it everywhere (evil laughter). Alas, in bzr only diff command can easily use -p, just run it as bzr diff --diff-options=-p or store it as an alias in the ~/.bazaar/bazaar.conf. Actually, for an alias there is a better, although more verbose, alternative:

Read More

December 16, 2010

MariaDB optimization for string related operations

In our upcoming MariaDB 5.3 release Monty optimized the internal string append code for performance. I tested his patch with a plain MariaDB 5.2 vs. a patched MariaDB 5.2 with sql-bench, which showed an overall performance gain around 3%. The details of the patch Monty describes like this

Patch to optimize string append: While examining a trace output from a mysql-test-run case, I noticed a lot of reallocation calls.  This was strange as MariaDB/MySQL was designed to do so few malloc/realloc as possible.  The system uses was

Read More