Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
c8c09c07
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 搜索 >>
提交
c8c09c07
编写于
6月 19, 2020
作者:
D
David Yozie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Revert "Revert "docs - add content for new gp_resource_group_queuing_timeout guc (#9925)""
This reverts commit
79bc8640
.
上级
f1e43189
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
51 addition
and
2 deletion
+51
-2
gpdb-doc/dita/admin_guide/workload_mgmt_resgroups.xml
gpdb-doc/dita/admin_guide/workload_mgmt_resgroups.xml
+15
-2
gpdb-doc/dita/ref_guide/config_params/guc-list.xml
gpdb-doc/dita/ref_guide/config_params/guc-list.xml
+32
-0
gpdb-doc/dita/ref_guide/config_params/guc_category-list.xml
gpdb-doc/dita/ref_guide/config_params/guc_category-list.xml
+3
-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/admin_guide/workload_mgmt_resgroups.xml
浏览文件 @
c8c09c07
...
...
@@ -259,6 +259,12 @@
href=
"../ref_guide/config_params/guc-list.xml#gp_resource_group_bypass"
type=
"section"
scope=
"peer"
>
gp_resource_group_bypass
</xref></codeph>
to bypass a resource group
concurrency limit.
</p>
<p>
You can set the server configuration parameter
<codeph><xref
href=
"../ref_guide/config_params/guc-list.xml#gp_resource_group_queuing_timeout"
type=
"section"
scope=
"peer"
>
gp_resource_group_queuing_timeout
</xref></codeph>
to specify the
amount of time a transaction remains in the queue before Greenplum Database
cancels the transaction. The default timeout is zero, Greenplum queues
transactions indefinitely.
</p>
</body>
</topic>
<topic
id=
"topic833971717"
xml:lang=
"en"
>
...
...
@@ -852,7 +858,7 @@ gpstart
</body>
</topic>
<topic
id=
"topic_jlz_hzg_pkb"
>
<title>
Configuring Automatic Query Termination
</title>
<title>
Configuring Automatic Query Termination
Based on Memory Usage
</title>
<body>
<p>
When resource groups have a global shared memory pool, the server configuration parameter
<codeph><xref
...
...
@@ -1031,7 +1037,14 @@ gpstart
queue but has not yet been executed. Or, you may want to stop a running query that is
taking too long to execute, or one that is sitting idle in a transaction and taking up
resource group transaction slots that are needed by other users.
</p>
<p>
To cancel a running or queued transaction, you must first determine the process id (pid)
<p>
By default, transactions can remain queued in a resource group indefinitely.
If you want Greenplum Database to cancel a queued transaction after a
specific amount of time, set the server configuration parameter
<codeph><xref
href=
"../ref_guide/config_params/guc-list.xml#gp_resource_group_queuing_timeout"
type=
"section"
scope=
"peer"
>
gp_resource_group_queuing_timeout
</xref></codeph>
. When this
parameter is set to a value (milliseconds) greater than 0, Greenplum cancels
any queued transaction when it has waited longer than the configured timeout.
</p>
<p>
To manually cancel a running or queued transaction, you must first determine the process id (pid)
associated with the transaction. Once you have obtained the process id, you can invoke
<codeph>
pg_cancel_backend()
</codeph>
to end that process, as shown below.
</p>
<p>
For example, to view the process information associated with all statements currently
...
...
gpdb-doc/dita/ref_guide/config_params/guc-list.xml
浏览文件 @
c8c09c07
...
...
@@ -5144,6 +5144,38 @@
<codeph>
gp_resource_group_memory_limit
</codeph>
setting.
</p></note>
</body>
</topic>
<topic
id=
"gp_resource_group_queuing_timeout"
>
<title>
gp_resource_group_queuing_timeout
</title>
<body>
<note>
The
<codeph>
gp_resource_group_queuing_timeout
</codeph>
server configuration parameter
is enforced only when resource group-based resource management is active.
</note>
<p>
Cancel a transaction queued in a resource group that waits longer than the
specified number of milliseconds. The time limit applies separately to each
transaction. The default value is zero; transactions are queued indefinitely
and never time out.
</p>
<table
id=
"gp_resource_group_queuing_timeout_table"
>
<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 -
<codeph>
INT_MAX
</codeph>
millisecs
</entry>
<entry
colname=
"col2"
>
0 millisecs
</entry>
<entry
colname=
"col3"
>
master
<p>
system
</p><p>
session
</p><p>
reload
</p></entry>
</row>
</tbody>
</tgroup>
</table>
</body>
</topic>
<topic
id=
"gp_resource_manager"
>
<title>
gp_resource_manager
</title>
<body>
...
...
gpdb-doc/dita/ref_guide/config_params/guc_category-list.xml
浏览文件 @
c8c09c07
...
...
@@ -1247,6 +1247,9 @@
</p><p>
<xref
href=
"guc-list.xml#gp_resource_group_memory_limit"
type=
"section"
>
gp_resource_group_memory_limit
</xref>
</p><p>
<xref
href=
"guc-list.xml#gp_resource_group_queuing_timeout"
type=
"section"
>
gp_resource_group_queuing_timeout
</xref>
</p><p>
<xref
href=
"guc-list.xml#gp_resource_manager"
type=
"section"
>
gp_resource_manager
</xref>
...
...
gpdb-doc/dita/ref_guide/config_params/guc_config.ditamap
浏览文件 @
c8c09c07
...
...
@@ -142,6 +142,7 @@
<topicref
href=
"guc-list.xml#gp_resource_group_bypass"
/>
<topicref
href=
"guc-list.xml#gp_resource_group_cpu_limit"
/>
<topicref
href=
"guc-list.xml#gp_resource_group_memory_limit"
/>
<topicref
href=
"guc-list.xml#gp_resource_group_queuing_timeout"
/>
<topicref
href=
"guc-list.xml#gp_resource_manager"
/>
<topicref
href=
"guc-list.xml#gp_resqueue_memory_policy"
/>
<topicref
href=
"guc-list.xml#gp_resqueue_priority"
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录