June 19, 2013

Post: Choosing a MySQL HA Solution - Post-Webinar Q&A

… if you can connect and run a simple query and receive a response back in a … MySQL is up and running. That said, there are plenty of other MySQL and OS-level statusMySQL world, except maybe MyISAM files on top of a clustered filesystem with an external lock manager. You might say that MySQL

Comment: INSERT INTO ... SELECT Performance with Innodb tables.

… innodb status: —TRANSACTION BB0E42A, ACTIVE 3 sec fetching rows, thread declared inside InnoDB 334 mysql tables in use 4, locked 4 3264 lock struct(s), heap size 440760, 799203 row lock(s) MySQL thread id 38, OS thread handle 0x2b3c1c776940, query id 16838101…

Post: Ultimate MySQL variable and status reference list

MySQLstatusquery_cache_limitblogpercona.commanual query_cache_min_res_unitblogpercona.commanual query_cache_sizeblogpercona.commanual query_cache_typeblogpercona.commanual query_cache_wlock_invalidateblogpercona.commanual query

Post: Innodb Table Locks

… simple – SHOW INNODB STATUS does not know anything about MySQL level locks, so table locked on MySQL level with LOCK TABLES will not …locked explicitly Innodb “converts” table lock to “no lock” hence eliminating conflicts on MySQL level table locks for most queries. Summary: MySQL Table level locks

Post: Return of the Query Cache, win a Percona Live ticket

… Live London ticket! But first, what’s new with the MySQL query cache? You may know that it still has the same…, that changes the thread’s status in SHOW PROCESSLIST to “Waiting on query cache mutex” when the query cache mutex is taken. This… a screen full of threads in Locked status, now you get a screen full of query cache locks. It makes it impossible to miss…

Post: Shard-Query EC2 images available

…1988 to 2010′; mysql> use ontime1; Database changed mysql> show table status like ‘ontime_fact’G ***************************…from the ./run_query command, called pivot_results cd shard-query/ $ ./run_query < queries.sql | tee raw … innodb-stats-update-need-lock=0 innodb-status-file innodb-strict-mode …

Post: MySQL Query Cache

MySQL Query Cache is the same as Oracle Query Cache – meaning cache where execution plans are cached. MySQL QueryQuery Cache Query Cache Status Query Cache Configuration I would just mention couple of points – as protection from one query wiping your all query cache option query

Post: How to convert MySQL's SHOW PROFILES into a real profile

… sec) The query consumed 0.18 seconds. Where did the time go? mysql> SHOW PROFILE FOR QUERY 1; +———————-+———-+ | Status | Duration | +———————-+———-+ | …01 | 2 | 0.0000070000 | | System lock | 0.000010 | 0.01 | 1 | 0.0000100000 | | query end | 0.000003 | 0.00 | …

Post: Identifying the load with the help of pt-query-digest and Percona Server

query in the right way. But vanilla MySQLquery accessed, the length of time query waited for row locksQuery_time distribution # 1us # 10us # 100us ################### # 1ms ################################################################ # 10ms # # 100ms # 1s # 10s+ # Tables # SHOW TABLE STATUS