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

Commit3b0a5e5

Browse files
committed
Update VACUUM VERBOSE FSM message, per Tom.
1 parent35f9b46 commit3b0a5e5

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

‎src/backend/storage/freespace/freespace.c

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.43 2005/04/23 21:16:34 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.44 2005/04/24 03:51:49 momjian Exp $
1212
*
1313
*
1414
* NOTES:
@@ -709,14 +709,13 @@ PrintFreeSpaceMapStatistics(int elevel)
709709
needed= (sumRequests+numRels)*CHUNKPAGES;
710710

711711
ereport(elevel,
712-
(errmsg("free space map contains information about:\n"
713-
"%d relations, limit %d relations\n"
714-
"%d pages with free space, %.0f total pages used (including overhead)\n"
715-
"%.0f pages required to track all freespace, limit %d pages\n"
716-
"%.0f kB memory used",
717-
numRels,MaxFSMRelations,
718-
storedPages,Min(needed,MaxFSMPages),
719-
needed,MaxFSMPages,
712+
(errmsg("free space map contains %d pages in %d relations",
713+
storedPages,numRels),
714+
errdetail("A total of %.0f page slots are in use (including overhead).\n"
715+
"%.0f page slots are required to track all free space.\n"
716+
"Current limits are: %d page slots, %d relations, using %.0f KB.",
717+
Min(needed,MaxFSMPages),
718+
needed,MaxFSMPages,MaxFSMRelations,
720719
(double)FreeSpaceShmemSize() /1024.0)));
721720

722721
CheckFreeSpaceMapStatistics(NOTICE,numRels,needed);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp