lechtermann.net: OpenBSD journal
Home : : Add Story : : Archives : : CVSweb : : About : : Create Account : : Login :
Patch: MySQL Tuning Primer and OpenBSD
Contributed by belenus on Sun Aug 2 12:47:03 2009 (GMT)
from the dept.

Tuning MySQL sometimes is no easy thing to do. This is where the MySQL Performance Tuning Primer Script comes into the game.

This script takes information from "SHOW STATUS LIKE..." and "SHOW VARIABLES LIKE..." to produce sane recomendations for tuning server variables. It is compatable with all versions of MySQL 3.23 and higher (including 5.1).

However, the problem with this script is that it is not only bash'ified (it uses colors), but also doesn't fully work with OpenBSD.

That is what the following patch is for. It works against version 1.5-r2 of the tuning-primer script.

Patch against version 1.5-r2: tuning-primer.diff
Local copy of version 1.5-r2: tuning-primer.sh

[topicopenbsd]

<< Stop Software Patents | Reply | Threaded

Threshold: Help

Related Links
more by belenus


[ Home | Add Story | Archives | Polls | About ]

Copyright © 2006-2009 Michael Lechtermann. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Some icons from slashdot.org used with permission from Kathleen. This journal runs as CGI using chrooted Apache as supplied with OpenBSD, the original source code is BSD licensed. Search engine is a patched version of ht://Dig.