Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
5c5771d5
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,发现更多精彩内容 >>
提交
5c5771d5
编写于
5月 10, 2017
作者:
L
Larry Hamel
提交者:
Larry Hamel
5月 17, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
gpperfmon: Add behave test for row skew.
Signed-off-by:
N
Marbin Tan
<
mtan@pivotal.io
>
上级
13216bfd
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
12 addition
and
0 deletion
+12
-0
gpMgmt/test/behave/mgmt_utils/gpperfmon.feature
gpMgmt/test/behave/mgmt_utils/gpperfmon.feature
+12
-0
未找到文件。
gpMgmt/test/behave/mgmt_utils/gpperfmon.feature
浏览文件 @
5c5771d5
...
@@ -85,3 +85,15 @@ Feature: gpperfmon
...
@@ -85,3 +85,15 @@ Feature: gpperfmon
Given
gpperfmon is configured and running in qamode
Given
gpperfmon is configured and running in qamode
When
the user truncates
"diskspace_history"
tables in
"gpperfmon"
When
the user truncates
"diskspace_history"
tables in
"gpperfmon"
Then
wait until the results from boolean sql
"SELECT count(*) > 0 FROM diskspace_history"
is
"true"
Then
wait until the results from boolean sql
"SELECT count(*) > 0 FROM diskspace_history"
is
"true"
@gpperfmon_skew_rows
Scenario
:
gpperfmon detects row skew
Given
gpperfmon is configured and running in qamode
Given
database
"gptest"
is dropped and recreated
Given
the user runs
"psql gptest -c 'create table test_row_skew( id int, val int ) DISTRIBUTED BY ( id );'"
Then
psql should return a return code of 0
When
the user truncates
"queries_history"
tables in
"gpperfmon"
# 1 million skewed rows too few to detect skew, but 10M seems to let gpperfmon detect row skew. Why?
And
the user runs
"psql gptest -c 'INSERT INTO test_row_skew SELECT 1, i FROM generate_series(1,10000000) AS i;'"
Then
psql should return a return code of 0
Then
wait until the results from boolean sql
"SELECT count(*) > 0 FROM queries_history where skew_rows > 0"
is
"true"
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录