Bug #20198 RBR injector is too slow
Submitted: 1 Jun 2006 12:39 Modified: 3 Jun 2006 9:31
Reporter: Lars Thalmann Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Row Based Replication ( RBR ) Severity:S3 (Non-critical)
Version:5.1 source OS:
Assigned to: Assigned Account CPU Architecture:Any

[1 Jun 2006 12:39] Lars Thalmann
Description:
When doing injections from NDB, the injector thread is being too slow to
store rows into the binary log.

The reason seems not to be the NDB injector code or other writes to disk.

Also, the writes are only fsynced at transaction (epoch) end, so this should
not be the problem.

Furthermore, table map events are written in a high speed.  It is the 
injector::transaction::write_row() calls that are too slow.

How to repeat:
Tomas has test setup for this

Suggested fix:
Investigate where the slowdown is, perhaps using a profiler.
[3 Jun 2006 9:31] Lars Thalmann
Duplicate of BUG#19221.