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:
Post comment
Descargar versiones libres recomendadas actualizadas
Revistas
Manuales
Recursos
Archivo diario de noticias
Archivo por mes y año
Comentarios recientes
- luis on Desinstalando o Postgresql 8.4 manualmente
- Elmer Alpízar Sánchez on Instalaciones: Oracle JDeveloper en Ubuntu 10.04
- Proceso automático para matar sesiones que bloquean a otras … « Thermomix Blog on Proceso automático para matar sesiones que bloquean a otras (ORACLE-PLSQL)
- bases datos empresas on Nueva versión de MySQL Enterprise ya está disponible
- tecnico on Que es el TOP 100 PERCENT de SQL Server
- Hexon on Hexjector
- Neftalí -Germán Estévez- on Guardar configuración de Base de Datos
Ayudas Oracle
- Sql Loader Oracle ejecucion desde el servidor
- creacion de tablas con subconsultas
- Sobre oracle server y client-
- Extraer nombre/campo y datos ORACLE
- Vista materializada por meses muy Grandes
Ayudas PostgreSQL
- procedimiento en postgres(funcion)
- Retardo en conexión de red al iniciar Windows XP
- Funciones
- Limit en postgres
- guardar en bd postgres
Ayudas MySQL
- mysql base de datos
- Cadena de caracteres en lista desplegable
- RECUPERAR DATA DESDE IBDATA1
- Consulta
- Ayuda con tabla de registros!!
Ayudas SQL Server
- Realizar consultas en Sqlserver utilizando VB 6.0
- Problema con un trigger de actualizacion
- Ejemplo de base de datos.
- Anidar Store Procedure
- ¿Varias bases de datos en SQL Server o una sola?
Ayudas DB2
Ayudas SQL
- crear comparativo
- Hola tengo un problemita, me ayudan?
- base de datos
- Tabla temporal
- Una funcion en sql anywhere
Feeds Planet PostgreSQL
- Explaining MVCC in Postgres: system defined columns
- Using logger with pg_standby
- PostgreSQL @ FrOSCamp 2010 in Zurich
- Variable substitution with psql
- Happy Numbers
Feeds Planeta PostgreSLQ Brazil
- Coloque o PostgreSQL no seu Navegador!
- PostgreSQL Beta 4 Lançado!
- Projeto PGXN
- FISL11: O Fim
- Beta 3 do PostgreSQL 9.0
Feeds Planet MySQL
- dbbenchmark.com – configuring OpenBSD for MySQL benchmarking
- Replication and “the lost binlog”
- dbbenchmark.com – automated installer now available
- How long Innodb Shutdown may take
- dbbenchmark.com – vote on next supported OS now!