Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
2f8978aa
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 搜索 >>
提交
2f8978aa
编写于
4月 16, 2018
作者:
M
Mel Kiyama
提交者:
David Yozie
4月 16, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs: add guc gp_max_slices (#4861)
backport of
https://github.com/greenplum-db/gpdb/pull/4854
上级
9bffd421
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
55 addition
and
3 deletion
+55
-3
gpdb-doc/dita/ref_guide/config_params/guc-list.xml
gpdb-doc/dita/ref_guide/config_params/guc-list.xml
+41
-3
gpdb-doc/dita/ref_guide/config_params/guc_category-list.xml
gpdb-doc/dita/ref_guide/config_params/guc_category-list.xml
+13
-0
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
浏览文件 @
2f8978aa
...
...
@@ -383,6 +383,8 @@
<li>
<xref
href=
"#gp_max_plan_size"
/>
</li>
<li>
<xref
href=
"#gp_max_slices"
/></li>
<li>
<xref
href=
"#gp_max_tablespaces"
/>
</li>
...
...
@@ -4750,6 +4752,41 @@
</table>
</body>
</topic>
<topic
id=
"gp_max_slices"
>
<title>
gp_max_slices
</title>
<body>
<p>
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_max_tablespaces"
>
<title>
gp_max_tablespaces
</title>
<body>
...
...
@@ -5034,9 +5071,10 @@
mirrors on
<codeph>
seghost1
</codeph>
fail over to become primary segments, each of the
original 4 primaries retain their memory allotment of
<codeph>
0.175
</codeph>
, and the two
new primary segments are each allotted
<codeph>
(0.7 / 6 = 0.116%)
</codeph>
of system
memory.
<codeph>
seghost1
</codeph>
's overall memory allocation in this scenario
is
</p><p><codeblock>
0.7 + (0.116 * 2) = 0.932%
</codeblock></p>
memory.
<codeph>
seghost1
</codeph>
's overall memory allocation in this scenario is
</p><p>
<codeblock>
0.7 + (0.116 * 2) = 0.932%
</codeblock>
</p>
<p>
which is above the percentage configured in the
<codeph>
gp_resource_group_memory_limit
</codeph>
setting.
</p></note>
</body>
...
...
gpdb-doc/dita/ref_guide/config_params/guc_category-list.xml
浏览文件 @
2f8978aa
...
...
@@ -686,6 +686,19 @@
</simpletable>
</body>
</topic>
<topic
id=
"topic_qtf_qth_ndb"
>
<title>
Query Plan Execution
</title>
<body>
<p>
Control the query plan execution.
</p>
<simpletable
frame=
"none"
id=
"simpletable_rtf_qth_ndb"
>
<strow>
<stentry>
<p><xref
href=
"guc-list.xml#gp_max_slices"
>
gp_max_slices
</xref></p>
</stentry>
</strow>
</simpletable>
</body>
</topic>
</topic>
<topic
id=
"topic29"
xml:lang=
"en"
>
<title
id=
"kh155046"
>
Error Reporting and Logging Parameters
</title>
...
...
gpdb-doc/dita/ref_guide/config_params/guc_config.ditamap
浏览文件 @
2f8978aa
...
...
@@ -130,6 +130,7 @@
<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_plan_size"
/>
<topicref
href=
"guc-list.xml#gp_max_slices"
/>
<topicref
href=
"guc-list.xml#gp_max_tablespaces"
/>
<topicref
href=
"guc-list.xml#gp_motion_cost_per_row"
/>
<topicref
href=
"guc-list.xml#gp_num_contents_in_cluster"
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录