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

codeigniter - Fatal error: Call to undefined function lang() in CI Merchant using CardSave -

python - Received unregistered task using Celery with Django -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -