Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
c37385ab
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,体验更适合开发者的 AI 搜索 >>
提交
c37385ab
编写于
4月 16, 2018
作者:
M
Mel Kiyama
提交者:
David Yozie
4月 16, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs: add guc gp_max_slices (#4854)
上级
277f31c8
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
75 addition
and
27 deletion
+75
-27
gpdb-doc/dita/ref_guide/config_params/guc-list.xml
gpdb-doc/dita/ref_guide/config_params/guc-list.xml
+57
-23
gpdb-doc/dita/ref_guide/config_params/guc_category-list.xml
gpdb-doc/dita/ref_guide/config_params/guc_category-list.xml
+17
-4
gpdb-doc/dita/ref_guide/config_params/guc_config.ditamap
gpdb-doc/dita/ref_guide/config_params/guc_config.ditamap
+1
-0
未找到文件。
gpdb-doc/dita/ref_guide/config_params/guc-list.xml
浏览文件 @
c37385ab
...
@@ -367,6 +367,7 @@
...
@@ -367,6 +367,7 @@
<li>
<li>
<xref
href=
"#gp_max_plan_size"
/>
<xref
href=
"#gp_max_plan_size"
/>
</li>
</li>
<li><xref
href=
"#gp_max_slices"
/></li>
<li>
<li>
<xref
href=
"#gp_motion_cost_per_row"
/>
<xref
href=
"#gp_motion_cost_per_row"
/>
</li>
</li>
...
@@ -2841,8 +2842,7 @@
...
@@ -2841,8 +2842,7 @@
2097152
</p><p><cmdname>
CHECKSUM
</cmdname>
=
<codeph>
TRUE
</codeph>
|
2097152
</p><p><cmdname>
CHECKSUM
</cmdname>
=
<codeph>
TRUE
</codeph>
|
<codeph>
FALSE
</codeph>
<codeph>
FALSE
</codeph>
</p><p><cmdname>
COMPRESSTYPE
</cmdname>
=
<codeph>
ZLIB
</codeph>
|
</p><p><cmdname>
COMPRESSTYPE
</cmdname>
=
<codeph>
ZLIB
</codeph>
|
<codeph>
ZSTD
</codeph>
|
<codeph>
ZSTD
</codeph>
|
<codeph>
QUICKLZ
</codeph><sup>
2
</sup>
|
<codeph>
QUICKLZ
</codeph><sup>
2
</sup>
|
<codeph>
RLE
</codeph>
_
<codeph>
TYPE
</codeph>
|
<codeph>
NONE
</codeph>
<codeph>
RLE
</codeph>
_
<codeph>
TYPE
</codeph>
|
<codeph>
NONE
</codeph>
</p><p><cmdname>
COMPRESSLEVEL
</cmdname>
= integer between 0 and
</p><p><cmdname>
COMPRESSLEVEL
</cmdname>
= integer between 0 and
19
</p><p><cmdname>
ORIENTATION
</cmdname>
=
<codeph>
ROW
</codeph>
|
19
</p><p><cmdname>
ORIENTATION
</cmdname>
=
<codeph>
ROW
</codeph>
|
...
@@ -3445,14 +3445,14 @@
...
@@ -3445,14 +3445,14 @@
<topic
id=
"gp_enable_query_metrics"
>
<topic
id=
"gp_enable_query_metrics"
>
<title>
gp_enable_query_metrics
</title>
<title>
gp_enable_query_metrics
</title>
<body>
<body>
<p>
Enables collection of query metrics. When query metrics collection is enabled,
<p>
Enables collection of query metrics. When query metrics collection is enabled,
Greenplum
Greenplum Database collects metrics during query execution. The default is off.
</p>
Database collects metrics during query execution. The default is off.
</p>
<p>
After changing this configuration parameter, Greenplum Database must be restarted for the
<p>
After changing this configuration parameter, Greenplum Database must be restarted for the
change to take effect.
</p>
change to take effect.
</p>
<p>
The Greenplum Database metrics collection extension, when enabled, sends the
<p>
The Greenplum Database metrics collection extension, when enabled, sends the
collected
collected
metrics over UDP to a Pivotal Greenplum Command Center agent
<sup>
1
</sup>
.
</p>
metrics over UDP to a Pivotal Greenplum Command Center agent
<sup>
1
</sup>
.
</p>
<note><sup>
1
</sup>
The metrics collection extension is included in Pivotal's commercial
<note><sup>
1
</sup>
The metrics collection extension is included in Pivotal's commercial
version of Greenplum Database. Pivotal Greenplum Command Center is supported only with
version of Greenplum Database. Pivotal Greenplum Command Center is supported only with
Pivotal Greenplum Database.
</note>
Pivotal Greenplum Database.
</note>
<table
id=
"gp_enable_query_metrics"
>
<table
id=
"gp_enable_query_metrics"
>
<tgroup
cols=
"3"
>
<tgroup
cols=
"3"
>
...
@@ -4195,19 +4195,16 @@
...
@@ -4195,19 +4195,16 @@
<topic
id=
"gp_instrument_shmem_size"
>
<topic
id=
"gp_instrument_shmem_size"
>
<title>
gp_instrument_shmem_size
</title>
<title>
gp_instrument_shmem_size
</title>
<body>
<body>
<p>
The amount of shared memory, in kilobytes, allocated for query metrics.
<p>
The amount of shared memory, in kilobytes, allocated for query metrics. The default is 5120
The default is 5120 and the maximum is 131072. At startup, if
and the maximum is 131072. At startup, if
<codeph><xref
href=
"#gp_enable_query_metrics"
<codeph><xref
href=
"#gp_enable_query_metrics"
format=
"dita"
>
gp_enable_query_metrics
</xref></codeph>
is set to on, Greenplum Database
format=
"dita"
>
gp_enable_query_metrics
</xref></codeph>
is set to on,
allocates space in shared memory to save query metrics. This memory is organized as a header
Greenplum Database allocates space in shared memory to save query metrics.
and a list of slots. The number of slots needed depends on the number of concurrent queries
This memory is organized as a header and a list of slots. The number of
and the number of execution plan nodes per query. The default value, 5120, is based on a
slots needed depends on the number of concurrent queries and the number of
Greenplum Database system that executes a maximum of about 250 concurrent queries with 120
execution plan nodes per query. The default value, 5120, is based on a
nodes per query. If the
<codeph>
gp_enable_query_metrics
</codeph>
configuration parameter is
Greenplum Database system that executes a maximum of about 250 concurrent
off, or if the slots are exhausted, the metrics are maintained in local memory instead of in
queries with 120 nodes per query. If the
shared memory.
</p>
<codeph>
gp_enable_query_metrics
</codeph>
configuration parameter is off,
or if the slots are exhausted, the metrics are maintained in local memory
instead of in shared memory.
</p>
<table
id=
"gp_instrument_shmem_size"
>
<table
id=
"gp_instrument_shmem_size"
>
<tgroup
cols=
"3"
>
<tgroup
cols=
"3"
>
<colspec
colnum=
"1"
colname=
"col1"
colwidth=
"1*"
/>
<colspec
colnum=
"1"
colname=
"col1"
colwidth=
"1*"
/>
...
@@ -4224,7 +4221,8 @@
...
@@ -4224,7 +4221,8 @@
<row>
<row>
<entry
colname=
"col1"
>
integer
<codeph>
0 - 131072
</codeph></entry>
<entry
colname=
"col1"
>
integer
<codeph>
0 - 131072
</codeph></entry>
<entry
colname=
"col2"
>
5120
</entry>
<entry
colname=
"col2"
>
5120
</entry>
<entry
colname=
"col3"
>
master
<p>
system
</p><p>
restart
</p></entry></row>
<entry
colname=
"col3"
>
master
<p>
system
</p><p>
restart
</p></entry>
</row>
</tbody>
</tbody>
</tgroup>
</tgroup>
</table>
</table>
...
@@ -4606,6 +4604,42 @@
...
@@ -4606,6 +4604,42 @@
</table>
</table>
</body>
</body>
</topic>
</topic>
<topic
id=
"gp_max_slices"
>
<title>
gp_max_slices
</title>
<body>
<p
dir=
"ltr"
>
Specifies the maximum number of slices (portions of a query plan that are
executed on segment instances) that can be generated by a query. If the query generates more
than the specified number of slices, Greenplum Database returns an error and does not
execute the query. The default value is
<codeph>
0
</codeph>
, no maximum value.
</p>
<p>
Executing a query that generates a large number of slices might affect Greenplum Database
performance. For example, a query that contains
<codeph>
UNION
</codeph>
or
<codeph>
UNION
ALL
</codeph>
operators over several complex views can generate a large number of slices.
You can run
<codeph>
EXPLAIN ANALYZE
</codeph>
on the query to view slice statistics for the
query.
</p>
<table
id=
"table_uwf_lzw_ldb"
>
<tgroup
cols=
"3"
>
<colspec
colnum=
"1"
colname=
"col1"
colwidth=
"1*"
/>
<colspec
colnum=
"2"
colname=
"col2"
colwidth=
"1*"
/>
<colspec
colnum=
"3"
colname=
"col3"
colwidth=
"1*"
/>
<thead>
<row>
<entry
colname=
"col1"
>
Value Range
</entry>
<entry
colname=
"col2"
>
Default
</entry>
<entry
colname=
"col3"
>
Set Classifications
</entry>
</row>
</thead>
<tbody>
<row>
<entry
colname=
"col1"
>
0 - INT_MAX
</entry>
<entry
colname=
"col2"
>
0
</entry>
<entry
colname=
"col3"
>
master
<p>
session
</p><p>
reload
</p></entry>
</row>
</tbody>
</tgroup>
</table>
</body>
</topic>
<topic
id=
"gp_motion_cost_per_row"
>
<topic
id=
"gp_motion_cost_per_row"
>
<title>
gp_motion_cost_per_row
</title>
<title>
gp_motion_cost_per_row
</title>
<body>
<body>
...
...
gpdb-doc/dita/ref_guide/config_params/guc_category-list.xml
浏览文件 @
c37385ab
...
@@ -679,6 +679,19 @@
...
@@ -679,6 +679,19 @@
</simpletable>
</simpletable>
</body>
</body>
</topic>
</topic>
<topic
id=
"topic_zd5_p32_mdb"
>
<title>
Query Plan Execution
</title>
<body>
<p>
Control the query plan execution.
</p>
<simpletable
frame=
"none"
id=
"simpletable_kbx_t32_mdb"
>
<strow>
<stentry>
<p><xref
href=
"guc-list.xml#gp_max_slices"
>
gp_max_slices
</xref></p>
</stentry>
</strow>
</simpletable>
</body>
</topic>
</topic>
</topic>
<topic
id=
"topic29"
xml:lang=
"en"
>
<topic
id=
"topic29"
xml:lang=
"en"
>
<title
id=
"kh155046"
>
Error Reporting and Logging Parameters
</title>
<title
id=
"kh155046"
>
Error Reporting and Logging Parameters
</title>
...
@@ -930,10 +943,10 @@
...
@@ -930,10 +943,10 @@
<topic
id=
"query-metrics"
>
<topic
id=
"query-metrics"
>
<title>
Query Metrics Collection Parameters
</title>
<title>
Query Metrics Collection Parameters
</title>
<body>
<body>
<p>
These parameters enable and configure query metrics collection. When enabled,
<p>
These parameters enable and configure query metrics collection. When enabled,
Greenplum
Greenplum Database saves metrics to shared memory during query execution. These
Database saves metrics to shared memory during query execution. These metrics are used by
metrics are used by Pivotal Greenplum Command Center, which is included with
Pivotal Greenplum Command Center, which is included with Pivotal's commercial version of
Pivotal's commercial version of Greenplum Database.
</p>
Greenplum Database.
</p>
<simpletable
id=
"query-metrics"
frame=
"none"
>
<simpletable
id=
"query-metrics"
frame=
"none"
>
<strow>
<strow>
<stentry>
<stentry>
...
...
gpdb-doc/dita/ref_guide/config_params/guc_config.ditamap
浏览文件 @
c37385ab
...
@@ -144,6 +144,7 @@
...
@@ -144,6 +144,7 @@
<topicref
href=
"guc-list.xml#gp_max_local_distributed_cache"
/>
<topicref
href=
"guc-list.xml#gp_max_local_distributed_cache"
/>
<topicref
href=
"guc-list.xml#gp_max_packet_size"
/>
<topicref
href=
"guc-list.xml#gp_max_packet_size"
/>
<topicref
href=
"guc-list.xml#gp_max_plan_size"
/>
<topicref
href=
"guc-list.xml#gp_max_plan_size"
/>
<topicref
href=
"guc-list.xml#gp_max_slices"
/>
<topicref
href=
"guc-list.xml#gp_motion_cost_per_row"
/>
<topicref
href=
"guc-list.xml#gp_motion_cost_per_row"
/>
<topicref
href=
"guc-list.xml#gp_num_contents_in_cluster"
/>
<topicref
href=
"guc-list.xml#gp_num_contents_in_cluster"
/>
<topicref
href=
"guc-list.xml#gp_recursive_cte_prototype"
/>
<topicref
href=
"guc-list.xml#gp_recursive_cte_prototype"
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录