June 19, 2013

Post: How to debug long-running transactions in MySQL

… 3306 and port ${port} > /root/tcpdumps/`date +%s`-tcpdump & mysql -e ‘show innodb status\Gshow full processlist’ > /root/tcpdumps/`date +%s`-innodbstatus pid… commit between iterations. And watch your server to find idle-in-transaction connections that are just sitting there doing nothing, and kill…

Post: Estimating Replication Capacity

… query: mysql> select * from information_schema.user_statistics where user=”#mysql_system#” \G *************************** 1. row *************************** USER: #mysql_system# TOTAL_CONNECTIONS: 1 CONCURRENT_CONNECTIONS: 0 CONNECTED_TIME… idle. Of course running processlist very aggressively can be an overhead especially if it is busy system with a lot of connections mysql> show

Post: Air traffic queries in InfiniDB: early alpha

…_vtable_mode). mysql> show warnings; +——-+——+————————————————————+ | Level | Code | Message | +——-+——+————————————————————+ |…idle, but query stuck. I killed query, restarted mysqld but could not connect

Post: Investigating MySQL Replication Latency in Percona XtraDB Cluster

…the end of the post) which connects to one node in the cluster…do not setup clusters to be idle right ? So lets to another test…significant load. sysbench –test=oltp –mysql-user=root –mysql-password=”" –oltp-table-size=1000000 … happens. The script does not show any data propagation delays but it…

Comment: MySQL Server Memory Usage

mysql/mysql.pid datadir=/db/disk2/mysql/data log-bin=/var/log/mysql/log log-slow-queries=/var/log/mysql/slow-queries.log max_connections

Post: Using LoadAvg for Performance Optimization

… is zero which corresponds to completely idle system, and there is no maximum :) … batch job on the server with MySQL, Load Average is likely to be … workload scales linearly with number of connections and CPUs (ie there are no row… would start to worry whatever LoadAvg shows. P.S I acknowledge some of …

Post: How Web Services world affect LAMP Stack

…are also might be treated with idle priority – batch processing often can … might get slower themselves or network connectivity to them might slow things … on Disk – in files or MySQL tables. There are multiple solutions available…often better to show a bit stale data rather than show no data at…

Post: Updated msl (microslow) patch, installation walk-through!

mysql-5.0.51a/ mysql-5.0.51a/bdb/ mysql-5.0.51a/bdb/Makefile.in mysql-5.0.51a/bdb/btree/ mysql….cc patching file sql/sql_show.cc patching file sql/structs….the hardware, you will be sitting idle and watching tons of text … application uses some kind of connection pooling. Rate limiting is disabled for…

Comment: Using MyISAM in production

… in size doing nothing resulting in large number of db connections Once MySQL unfreezes, all of threads complete and everything is fine… there is one mysql thread taking up all CPU 25% (as we are running hyper-threading) Otherwise, system is idle, low load and no IO We captured show processlist and don’t see any thing…

Comment: MySQL random freezes could be the query cache

…is what we get when we try to connect to the server via the command line … OS-dependent bug Here is what top shows, the mysqld process is at the bottom … nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 234M Active, 4999M Inact, 403M Wired, … 0 0:00 0.00% devd 20895 mysql 1500 44 0 409M 250M ucond 1…