Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1ec6a2b

Browse files
Provide interim statistics while in mid-checkpoint.
Re-implements similar functionality in 9.1 and previously whichwas removed during split of checkpointer and bgwriter.Requested/spotted by Magnus Hagander
1 parent4bec93a commit1ec6a2b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎src/backend/postmaster/checkpointer.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,11 @@ CheckpointWriteDelay(int flags, double progress)
708708

709709
CheckArchiveTimeout();
710710

711+
/*
712+
* Report interim activity statistics to the stats collector.
713+
*/
714+
pgstat_send_bgwriter();
715+
711716
/*
712717
* This sleep used to be connected to bgwriter_delay, typically 200ms.
713718
* That resulted in more frequent wakeups if not much work to do.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp