Archive

Archive for the ‘MySQL’ Category

How to Tune Your MySQL Server (The Easy Way)

March 26th, 2008 Mike No comments

My previous experience with tuning MySQL servers was that you should start with the example my.conf that most closely matches your hardware and then Google around for the little tweaks that others have reportedly had good luck with. Definitive step-by-step guides on exactly what settings to change and why have historically been a little bit hard to come by. I guess thats what the MySQL DBAs get paid for, huh?

Well now there are a couple of scripts out there that will examine your server’s runtime statistics and provide you with advice on what to change (kind of like what Bastille does for Linux).

Either one of this scripts will likely save you hours of Googling/experimenting. Both do essentially the same thing, but it never hurts to have a 2nd opinion. And if you’re still not sure about something, a trip to MySQL Performance Blog should fix you right up.

Categories: MySQL Tags:

Fuck ORM

October 11th, 2006 Mike 3 comments

Let me be the first to say that ORM (like Propel) is ridiculous, overengineered nonsense. SQL is already simple. In fact, it was originally designed so that (competent) non-computer people could easily generate reports from a RDBMS. So why does anyone think it’s a good idea to add unnecessary overhead and complexity to something that already works well? Oh yeah, because ORM makes it possible to write your own blog in 15 minutes. Wow. Totally awesome dude.

Categories: MySQL, Programming, Rants Tags: