Constantly increasing Innodb_row_lock_current_waits value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
Percona Server moved to https://jira.percona.com/projects/PS |
Incomplete
|
Undecided
|
Unassigned | ||
5.1 |
Won't Fix
|
Undecided
|
Unassigned | ||
5.5 |
Incomplete
|
Undecided
|
Unassigned | ||
5.6 |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I'm having the same problem described in http://
Here's my package info:
# rpm -qi Percona-
Name : Percona-
Version : 5.6.16
Release : rel64.2.el6
Architecture: x86_64
Install Date: Thu 27 Mar 2014 10:09:24 AM PDT
Group : Applications/
Size : 90044320
License : Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Under GPL license as shown in the Description field.
Signature : DSA/SHA1, Tue 25 Mar 2014 05:17:27 AM PDT, Key ID 1c4cbdcdcd2efd2a
Source RPM : Percona-
Build Date : Mon 24 Mar 2014 09:17:46 AM PDT
Build Host : jhc-new-
Relocations : (not relocatable)
Packager : Percona MySQL Development Team <email address hidden>
Vendor : Percona, Inc
URL : http://
Summary : Percona Server: a very fast and reliable SQL database server
Innodb_
mysql> show global status like 'Innodb_
+------
| Variable_name | Value |
+------
| Innodb_
+------
1 row in set (0.00 sec)
mysql> select count(*) from information_
+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.00 sec)
tags: | added: upstream |
Unable to reproduce the same with 5.5.36 and 5.6.16 row_lock_ current_ waits >0 but when test completes, it's set back to 0. So I don't see the behavior "Constantly increasing Innodb_ row_lock_ current_ waits value "
I tried to test by running sysbench with --num-threads=100 and got Innodb_
nilnandan@ nilnandan- Dell-XPS: ~/sandboxes/ msb_5_6_ 16$ sysbench --test=oltp --oltp- table-size= 1000000 --oltp- test-mode= complex --oltp- read-only= off --num-threads=100 --max-time=90 --max-requests=0 --mysql-db=dbtest --mysql-user=root --mysql- socket= /tmp/mysql_ sandbox5616. sock run
sysbench 0.4.12: multi-threaded system evaluation benchmark
No DB drivers specified, using mysql
Running the test with following options:
Number of threads: 100
Doing OLTP test.
Running mixed OLTP test
Using Special distribution (12 iterations, 1 pct of values are returned in 75 pct cases)
Using "BEGIN" for starting transactions
Using auto_inc on the id column
Threads started!
Time limit exceeded, exiting...
(last message repeated 99 times)
Done.
OLTP test statistics:
queries performed:
read: 2669604
write: 953430
other: 381372
total: 4004406
transactions: 190686 (2118.37 per sec.)
deadlocks: 0 (0.00 per sec.)
read/write requests: 3623034 (40248.94 per sec.)
other operations: 381372 (4236.73 per sec.)
Test execution summary:
total time: 90.0156s
total number of events: 190686
total time taken by event execution: 8998.5023
per-request statistics:
min: 4.23ms
avg: 47.19ms
max: 240.82ms
approx. 95 percentile: 93.18ms
Threads fairness:
events (avg/stddev): 1906.8600/21.21
execution time (avg/stddev): 89.9850/0.01
nilnandan@ nilnandan- Dell-XPS: ~/sandboxes/ msb_5_6_ 16$
mysql> show global status like 'innodb_ row_lock_ current_ waits'; ------- ------- ------- ----+-- -----+ ------- ------- ------- ----+-- -----+ row_lock_ current_ waits | 2 | ------- ------- ------- ----+-- -----+
+------
| Variable_name | Value |
+------
| Innodb_
+------
1 row in set (0.00 sec)
mysql>
mysql> show global status like 'innodb_ row_lock_ current_ waits'; ------- ------- ------- ----+-- -----+ ------- ------- ------- ----+-- -----+ row_lock_ current_ waits | 1 | ------- ------- ------- ----+-- -----+
+------
| Variable_name | Value |
+------
| Innodb_
+------
1 row in set (0.00 sec)
mysql>
mysql> show global status like 'innodb_ row_lock_ current_ waits'; ------- ------- ------- ----+-- -----+ ------- ------- ------- ----+-- -----+ row_lock_ current_ waits | 0 | ------- ------- ------- ----+-- -----+
+------
| Variable_name | Value |
+------
| Innodb_
+------
1 row in set (0.00 sec)
mysql>