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
Buscar en DbRunas
Descargar versiones libres recomendadas actualizadas
Revistas
Manuales
Recursos
Archivo diario de noticias
Archivo por mes y año
Comentarios recientes
- berto on Tutorial Hibernate y JavaServer Faces (JSF)
- Elvis on Accediendo a MySQL con node.js
- instalacion de red on Script para comprobar si las bases de datos están configuradas espejadas en SQL 2005/2008
- alfred on Mysql Recover Data using ibdata1, ib_logfile0 and ib_logfile1
- instalacion redes informaticas madrid on TIP: El buffer pool en DB2
- Mexicali82 on Instalando Nagios en OpenSuse 11.3
- jeiber murcia garcia on Generador de reportes multiplataforma
Ayudas Oracle
- Borrar una fila de una tabla anidada
- Consultar un campo de un objeto oracle
- oracle
- Requiero modificarla orientación de un reporteen Report Builder 10.1.2.0.2 de horizontal a vertical.
- Bloqueo tablas temporales
Ayudas PostgreSQL
- SQL mirando cantidades
- Extraer base de dato
- ¿Cómo instalar postgresql?
- Como instalo Postgresql manualmente en Ubuntu 9.10
- Problema com la hora
Ayudas MySQL
- No me abre la base de datos Mysql
- ¿Tablas de access en mySQL? ¿Es posible?
- consulta en Access que no me funciona en Mysql
- Consulta en Access que no funciona en Mysql
- No me funciona Mysql
Ayudas SQL Server
- Optimizar Procedimiento almacenado con cursor
- Backup de SQL Server 2008
- CASE SQL _ PREGUNTA
- Cambiar tipo de dato de bit a nvarchar(255)
- ERROR AL CREAR UN DSN (ODBC)
Ayudas DB2
Ayudas SQL
Feeds Planeta PostgreSQL-es
- DBLink con parametros en PostgreSQL
- Creando 30.000 tablas con PostgreSQL
- Nuevas versiones de PostgreSQL disponibles
- Los niveles de aislamiento en PostgreSQL (no son 4)
- Alternativas EAV con XML (en PostgreSQL 8.3)
Feeds Planet PostgreSQL
- Redirecting planetpostgresql.org to planet.postgresql.org -- please update your bookmarks
- 2010 retrospective
- Waiting for 9.1 – Unlogged tables
- Version Control Visualization and End Point in Open Source
- PostgreSQL Weekly News January 2nd 2011
Feeds Planeta PostgreSLQ Brazil
- Calculando previsão de vendas com PHP e PostgreSQL
- Vale a pena manter a especialização em Postgresql?
- Manipulando Triggers no PostgreSQL
- Debian, Sysctl e postgresql
- PostgreSQL: O que são tablespaces?
Feeds Planet MySQL
- Stripping Comments so Query Cache Works in MariaDB and XtraDB
- Forums.MySQL.Com as a gym for mental exercise
- Liveblogging: Performance is Overrated, by Mark Callaghan
- Help Set the MariaDB 5.6 Roadmap with SkySQL and Monty Program
- RMOUG Training Days 2012