With MySQL 5.1, getting and analyzing all the queries hitting the database is very easy even if you don’t have access to the MySQL enterprise Monitor.  You can either activate the general log or, my favourite option, activate the slow query log with a sub millisecond long query time. Long query time below one second is an option introduced in MySQL 5.1. In order to catch all the queries, you will also need to disable the query cache.  The main advantages of the slow query log over the general log is that you have access to more information like the query time, the lock time, the number of rows examined and the number of rows sent back.  All the options surrounding the slow query log in MySQL 5.1 are dynamic so it is easy to turn the logging ON and OFF.  Once you have the queries, tools, like mysqlsla, can be used to anlyzed the queries and group them by type.

Mas:

http://www.bigdbahead.com/?p=99

Post comment

Descargar versiones libres recomendadas actualizadas

Revistas

SQL Server (ingles): Solid Quality Journal
SQL Server (ingles): Code Magazine
PostgreSQL (ingles): Postgres OnLine Journal
Oracle (ingles): oraclemagazine-digital
SQL Server (español): MSDN Magazine
MySQL (ingles): MySQL Magazine

Manuales

Recursos

Archivo diario de noticias

January 2009
M T W T F S S
« Dec   Feb »
 1234
567891011
12131415161718
19202122232425
262728293031  

Archivo por mes y año

Comentarios recientes

RSS Ayudas Oracle

RSS Ayudas PostgreSQL

RSS Ayudas MySQL

RSS Ayudas SQL Server

RSS Ayudas DB2

RSS Ayudas SQL

RSS Feeds Planet PostgreSQL

RSS Feeds Planeta PostgreSLQ Brazil

RSS Feeds Planet MySQL

Blogroll

Clouds

DB2 Firebird General Informix MsSQL MySQL Oracle PostgreSQL SQL
Site5 | Experts In Reseller Hosting.