<div dir="ltr"><div><div><div><div><div>Hi!<br><br></div>Sometimes on labsdb we see slow queries. Some are marked with /* SLOW_OK */ comment, some are not.<br><br></div>Slow read queries are fine. InnoDB purge lag will climb but no big deal.<br>
<br></div>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.</div><div><br></div>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>
<br></div>BR<br>Sean<br><div><div><div><div><div><div>-- <br><div dir="ltr">DBA @ WMF<br></div>
</div></div></div></div></div></div></div>