MySQL super-smack is a great little benchmarking tool. Using it, you can generate a load on your MySQL server to highlight bottlenecks in your configuration or MySQL itself. Heck, one of these days maybe I'll provide a little tutorial about how I've used it.
The trouble is that it doesn't build out-of-the-box on FreeBSD (minor library conflicts). It works great on Linux. I managed to make it work about 1.5 years ago but never bothered with a patch. So, it is with much delay that I present super-smack-bsd.patch.gz
The usual disclaimers apply. It seems to work for me and may or may not work for you. I'm sending it to MySQL AB so they can better include it in the standard super-smack release.
Posted by jzawodn at April 16, 2003 06:09 PM
thanks, mysql has been great and my site has been getting decent traffic... time for a benchmark
So how well does mysql & freebsd take the beating?
According to the mysql site this tool can also be used to benchmark postgresql as well. Hmmmm, maybe I'll have to give that a try one of these days.
Tiny note:
I had to give the path to "yacc" in the Makefile in manually in the Makefile on FreeBSD. "Configure" didn't discover it :-)
Also some little hackin' in th C-code for database-password and stuff.
I've been unable to get this to work under Redhat 9 - does anyone have any ideas?