Home


      There Are 10 Types of People in the World....
Home
















Percona Live MySQL Conference and Expo, April 22-25, 2013

lefred sprl

Looking for an IT consultant in Open Source ?

VAT: BE0835.956.787

Contact: info at lefred dot be

Home

Percona Playback - new non official rpm for CentOS

Submitted by lefred on Wed, 09/12/2012 - 20:14

Recently (yesterday), I faced a problem with percona-playback when I tried to use a slow query log (captured on a customer's server) and it fails dramatically. The log files was 2.3G and the second query was already returning an error :-(

I seemed that I hit a bug that Aurimas, my colleague at Percona, already reported (bug 1035217): queries written on multi lines don't work !

My C++ knowledge is very old and also very limited, so I tried to understand and fix this issue myself. Mushu (dbasquare) already faced this problem and started to fix it before giving up as he needed to run it on Slowaris... Gently he sent me his patch that I modified to support my slow query log:

  • queries on multi-lines
  • queries being only a ; (semi-colon)
  • queries finishing by another character than ; (with comments for example)

Attached to this post, you can find the rpm for CentOS 6 including that patch.

AttachmentSize
percona-playback-0.3-2.el6_.x86_64.rpm1.12 MB
  • Add new comment
  • Share this
Tags:
  • CentOS
  • MySQL

3 reponses to "Percona Playback - new non official rpm for CentOS"

Thaddeus Heffner's picture

1. Nice idea. I can use this

Submitted by Thaddeus Heffner (not verified) on Mon, 03/11/2013 - 03:59.

Nice idea. I can use this information in the future shall the same problem arises. Great to have find this topic. Thank you for the share! - Thaddeus Heffner

  • reply
Piotr Biel's picture

2. Thanks

Submitted by Piotr Biel (not verified) on Mon, 12/03/2012 - 16:21.

Thx leFred :)

  • reply
Aurimas's picture

3. awesome

Submitted by Aurimas (not verified) on Wed, 09/12/2012 - 21:04.

Thanks, Fred - I'm sure I'm going to need that real soon.

  • reply

twitter

Tweets by @lefred

Recent comments

  • Thank you so much At this
    4 days 18 hours ago
  • Kancelarijske stolice
    1 week 3 days ago
  • You are my hero!
    2 weeks 5 days ago
  • Thanks a lot
    6 weeks 6 days ago
  • x86_64 preferably.
    7 weeks 15 sec ago
  • imspector for CentOS 6.3?
    7 weeks 45 sec ago
  • I love free software. Happy
    7 weeks 4 days ago
  • I always have the same
    7 weeks 4 days ago
  • Hahaha you have got to be
    7 weeks 6 days ago
  • This has been a great help!
    7 weeks 6 days ago

Locations of visitors to this page

I love Smashing Magazine!
Fervens Drupal theme by Leow Kah Thong. Designed by Design Disease and brought to you by Smashing Magazine.
Generated on the new server.