← Back to team overview

maria-developers team mailing list archive

a question about group commit



as we know there are 3 steps in XA transaction committing
1, prepare step
2, write binary log
3, commit step in engines

all these steps need a fsync(). Group commit strategy can make a group of transactions durable with one fsync() at step 2 and step 3, which can lead to dramatic performance enchance.

But in step 1, each transaction still do its own fsync(). so why not make several transactions durable whith one fsync() in prepare step just like step 2 and 3, which I think can improve performanc further more ?




Follow ups