Xaprb

Stay curious!

Archive for October, 2009

What is right with this picture?

without comments

Do you know what this is?

debian:~/mysql-cacti-templates/t# php mysql.php 

not ok 1 - basic test to check that the test suite works
#     Failed test (/root/mysql-cacti-templates/t/mysql.php at line 9)
#     got: Array
(
    [b] => 2
)

# Looks like you failed 1 tests of 1.

It is the beginning of a test suite, which is long overdue. Writing a test suite for this code would have saved a lot of work ages ago. But as I always say, if you don't do it from the beginning, it's much harder to do later. And this code began its life as a script someone else wrote, so I wasn't there at the beginning. Better late than never.

Written by Xaprb

October 20th, 2009 at 9:09 pm

Posted in Coding

Going to OpenSQL Camp US 2009

without comments

I’ve bought my plane tickets for OpenSQL Camp US 2009, in Portland, Oregon on the weekend of November 14th. I’m really looking forward to the event and seeing friends again. And I’m psyched that the third incarnation of this event is taking place! I wish I could have been at the 2nd one too, earlier this year in Europe.

Written by Xaprb

October 19th, 2009 at 11:41 am

Recap of CPOSC 2009, plus slides

with one comment

Yesterday I attended CPOSC 2009. The conference was great. It was very well run, and I liked the sessions. I would definitely attend this conference again, and will recommend that Percona sponsor it next year. I attended the following talks:

  • Stop Worrying and Start Monitoring with Nagios (Andrew Libby)
  • DRBD, Network Raid, High Availability and General Awesomeness (Brian Gorka)
  • MySQL Performance Tuning for non-DBAs (Tom Clark)
  • Wonderful Desktop Tricks, and Aesthetics (Seth Jerome)
  • Jump Start Django: The Web Framework for Perfectionists with Deadlines (Rob Yates)
  • Watching and Manipulating Your Network Traffic (Josiah Ritchie)

And then of course I gave my own talk on Maatkit (slides). I didn’t follow the slides. I took a quick poll of who was interested in learning about making an open-source project that can support a full-time employee, and nobody was, so I skipped that and talked about what the tools can do.

In meta-news, it seemed that a lot of people already knew about Maatkit, and Percona’s name and open-source software (high-performance versions of the MySQL database server, XtraDB storage engine) seemed pretty well known too. Someone asked if Percona can support a MySQL Cluster project that has stalled with another vendor, and I was happy to say we can. Several people complimented Percona’s training, which is really a compliment to Morgan Tocker.

Written by Xaprb

October 18th, 2009 at 6:42 pm