[Labs-l] slow queries
Sean Pringle
springle at wikimedia.org
Fri Mar 14 01:49:21 UTC 2014
Hi!
Sometimes on labsdb we see slow queries. Some are marked with /* SLOW_OK */
comment, some are not.
Slow read queries are fine. InnoDB purge lag will climb but no big deal.
Slow write queries can make replication lag or block. Problem transactions
holding locks for days may get killed, regardless of SLOW_OK comments, to
maintain QoS.
If writing data on labsdbs try to do it in batches. It will make replag
rare, and in the event something does get killed, easier to resume.
BR
Sean
--
DBA @ WMF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20140314/f11daca4/attachment.html>
More information about the Labs-l
mailing list