Why does this query refuse to finish on my master MySQL server? -


so, @ work have master , slave going in replication, , have tracking table gets hammered, lots of inserts 'on duplicate key update' clause. table innodb, locks on row level. have 1 query selects data stuff being written to, behaves differently on master vs slave, namely on master it'll never finish , on slave it'll finish instantly, , want know why.

i can understand query have issues dealing volatile rows being updated, that's happening on slave, albeit @ more regular intervals.

select sum(hits) hits, date(`when`) thedate tracking tr tr.geo_country in('fr')  , tr.`when` between '2013-08-23 00:00:00' , '2013-08-23 23:59:59' group thedate 

no locking happening on either server, none other on single row basis can't seen show processlist.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -