diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-04-15 18:48:10 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-04-15 18:48:10 +0000 |
commit | 61b861421b0b849a0dffe36238b8e504624831c1 (patch) | |
tree | e7d99bc9665d20f95c36cd98ad7fe5426696711c /src/backend/executor/nodeHashjoin.c | |
parent | 348f856dc57902a8f951a570284918761da1776b (diff) | |
download | postgresql-61b861421b0b849a0dffe36238b8e504624831c1.tar.gz postgresql-61b861421b0b849a0dffe36238b8e504624831c1.zip |
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.
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions