index_tuning.analysis_interval
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 将 index_tuning.mode 设置为“REPORT”时触发每个索引优化会话的频率。 |
数据类型 | 整数 |
默认值 | 720 |
允许的值 | 60-10080 |
参数类型 | dynamic |
Documentation | index_tuning.analysis_interval |
index_tuning.max_columns_per_index
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 任何建议索引的索引键中可以包含的最大列数。 |
数据类型 | 整数 |
默认值 | 2 |
允许的值 | 1-10 |
参数类型 | dynamic |
Documentation | index_tuning.max_columns_per_index |
索引调优.最大索引计数 (index_tuning.max_index_count)
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间可以为每个数据库推荐的最大索引数。 |
数据类型 | 整数 |
默认值 | 10 |
允许的值 | 1-25 |
参数类型 | dynamic |
Documentation | index_tuning.max_index_count |
index_tuning.max_indexes_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 每个表可推荐的最大索引数。 |
数据类型 | 整数 |
默认值 | 10 |
允许的值 | 1-25 |
参数类型 | dynamic |
Documentation | index_tuning.max_indexes_per_table |
index_tuning.max_queries_per_database
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 可向其推荐索引的每个数据库的最慢查询数。 |
数据类型 | 整数 |
默认值 | 25 |
允许的值 | 5-100 |
参数类型 | dynamic |
Documentation | index_tuning.max_queries_per_database |
index_tuning.max_regression_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间所分析的任何查询上,由推荐的索引所引入的可接受回归。 |
数据类型 | 数字 |
默认值 | 0.1 |
允许的值 | 0.05-0.2 |
参数类型 | dynamic |
Documentation | index_tuning.max_regression_factor |
index_tuning.max_total_size_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 任何给定数据库的所有建议索引所能使用的最大总空间占总磁盘空间的百分比。 |
数据类型 | 数字 |
默认值 | 0.1 |
允许的值 | 0-1.0 |
参数类型 | dynamic |
Documentation | index_tuning.max_total_size_factor |
index_tuning.min_improvement_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间,建议的索引必须向至少一个所分析查询提供的成本改善幅度。 |
数据类型 | 数字 |
默认值 | 0.2 |
允许的值 | 0-20.0 |
参数类型 | dynamic |
Documentation | index_tuning.min_improvement_factor |
index_tuning.mode
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 将索引优化配置为已禁用 ('OFF'),或仅启用以仅发出建议。 需要通过将 pg_qs.query_capture_mode 设置为 'TOP' 或 'ALL' 来启用查询存储。 |
数据类型 | 枚举 |
默认值 | off |
允许的值 | off,report |
参数类型 | dynamic |
Documentation | index_tuning.mode |
index_tuning.unused_dml_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 影响表的每日平均 DML 操作的最小数量,超过此值时将考虑删除其未使用的索引。 |
数据类型 | 整数 |
默认值 | 1000 |
允许的值 | 0-9999999 |
参数类型 | dynamic |
Documentation | index_tuning.unused_dml_per_table |
index_tuning.unused_min_period
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 根据系统统计信息,未使用索引的最小天数,超过此值时将考虑删除索引。 |
数据类型 | 整数 |
默认值 | 35 |
允许的值 | 30-720 |
参数类型 | dynamic |
Documentation | index_tuning.unused_min_period |
index_tuning.unused_reads_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 影响表的每日平均读取操作的最小数量,超过此值时将考虑删除其未使用的索引。 |
数据类型 | 整数 |
默认值 | 1000 |
允许的值 | 0-9999999 |
参数类型 | dynamic |
Documentation | index_tuning.unused_reads_per_table |
智能调优
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用智能优化 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | intelligent_tuning |
intelligent_tuning.metric_targets
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 指定智能优化将调整哪些指标。 |
数据类型 | set |
默认值 | none |
允许的值 | none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all |
参数类型 | dynamic |
Documentation | intelligent_tuning.metric_targets |
logfiles.download_enable
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用或禁用服务器日志功能。 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | logfiles.download_enable |
logfiles.retention_days(日志文件保留天数)
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。 |
数据类型 | 整数 |
默认值 | 3 |
允许的值 | 1-7 |
参数类型 | dynamic |
Documentation | 日志文件.保留天数 |
index_tuning.analysis_interval
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 将 index_tuning.mode 设置为“REPORT”时触发每个索引优化会话的频率。 |
数据类型 | 整数 |
默认值 | 720 |
允许的值 | 60-10080 |
参数类型 | dynamic |
Documentation | index_tuning.analysis_interval |
index_tuning.max_columns_per_index
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 任何建议索引的索引键中可以包含的最大列数。 |
数据类型 | 整数 |
默认值 | 2 |
允许的值 | 1-10 |
参数类型 | dynamic |
Documentation | index_tuning.max_columns_per_index |
索引调优.最大索引计数 (index_tuning.max_index_count)
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间可以为每个数据库推荐的最大索引数。 |
数据类型 | 整数 |
默认值 | 10 |
允许的值 | 1-25 |
参数类型 | dynamic |
Documentation | index_tuning.max_index_count |
index_tuning.max_indexes_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 每个表可推荐的最大索引数。 |
数据类型 | 整数 |
默认值 | 10 |
允许的值 | 1-25 |
参数类型 | dynamic |
Documentation | index_tuning.max_indexes_per_table |
index_tuning.max_queries_per_database
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 可向其推荐索引的每个数据库的最慢查询数。 |
数据类型 | 整数 |
默认值 | 25 |
允许的值 | 5-100 |
参数类型 | dynamic |
Documentation | index_tuning.max_queries_per_database |
index_tuning.max_regression_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间所分析的任何查询上,由推荐的索引所引入的可接受回归。 |
数据类型 | 数字 |
默认值 | 0.1 |
允许的值 | 0.05-0.2 |
参数类型 | dynamic |
Documentation | index_tuning.max_regression_factor |
index_tuning.max_total_size_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 任何给定数据库的所有建议索引所能使用的最大总空间占总磁盘空间的百分比。 |
数据类型 | 数字 |
默认值 | 0.1 |
允许的值 | 0-1.0 |
参数类型 | dynamic |
Documentation | index_tuning.max_total_size_factor |
index_tuning.min_improvement_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间,建议的索引必须向至少一个所分析查询提供的成本改善幅度。 |
数据类型 | 数字 |
默认值 | 0.2 |
允许的值 | 0-20.0 |
参数类型 | dynamic |
Documentation | index_tuning.min_improvement_factor |
index_tuning.mode
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 将索引优化配置为已禁用 ('OFF'),或仅启用以仅发出建议。 需要通过将 pg_qs.query_capture_mode 设置为 'TOP' 或 'ALL' 来启用查询存储。 |
数据类型 | 枚举 |
默认值 | off |
允许的值 | off,report |
参数类型 | dynamic |
Documentation | index_tuning.mode |
index_tuning.unused_dml_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 影响表的每日平均 DML 操作的最小数量,超过此值时将考虑删除其未使用的索引。 |
数据类型 | 整数 |
默认值 | 1000 |
允许的值 | 0-9999999 |
参数类型 | dynamic |
Documentation | index_tuning.unused_dml_per_table |
index_tuning.unused_min_period
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 根据系统统计信息,未使用索引的最小天数,超过此值时将考虑删除索引。 |
数据类型 | 整数 |
默认值 | 35 |
允许的值 | 30-720 |
参数类型 | dynamic |
Documentation | index_tuning.unused_min_period |
index_tuning.unused_reads_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 影响表的每日平均读取操作的最小数量,超过此值时将考虑删除其未使用的索引。 |
数据类型 | 整数 |
默认值 | 1000 |
允许的值 | 0-9999999 |
参数类型 | dynamic |
Documentation | index_tuning.unused_reads_per_table |
智能调优
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用智能优化 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | intelligent_tuning |
intelligent_tuning.metric_targets
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 指定智能优化将调整哪些指标。 |
数据类型 | set |
默认值 | none |
允许的值 | none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all |
参数类型 | dynamic |
Documentation | intelligent_tuning.metric_targets |
logfiles.download_enable
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用或禁用服务器日志功能。 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | logfiles.download_enable |
logfiles.retention_days(日志文件保留天数)
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。 |
数据类型 | 整数 |
默认值 | 3 |
允许的值 | 1-7 |
参数类型 | dynamic |
Documentation | 日志文件.保留天数 |
index_tuning.analysis_interval
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 将 index_tuning.mode 设置为“REPORT”时触发每个索引优化会话的频率。 |
数据类型 | 整数 |
默认值 | 720 |
允许的值 | 60-10080 |
参数类型 | dynamic |
Documentation | index_tuning.analysis_interval |
index_tuning.max_columns_per_index
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 任何建议索引的索引键中可以包含的最大列数。 |
数据类型 | 整数 |
默认值 | 2 |
允许的值 | 1-10 |
参数类型 | dynamic |
Documentation | index_tuning.max_columns_per_index |
索引调优.最大索引计数 (index_tuning.max_index_count)
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间可以为每个数据库推荐的最大索引数。 |
数据类型 | 整数 |
默认值 | 10 |
允许的值 | 1-25 |
参数类型 | dynamic |
Documentation | index_tuning.max_index_count |
index_tuning.max_indexes_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 每个表可推荐的最大索引数。 |
数据类型 | 整数 |
默认值 | 10 |
允许的值 | 1-25 |
参数类型 | dynamic |
Documentation | index_tuning.max_indexes_per_table |
index_tuning.max_queries_per_database
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 可向其推荐索引的每个数据库的最慢查询数。 |
数据类型 | 整数 |
默认值 | 25 |
允许的值 | 5-100 |
参数类型 | dynamic |
Documentation | index_tuning.max_queries_per_database |
index_tuning.max_regression_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间所分析的任何查询上,由推荐的索引所引入的可接受回归。 |
数据类型 | 数字 |
默认值 | 0.1 |
允许的值 | 0.05-0.2 |
参数类型 | dynamic |
Documentation | index_tuning.max_regression_factor |
index_tuning.max_total_size_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 任何给定数据库的所有建议索引所能使用的最大总空间占总磁盘空间的百分比。 |
数据类型 | 数字 |
默认值 | 0.1 |
允许的值 | 0-1.0 |
参数类型 | dynamic |
Documentation | index_tuning.max_total_size_factor |
index_tuning.min_improvement_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间,建议的索引必须向至少一个所分析查询提供的成本改善幅度。 |
数据类型 | 数字 |
默认值 | 0.2 |
允许的值 | 0-20.0 |
参数类型 | dynamic |
Documentation | index_tuning.min_improvement_factor |
index_tuning.mode
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 将索引优化配置为已禁用 ('OFF'),或仅启用以仅发出建议。 需要通过将 pg_qs.query_capture_mode 设置为 'TOP' 或 'ALL' 来启用查询存储。 |
数据类型 | 枚举 |
默认值 | off |
允许的值 | off,report |
参数类型 | dynamic |
Documentation | index_tuning.mode |
index_tuning.unused_dml_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 影响表的每日平均 DML 操作的最小数量,超过此值时将考虑删除其未使用的索引。 |
数据类型 | 整数 |
默认值 | 1000 |
允许的值 | 0-9999999 |
参数类型 | dynamic |
Documentation | index_tuning.unused_dml_per_table |
index_tuning.unused_min_period
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 根据系统统计信息,未使用索引的最小天数,超过此值时将考虑删除索引。 |
数据类型 | 整数 |
默认值 | 35 |
允许的值 | 30-720 |
参数类型 | dynamic |
Documentation | index_tuning.unused_min_period |
index_tuning.unused_reads_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 影响表的每日平均读取操作的最小数量,超过此值时将考虑删除其未使用的索引。 |
数据类型 | 整数 |
默认值 | 1000 |
允许的值 | 0-9999999 |
参数类型 | dynamic |
Documentation | index_tuning.unused_reads_per_table |
智能调优
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用智能优化 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | intelligent_tuning |
intelligent_tuning.metric_targets
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 指定智能优化将调整哪些指标。 |
数据类型 | set |
默认值 | none |
允许的值 | none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all |
参数类型 | dynamic |
Documentation | intelligent_tuning.metric_targets |
logfiles.download_enable
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用或禁用服务器日志功能。 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | logfiles.download_enable |
logfiles.retention_days(日志文件保留天数)
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。 |
数据类型 | 整数 |
默认值 | 3 |
允许的值 | 1-7 |
参数类型 | dynamic |
Documentation | 日志文件.保留天数 |
index_tuning.analysis_interval
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 将 index_tuning.mode 设置为“REPORT”时触发每个索引优化会话的频率。 |
数据类型 | 整数 |
默认值 | 720 |
允许的值 | 60-10080 |
参数类型 | dynamic |
Documentation | index_tuning.analysis_interval |
index_tuning.max_columns_per_index
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 任何建议索引的索引键中可以包含的最大列数。 |
数据类型 | 整数 |
默认值 | 2 |
允许的值 | 1-10 |
参数类型 | dynamic |
Documentation | index_tuning.max_columns_per_index |
索引调优.最大索引计数 (index_tuning.max_index_count)
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间可以为每个数据库推荐的最大索引数。 |
数据类型 | 整数 |
默认值 | 10 |
允许的值 | 1-25 |
参数类型 | dynamic |
Documentation | index_tuning.max_index_count |
index_tuning.max_indexes_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 每个表可推荐的最大索引数。 |
数据类型 | 整数 |
默认值 | 10 |
允许的值 | 1-25 |
参数类型 | dynamic |
Documentation | index_tuning.max_indexes_per_table |
index_tuning.max_queries_per_database
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 可向其推荐索引的每个数据库的最慢查询数。 |
数据类型 | 整数 |
默认值 | 25 |
允许的值 | 5-100 |
参数类型 | dynamic |
Documentation | index_tuning.max_queries_per_database |
index_tuning.max_regression_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间所分析的任何查询上,由推荐的索引所引入的可接受回归。 |
数据类型 | 数字 |
默认值 | 0.1 |
允许的值 | 0.05-0.2 |
参数类型 | dynamic |
Documentation | index_tuning.max_regression_factor |
index_tuning.max_total_size_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 任何给定数据库的所有建议索引所能使用的最大总空间占总磁盘空间的百分比。 |
数据类型 | 数字 |
默认值 | 0.1 |
允许的值 | 0-1.0 |
参数类型 | dynamic |
Documentation | index_tuning.max_total_size_factor |
index_tuning.min_improvement_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间,建议的索引必须向至少一个所分析查询提供的成本改善幅度。 |
数据类型 | 数字 |
默认值 | 0.2 |
允许的值 | 0-20.0 |
参数类型 | dynamic |
Documentation | index_tuning.min_improvement_factor |
index_tuning.mode
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 将索引优化配置为已禁用 ('OFF'),或仅启用以仅发出建议。 需要通过将 pg_qs.query_capture_mode 设置为 'TOP' 或 'ALL' 来启用查询存储。 |
数据类型 | 枚举 |
默认值 | off |
允许的值 | off,report |
参数类型 | dynamic |
Documentation | index_tuning.mode |
index_tuning.unused_dml_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 影响表的每日平均 DML 操作的最小数量,超过此值时将考虑删除其未使用的索引。 |
数据类型 | 整数 |
默认值 | 1000 |
允许的值 | 0-9999999 |
参数类型 | dynamic |
Documentation | index_tuning.unused_dml_per_table |
index_tuning.unused_min_period
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 根据系统统计信息,未使用索引的最小天数,超过此值时将考虑删除索引。 |
数据类型 | 整数 |
默认值 | 35 |
允许的值 | 30-720 |
参数类型 | dynamic |
Documentation | index_tuning.unused_min_period |
index_tuning.unused_reads_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 影响表的每日平均读取操作的最小数量,超过此值时将考虑删除其未使用的索引。 |
数据类型 | 整数 |
默认值 | 1000 |
允许的值 | 0-9999999 |
参数类型 | dynamic |
Documentation | index_tuning.unused_reads_per_table |
智能调优
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用智能优化 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | intelligent_tuning |
intelligent_tuning.metric_targets
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 指定智能优化将调整哪些指标。 |
数据类型 | set |
默认值 | none |
允许的值 | none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all |
参数类型 | dynamic |
Documentation | intelligent_tuning.metric_targets |
logfiles.download_enable
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用或禁用服务器日志功能。 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | logfiles.download_enable |
logfiles.retention_days(日志文件保留天数)
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。 |
数据类型 | 整数 |
默认值 | 3 |
允许的值 | 1-7 |
参数类型 | dynamic |
Documentation | 日志文件.保留天数 |
index_tuning.analysis_interval
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 将 index_tuning.mode 设置为“REPORT”时触发每个索引优化会话的频率。 |
数据类型 | 整数 |
默认值 | 720 |
允许的值 | 60-10080 |
参数类型 | dynamic |
Documentation | index_tuning.analysis_interval |
index_tuning.max_columns_per_index
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 任何建议索引的索引键中可以包含的最大列数。 |
数据类型 | 整数 |
默认值 | 2 |
允许的值 | 1-10 |
参数类型 | dynamic |
Documentation | index_tuning.max_columns_per_index |
索引调优.最大索引计数 (index_tuning.max_index_count)
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间可以为每个数据库推荐的最大索引数。 |
数据类型 | 整数 |
默认值 | 10 |
允许的值 | 1-25 |
参数类型 | dynamic |
Documentation | index_tuning.max_index_count |
index_tuning.max_indexes_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 每个表可推荐的最大索引数。 |
数据类型 | 整数 |
默认值 | 10 |
允许的值 | 1-25 |
参数类型 | dynamic |
Documentation | index_tuning.max_indexes_per_table |
index_tuning.max_queries_per_database
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 可向其推荐索引的每个数据库的最慢查询数。 |
数据类型 | 整数 |
默认值 | 25 |
允许的值 | 5-100 |
参数类型 | dynamic |
Documentation | index_tuning.max_queries_per_database |
index_tuning.max_regression_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间所分析的任何查询上,由推荐的索引所引入的可接受回归。 |
数据类型 | 数字 |
默认值 | 0.1 |
允许的值 | 0.05-0.2 |
参数类型 | dynamic |
Documentation | index_tuning.max_regression_factor |
index_tuning.max_total_size_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 任何给定数据库的所有建议索引所能使用的最大总空间占总磁盘空间的百分比。 |
数据类型 | 数字 |
默认值 | 0.1 |
允许的值 | 0-1.0 |
参数类型 | dynamic |
Documentation | index_tuning.max_total_size_factor |
index_tuning.min_improvement_factor
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 在一个优化会话期间,建议的索引必须向至少一个所分析查询提供的成本改善幅度。 |
数据类型 | 数字 |
默认值 | 0.2 |
允许的值 | 0-20.0 |
参数类型 | dynamic |
Documentation | index_tuning.min_improvement_factor |
index_tuning.mode
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 将索引优化配置为已禁用 ('OFF'),或仅启用以仅发出建议。 需要通过将 pg_qs.query_capture_mode 设置为 'TOP' 或 'ALL' 来启用查询存储。 |
数据类型 | 枚举 |
默认值 | off |
允许的值 | off,report |
参数类型 | dynamic |
Documentation | index_tuning.mode |
index_tuning.unused_dml_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 影响表的每日平均 DML 操作的最小数量,超过此值时将考虑删除其未使用的索引。 |
数据类型 | 整数 |
默认值 | 1000 |
允许的值 | 0-9999999 |
参数类型 | dynamic |
Documentation | index_tuning.unused_dml_per_table |
index_tuning.unused_min_period
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 根据系统统计信息,未使用索引的最小天数,超过此值时将考虑删除索引。 |
数据类型 | 整数 |
默认值 | 35 |
允许的值 | 30-720 |
参数类型 | dynamic |
Documentation | index_tuning.unused_min_period |
index_tuning.unused_reads_per_table
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 影响表的每日平均读取操作的最小数量,超过此值时将考虑删除其未使用的索引。 |
数据类型 | 整数 |
默认值 | 1000 |
允许的值 | 0-9999999 |
参数类型 | dynamic |
Documentation | index_tuning.unused_reads_per_table |
智能调优
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用智能优化 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | intelligent_tuning |
intelligent_tuning.metric_targets
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 指定智能优化将调整哪些指标。 |
数据类型 | set |
默认值 | none |
允许的值 | none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all |
参数类型 | dynamic |
Documentation | intelligent_tuning.metric_targets |
logfiles.download_enable
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用或禁用服务器日志功能。 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | logfiles.download_enable |
logfiles.retention_days(日志文件保留天数)
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。 |
数据类型 | 整数 |
默认值 | 3 |
允许的值 | 1-7 |
参数类型 | dynamic |
Documentation | 日志文件.保留天数 |
智能调优
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用智能优化 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | intelligent_tuning |
intelligent_tuning.metric_targets
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 指定智能优化将调整哪些指标。 |
数据类型 | set |
默认值 | none |
允许的值 | none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all |
参数类型 | dynamic |
Documentation | intelligent_tuning.metric_targets |
logfiles.download_enable
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 启用或禁用服务器日志功能。 |
数据类型 | 布尔 |
默认值 | off |
允许的值 | on,off |
参数类型 | dynamic |
Documentation | logfiles.download_enable |
logfiles.retention_days(日志文件保留天数)
Attribute | 价值 |
---|---|
类别 | 智能优化 |
Description | 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。 |
数据类型 | 整数 |
默认值 | 3 |
允许的值 | 1-7 |
参数类型 | dynamic |
Documentation | 日志文件.保留天数 |