Hack Drizzle

Drizzle: relational multi-scale cloud database server

Drizzle query_log parser

with one comment

Drizzle trunk as of 2011-09-20 (r2422) has a new revision of my query_log plugin which is important because that revision works with the latest trunk revision of mk-query-digest (wget maatkit.org/trunk/mk-query-digest). I made the query log format truly consistent and then wrote DrizzleQueryLogParser for mk-query-digest and added the command line option --type drizzlelog.

I don’t intend for mk-query-digest to be the de facto standard tool for parsing Drizzle query logs; this is just a quick solution and proof-of-concept. In fact, I’m working to create new tools for Drizzle using Python 3, but that project won’t be ready for awhile. In the meantime, the latest Drizzle (which may become Drizzle 7.1) has a highly-structured query log and a very stable, feature-complete tool to parse it.

Written by Daniel Nichter

September 22nd, 2011 at 10:40 pm

One Response to 'Drizzle query_log parser'

Subscribe to comments with RSS or TrackBack to 'Drizzle query_log parser'.

  1. This is really, really cool and it is great that you are making Maatkit work with Drizzle : )

    Having useful tools for analysis is a big win for QA too – thanks!

    pcrews

    28 Sep 11 at 02:05

Leave a Reply

254 Spam Comments Blocked so far by Spam Free Wordpress