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

Commitf5f9577

Browse files
committed
Modify max_fsm_pages in postgresql.conf.sample to show a typical value,
rather than a value too high.
1 parent4945a8f commitf5f9577

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/backend/utils/misc/postgresql.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111

112112
# - Free Space Map -
113113

114-
#max_fsm_pages =1638400# min max_fsm_relations*16, 6 bytes each
114+
#max_fsm_pages =204800# min max_fsm_relations*16, 6 bytes each
115115
# (change requires restart)
116116
#max_fsm_relations = 1000# min 100, ~70 bytes each
117117
# (change requires restart)

‎src/bin/initdb/initdb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* Portions Copyright (c) 1994, Regents of the University of California
4343
* Portions taken from FreeBSD.
4444
*
45-
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.128 2007/01/06 19:40:00 momjian Exp $
45+
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.129 2007/01/20 17:04:58 momjian Exp $
4646
*
4747
*-------------------------------------------------------------------------
4848
*/
@@ -1251,7 +1251,7 @@ setup_config(void)
12511251
conflines=replace_token(conflines,"#shared_buffers = 32MB",repltok);
12521252

12531253
snprintf(repltok,sizeof(repltok),"max_fsm_pages = %d",n_fsm_pages);
1254-
conflines=replace_token(conflines,"#max_fsm_pages =1638400",repltok);
1254+
conflines=replace_token(conflines,"#max_fsm_pages =204800",repltok);
12551255

12561256
#ifDEF_PGPORT!=5432
12571257
snprintf(repltok,sizeof(repltok),"#port = %d",DEF_PGPORT);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp