MySQL scaling: query snipers

  • Post author:
  • Post category:Mysql

I've been wanting a query sniper for a while for MySQL (some people seem to call them "query killers"). They're basically programs which inspect the MySQL "show processlist" command and decide to kill some processes if they violate specified rules. I have a prototype of one in python, and couldn't find any other implementations until tonight when I came across Querybane, which is what Wikipedia use to do exactly the same thing. Now, I need to think further about if querybane does what I want, especially given I can't find the source code. Perhaps it's hidden in the media wiki code somewhere? The only code for a project named "servmon" (it's parent project) that I can find is four years old and in PHP. (Oh, by the way, the Wikipedia MySQL docs are really interesting, for example this page has some nice practical advice about replication log corruption. I wish I had found this before now for two reasons: it's nice to see how other people do this stuff; and there is some stuff I can totally steal from here.) So, does anyone know where I can find recent querybane code? Alternatively, what do other people use as a query…

Continue ReadingMySQL scaling: query snipers

I am sometimes amazed by the childlike political discourse in the US

  • Post author:
  • Post category:Travel

It amazes me that the best political argument Ann Coulter can come up with is that John Edwards is a faggot. While it is true that Ann specialises in a particularly vile form of hate politics, I guess she's sufficiently lame that she can't even think of good insults any more. It's a bit like the Anna Nicole Smith burial thing... Isn't the best way to fix these problems just to turn off the media coverage of these morons?

Continue ReadingI am sometimes amazed by the childlike political discourse in the US

LCA 2007 Video: CFQ IO

I'm watching the CFQ IO Scheduler talk now on MythTV using my MythTV program downloader thingie. Beware the very large audio volume jump about three minutes in. Just saying. Oh, and the "pan across blank blackboards for a bit at a funny angle" thing at around 6 minutes is pretty amusing too. Update: now with working URL for the downloader thingie!

Continue ReadingLCA 2007 Video: CFQ IO

Now, about the video backlog

  • Post author:
  • Post category:Mythtv

$ ./mythnettv --statistics Programs tracked: 385 Google EngEdu: 279 Scoble Show: 26 linux.conf.au 2007: 74 Programs still to download: 283 Google EngEdu: 202 Scoble Show: 8 linux.conf.au 2007: 73 Data transferred: 22 gb This is why I want to queue video, and then have it download to Myth a little at a time.

Continue ReadingNow, about the video backlog

MythNetTv Beta 3

  • Post author:
  • Post category:Mythtv

Beta 3 is out! It includes: Renamed to mythnettv todoremote bug fixed (bad column name) statistics bug fixed (no transfer stats caused crash) It is now possible to do a --todoremote, --importremote, or --importlocal and provide all the needed information on the command line Get it from here.

Continue ReadingMythNetTv Beta 3

Santa Monica

  • Post author:
  • Post category:Travel

I'm currently waiting as part of boarding group A for my South West flight to Santa Monica. I should be there by lunch. So, any last minute suggestions for things to do in Santa Monica apart from drink a lot?

Continue ReadingSanta Monica

MythIPTV Beta 2

  • Post author:
  • Post category:Mythtv

Just announced. It was either do the washing, or this: Date: Mon, 19 Feb 2007 10:11:09 -0800 From: Michael Still To: Discussion about mythtv Subject: MythIPTV Beta 2 Hi again. There's a new version of MythIPTV now at http://www.stillhq.com/mythtv/mythiptv/source/beta-2/ This version adds the following: - subscription management: you can add RSS URLs to watch, list them, update them (download new versions of the XML and import the shows), and remove them - ad hoc video management: add a remote URL to the TODO list, download a remote URL and import it now, import a local file - transcoding: it's quite probable that you'll encounter a video format which isn't know. Please report it if you do - statistics: how many programs do I have? how many are waiting to download? how much data have I downloaded so far? - reporting: what shows would be downloaded next? what does the internal log say about the state of MythIPTV? Once again, this is a beta, so good backups are needed. I would love more feedback. Oh, and you _really_ need mplayer and mencoder installed now. Really. Cheers, Mikal

Continue ReadingMythIPTV Beta 2

End of content

No more pages to load