Q4M (Queue
for MySQL) periodically performs an operation called
"compaction", which is sort of a garbage collection, that
collects empty space from a queue file and returns to the OS.
The pitfall that exists until now was that during compaction, all
operation on the queue table was being blocked.
My opinion was (is) that it is not a serious problem for most
users, since the time required for compaction will be small in
most cases (the time depends on the number (and size) of the rows
alive on the queue table, and the number of the rows alive will
be mostly small).
But for usecases where fast response is a requirement, I have
added a "queue_use_concurrent_compaction" option to Q4M in the
0.9.3 prerelease. When the variable is set to one
in my.cnf, INSERTs will not be blocked during
compaction. Another configuration variable …
[さらに読む]