June 19, 2013

Comment: Get Me Some Query Logs!

Noob question: Isn’t slow_query_log also a session variable? In our environment we have apps that stay connected to … at a time. If you set global slow_query_log=0 won’t active sessions ignore the change? Is there some way…

Post: Announcing Percona XtraDB Cluster 5.5.27-23.6

… MB) and the minimum index record size. By adding the session variable innodb_merge_sort_block_size, block size that is used… Modifiers have been added to allow access control to system variables. New table INNODB_UNDO_LOGS has been added to allow… undo segment. This information is “live” and calculated for each query of the table. Percona XtraDB Cluster now has improved “clustercheck…

Post: Announcing Percona Server 5.5.27-28.0

… MB) and the minimum index record size. By adding the session variable innodb_merge_sort_block_size block size that is used… Modifiers have been added to allow access control to system variables. New table INNODB_UNDO_LOGS has been added to allow…. Bug fixed #882653 (Stewart Smith). Fixed the malformed CHANGE MASTER query in the output of mysqldump with –include-master-host-port…

Post: MySQL: Followup on UNION for query optimization, Query profiling

…profile queries to see what exactly happens during query execution -… mysql> show status like “Handler%”; +—————————-+——-+ | Variable_name | Value | +—————————-+——-+ | Handler_commit | 0 | | Handler_delete… now will show per session counter increments and to…

Post: Investigating MySQL Replication Latency in Percona XtraDB Cluster

… synchronous replication behavior: mysql> set global wsrep_causal_reads=1; Query OK, 0 rows affected (0.00 sec) When this option… the read. The great thing is wsrep_causal_reads is session variables so you can mix different applications on the same cluster… sec) Rows matched: 1000000 Changed: 1000000 Warnings: 0 Running this query on the DPE1 box I’m getting following result: … Result…

Post: Troubleshooting MySQL Memory Usage

… There is no comparable variables of how many user variables are allocated (and how… MEMORY tables which are allocated for query execution, which size can be …_schema.global_temporary_tables \G *************************** 1. row *************************** SESSION_ID: 7234 TABLE_SCHEMA: test TABLE_…

Post: Test Drive of Solid

… | Solid | +—-+——-+ 1 row in set (0.00 sec) Session 2: mysql> begin; Query OK, 0 rows affected (0.00 sec) mysql> select…: Query OK, 1 row affected (9.65 sec) Rows matched: 1 Changed: 1 Warnings: 0 Test 2: SELECT FOR UPDATE (second session is not blocked): Session1: mysql> begin; Query OK, 0 rows affected (0.00 sec…

Post: Percona Server 5.5.8 Beta Release

…) Old variable innodb_flush_log_at_trx_commit_session was deleted. Bug fixed: #635399. (Yasufumi Kinoshita) Old variable use_global_long_query_time was deleted. (Oleg Tsarev) Bug fixed: #692415. Old variable

Post: InnoDB's gap locks

… lock, when you run the same query twice, you get the same result, regardless other session modifications on that table. This makes… t VALUES(31); Query OK, 1 row affected (0.00 sec) After running the delete statement on the first session, not only… options is that the second one is a global variable that affects all sessions and needs a server restart to change its…