]> granicus.if.org Git - postgresql/commit
Change order of operations during XLogFlush so that we try to include
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Oct 2002 17:04:30 +0000 (17:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Oct 2002 17:04:30 +0000 (17:04 +0000)
commit4e9b159484ca088ad9ce6527a2a635f83f308555
treee7ef5c0d88dff105e64bdc4e2f6891a5fdd37f85
parent9a2e9c680447486914bcff60eaa92086e8b1da25
Change order of operations during XLogFlush so that we try to include
in our write/flush operation any WAL entries that got queued while we
were waiting to get the WALWriteLock.  This improves throughput when
transactions are small enough that several can be committed per WAL
write (ie, per disk revolution).
src/backend/access/transam/xlog.c