Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
80df9c49
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
80df9c49
编写于
4月 06, 2009
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add unit documentation for various postgresql.conf settings.
上级
5ae9f827
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
17 addition
and
15 deletion
+17
-15
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+5
-5
src/backend/utils/misc/postgresql.conf.sample
src/backend/utils/misc/postgresql.conf.sample
+12
-10
未找到文件。
src/backend/utils/misc/guc.c
浏览文件 @
80df9c49
...
...
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.
499 2009/04/02 19:57:19
momjian Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.
500 2009/04/06 21:00:52
momjian Exp $
*
*--------------------------------------------------------------------
*/
...
...
@@ -1530,7 +1530,7 @@ static struct config_int ConfigureNamesInt[] =
{
{
"statement_timeout"
,
PGC_USERSET
,
CLIENT_CONN_STATEMENT
,
gettext_noop
(
"Sets the maximum
allowed duration of any statement
."
),
gettext_noop
(
"Sets the maximum
duration of any statement, in milliseconds
."
),
gettext_noop
(
"A value of 0 turns off the timeout."
),
GUC_UNIT_MS
},
...
...
@@ -1684,7 +1684,7 @@ static struct config_int ConfigureNamesInt[] =
{
{
"log_autovacuum_min_duration"
,
PGC_SIGHUP
,
LOGGING_WHAT
,
gettext_noop
(
"Sets the minimum execution
time
above which "
gettext_noop
(
"Sets the minimum execution
milliseconds
above which "
"autovacuum actions will be logged."
),
gettext_noop
(
"Zero prints all actions. -1 turns autovacuum logging off."
),
GUC_UNIT_MS
...
...
@@ -1871,7 +1871,7 @@ static struct config_int ConfigureNamesInt[] =
{
{
"tcp_keepalives_idle"
,
PGC_USERSET
,
CLIENT_CONN_OTHER
,
gettext_noop
(
"
Time
between issuing TCP keepalives."
),
gettext_noop
(
"
Seconds
between issuing TCP keepalives."
),
gettext_noop
(
"A value of 0 uses the system default."
),
GUC_UNIT_S
},
...
...
@@ -1881,7 +1881,7 @@ static struct config_int ConfigureNamesInt[] =
{
{
"tcp_keepalives_interval"
,
PGC_USERSET
,
CLIENT_CONN_OTHER
,
gettext_noop
(
"
Time
between TCP keepalive retransmits."
),
gettext_noop
(
"
Seconds
between TCP keepalive retransmits."
),
gettext_noop
(
"A value of 0 uses the system default."
),
GUC_UNIT_S
},
...
...
src/backend/utils/misc/postgresql.conf.sample
浏览文件 @
80df9c49
...
...
@@ -122,7 +122,7 @@
# - Cost-Based Vacuum Delay -
#vacuum_cost_delay = 0
# 0-100 milliseconds
#vacuum_cost_delay = 0
ms
# 0-100 milliseconds
#vacuum_cost_page_hit = 1 # 0-10000 credits
#vacuum_cost_page_miss = 10 # 0-10000 credits
#vacuum_cost_page_dirty = 20 # 0-10000 credits
...
...
@@ -175,7 +175,7 @@
# (change requires restart)
#archive_command = '' # command to use to archive a logfile segment
#archive_timeout = 0 # force a logfile segment switch after this
#
time
; 0 is off
#
number of seconds
; 0 is off
#------------------------------------------------------------------------------
...
...
@@ -306,9 +306,10 @@
# fatal
# panic (effectively off)
#log_min_duration_statement = -1
ms
# -1 is disabled, 0 logs all statements
#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
# and their durations, > 0 logs only
# statements running at least this time.
# statements running at least this number
# of milliseconds
#silent_mode = off # DO NOT USE without syslog or
# logging_collector
...
...
@@ -346,7 +347,7 @@
#log_lock_waits = off # log lock waits >= deadlock_timeout
#log_statement = 'none' # none, ddl, mod, all
#log_temp_files = -1 # log temporary files equal or larger
# than
specified size
;
# than
the specified size in kilobytes
;
# -1 disables, 0 logs all temp files
#log_timezone = unknown # actually, defaults to TZ environment
# setting
...
...
@@ -382,7 +383,8 @@
# requires track_counts to also be on.
#log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and
# their durations, > 0 logs only
# actions running at least that time.
# actions running at least this number
# of milliseconds.
#autovacuum_max_workers = 3 # max number of autovacuum subprocesses
#autovacuum_naptime = 1min # time between autovacuum runs
#autovacuum_vacuum_threshold = 50 # min number of row updates before
...
...
@@ -393,9 +395,9 @@
#autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
# (change requires restart)
#autovacuum_vacuum_cost_delay = 20 # default vacuum cost delay for
# autovacuum,
-1 means use
# vacuum_cost_delay
#autovacuum_vacuum_cost_delay = 20
ms
# default vacuum cost delay for
# autovacuum,
in milliseconds;
#
-1 means use
vacuum_cost_delay
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
# autovacuum, -1 means use
# vacuum_cost_limit
...
...
@@ -415,7 +417,7 @@
#default_transaction_isolation = 'read committed'
#default_transaction_read_only = off
#session_replication_role = 'origin'
#statement_timeout = 0 # 0 is disabled
#statement_timeout = 0 #
in milliseconds,
0 is disabled
#vacuum_freeze_min_age = 50000000
#vacuum_freeze_table_age = 150000000
#xmlbinary = 'base64'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录