git.postgresql.org Git - postgresql.git/commit
2005年4月15日 18:48:10 +0000 (18:48 +0000)
2005年4月15日 18:48:10 +0000 (18:48 +0000)
commit 61b861421b0b849a0dffe36238b8e504624831c1
Modify MoveOfflineLogs/InstallXLogFileSegment to avoid O(N^2) behavior
when recycling a large number of xlog segments during checkpoint.
The former behavior searched from the same start point each time,
requiring O(checkpoint_segments^2) stat() calls to relocate all the
segments. Instead keep track of where we stopped last time through.
This is the main PostgreSQL git repository.
RSS
Atom