June 19, 2013

Post: The relationship between Innodb Log checkpointing and dirty Buffer pool pages

of the total number of bytes in all the transaction logs, but I’m unsure if that’s always the case. Remember our transaction logs are circular, and the

Post: Researching your MySQL table sizes

of data sizes so here it goes: Find total number of tables, rows, total data in index size for given MySQL Instance SELECT count(*) tables, concat(round(sum(tablein set (0.03 sec) Find biggest databases SELECT count(*) tables, table_schema,concat(round(sum(table

Post: Advanced index analysis with mk-index-usage

the index usage into tables in a database, so you can query them with SQL. I logged all queries to the blog for atotaltables any way you want. The documentation includes a number of other canned queries you can run. I found a

Post: SHOW INNODB STATUS walk through

a‘ where i=1 *** (2) HOLDS THE LOCK(S): RECORD LOCKS space id 0 page no 16403 n bits 72 index `PRIMARY` of tablein additional memory pool (so you can check if it is sized right), total number of pages in buffer pool, number of pages free, pages allocated by database

Post: How Percona does a MySQL Performance Audit

find the biggest tables and so forth. If the server is heavily loaded or has a lot of data, touching the INFORMATION_SCHEMA can take athe depth and complexity of the analysis we do. A lot of times, customers will tell us up front to limit the work to some number of

Post: InnoDB Full-text Search in MySQL 5.6 (part 1)

… yet. Having loaded the data, the first thing we notice is that there are a lot of “new” InnoDB tablespace files in our database directory: -rw… in total_word_count, or optimize_(start|end)_time, and the like. However, if I check some of the other I_S tables, I do find that the number of

Post: Finding out largest tables on MySQL Server

the purpose so I can easily find it later, plus it is quite handy in a way it presents information: SELECT CONCAT(table_schema, ‘.’, tablenumber of rows in millions and data and index size in GB so I can save on counting zeros. The

Post: Two Types of MySQL Users

In comments to my previous post I got number number ofa drop in the total amount of MySQL users which is in hundreds of thousands to the millions. Do not get me wrong this is a very important group ofof being good enough database for lower costs. You will find for a lot of users in the

Post: Introducing new type of benchmark

the database as much as possible, bombarding the system with queries with no pause. That rarely happens inthe response time we may expect having a given arrival rate What is the optimal number of working threads (the

Post: Realtime stats to pay attention to in Percona XtraDB Cluster and Galera

The number of nodes in the cluster. Node This is state data about the local node that the tool happens to be connected to. name The name offind the node slowing the others down. dst This does not go under the Flow group.  This is wsrep_cert_deps_distance — This is a