Hi Raghu,
I have tried to reproduce the same with SP testcase + PS 5.6.21/MySQL 5.6.21 community + 3 parallel sessions. but I could not able to reproduce it.
On PS 5.6.21,
mysql> show processlist; +----+------+-----------+------+---------+------+-----------+------------------------------------------------------------------------------------------------------+-----------+---------------+ | Id | User | Host | db | Command | Time | State | Info | Rows_sent | Rows_examined | +----+------+-----------+------+---------+------+-----------+------------------------------------------------------------------------------------------------------+-----------+---------------+ | 45 | root | localhost | test | Query | 0 | init | show processlist | 0 | 0 | | 46 | root | localhost | test | Query | 0 | query end | replace into t1(a,b,who,rep_count,trx_count,trx_started) values(floor(3*rand()), floor(3*ra | 224 | 29262 | | 48 | root | localhost | test | Sleep | 19 | | NULL | 0 | 0 | | 53 | root | localhost | test | Query | 0 | update | replace into t1(a,b,who,rep_count,trx_count,trx_started) values(floor(3*rand()), floor(3*ra | 150 | 17067 | | 54 | root | localhost | test | Query | 0 | query end | replace into t1(a,b,who,rep_count,trx_count,trx_started) values(floor(3*rand()), floor(3*ra | 179 | 25116 | +----+------+-----------+------+---------+------+-----------+------------------------------------------------------------------------------------------------------+-----------+---------------+ 5 rows in set (0.00 sec)
On MySQL 5.6.21,
mysql> show processlist; +----+------+-----------+------+---------+------+-----------+------------------------------------------------------------------------------------------------------+ | Id | User | Host | db | Command | Time | State | Info | +----+------+-----------+------+---------+------+-----------+------------------------------------------------------------------------------------------------------+ | 1 | root | localhost | test | Sleep | 109 | | NULL | | 2 | root | localhost | test | Query | 0 | init | show processlist | | 3 | root | localhost | test | Query | 0 | query end | replace into t1(a,b,who,rep_count,trx_count,trx_started) values(floor(3*rand()), floor(3*ra | | 4 | root | localhost | test | Query | 0 | query end | replace into t1(a,b,who,rep_count,trx_count,trx_started) values(floor(3*rand()), floor(3*ra | | 5 | root | localhost | test | Query | 0 | update | replace into t1(a,b,who,rep_count,trx_count,trx_started) values(floor(3*rand()), floor(3*ra | +----+------+-----------+------+---------+------+-----------+------------------------------------------------------------------------------------------------------+ 5 rows in set (0.00 sec)
Hi Raghu,
I have tried to reproduce the same with SP testcase + PS 5.6.21/MySQL 5.6.21 community + 3 parallel sessions. but I could not able to reproduce it.
On PS 5.6.21,
mysql> show processlist; -----+- ------- ---+--- ---+--- ------+ ------+ ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+---- ------- +------ ------- --+ -----+- ------- ---+--- ---+--- ------+ ------+ ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+---- ------- +------ ------- --+ who,rep_ count,trx_ count,trx_ started)
values( floor(3* rand()) , floor(3*ra | 224 | 29262 | who,rep_ count,trx_ count,trx_ started)
values( floor(3* rand()) , floor(3*ra | 150 | 17067 | who,rep_ count,trx_ count,trx_ started)
values( floor(3* rand()) , floor(3*ra | 179 | 25116 | -----+- ------- ---+--- ---+--- ------+ ------+ ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+---- ------- +------ ------- --+
+----+-
| Id | User | Host | db | Command | Time | State | Info | Rows_sent | Rows_examined |
+----+-
| 45 | root | localhost | test | Query | 0 | init | show processlist | 0 | 0 |
| 46 | root | localhost | test | Query | 0 | query end | replace into t1(a,b,
| 48 | root | localhost | test | Sleep | 19 | | NULL | 0 | 0 |
| 53 | root | localhost | test | Query | 0 | update | replace into t1(a,b,
| 54 | root | localhost | test | Query | 0 | query end | replace into t1(a,b,
+----+-
5 rows in set (0.00 sec)
On MySQL 5.6.21,
mysql> show processlist; -----+- ------- ---+--- ---+--- ------+ ------+ ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+ -----+- ------- ---+--- ---+--- ------+ ------+ ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+ who,rep_ count,trx_ count,trx_ started)
values( floor(3* rand()) , floor(3*ra | who,rep_ count,trx_ count,trx_ started)
values( floor(3* rand()) , floor(3*ra | who,rep_ count,trx_ count,trx_ started)
values( floor(3* rand()) , floor(3*ra | -----+- ------- ---+--- ---+--- ------+ ------+ ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+
+----+-
| Id | User | Host | db | Command | Time | State | Info |
+----+-
| 1 | root | localhost | test | Sleep | 109 | | NULL |
| 2 | root | localhost | test | Query | 0 | init | show processlist |
| 3 | root | localhost | test | Query | 0 | query end | replace into t1(a,b,
| 4 | root | localhost | test | Query | 0 | query end | replace into t1(a,b,
| 5 | root | localhost | test | Query | 0 | update | replace into t1(a,b,
+----+-
5 rows in set (0.00 sec)