MySQL 4.x performance tuning

2004-01-05 Thread Reto Baumann
Hi all I have a MySQL installation running on a Pentium3 based system with 2GB RAM... The database primarily uses MyISAM tables with 60% SELECT statements. The database is used as a backend for a PHP web application. Do the following values make any sense? set-variable= key_buffer=200M set-

SQL query needed

2003-10-20 Thread Reto Baumann
Hi all I'm working on a book database with some special requirements. Each book is associated with some keywords and put into a category. Category 0 is special, as this is "Unsorted", i.e. not associated with a category (which most books are at the moment). For thei query, let's simplify the st

How does LIMIT affect Query Caching

2003-10-12 Thread Reto Baumann
Does somebody know, how the LIMIT statement does affect the query caching mechanism of MySQL 4.x? Is select * from examples LIMIT 0,30 and select * from examples LIMIT 30,30 treated the same, therefore does the caching improve performance or are these queries considered to be two sepper