Commit Graph

65 Commits

Author SHA1 Message Date
b62cc145a0 fix two bugs about ROWNUM:
1. ROWNUM behaves incorrect in the partition table
2. if there is aggregate function, ROWNUM can not be rewrite to LIMIT
2021-06-15 21:18:01 +08:00
1567043064 同步source code
日期: 12-26
    revision: ee5b054c
2020-12-28 22:19:21 +08:00
75835ebbdd Fix index visibility with HOT. 2020-12-18 17:27:54 +08:00
d66a0a3697 fix memory lead of opfusion, and fix performance deterioration problem. 2020-12-12 16:11:37 +08:00
ed198e6ccc Parallel query bugfix. 2020-12-11 16:29:46 +08:00
db55fa203c !466 MOT fixes and code cleanup
Merge pull request !466 from Vinoth Veeraraghavan/master
2020-12-11 15:14:35 +08:00
5abcb2feb0 fix no spill size problem in parallel hash mod 2020-12-09 10:30:58 +08:00
558d01d2e9 MOT fixes and code cleanup 2020-12-07 12:12:56 +08:00
381e9c5485 Parallel query for subplan/sublink. 2020-12-07 11:47:38 +08:00
8f0c2915f8 Parallel bitmap scan. 2020-12-07 11:46:41 +08:00
50e58ce57d !421 parallel index only scans support
Merge pull request !421 from chenxiaobin/parallelindexonlyscan
2020-12-07 10:33:35 +08:00
a44fe038b9 !445 parallel hash: increase hash buckets bug
Merge pull request !445 from 吴岳川/hash_bug
2020-12-07 10:32:54 +08:00
25bf9a13d4 !440 【openGauss】 unique_sql 增加sort&hash work_mem 信息监控
Merge pull request !440 from 宋清怡/master
2020-11-30 11:19:38 +08:00
d8e880ee40 MOT code cleanup 2020-11-30 10:26:27 +08:00
61c9feb253 MOT code cleanup 2020-11-30 10:19:18 +08:00
7b7870ed96 add sort&hash work_mem info collection info into get_instr_unique_sql() function 2020-11-28 11:22:19 +08:00
deec0bb6d6 Ensure proper alignment of tuples in HashMemoryChunkData buffers
pg commitid  5dc692f78d3
2020-11-28 09:08:55 +08:00
91064e7f9d parallel hash: increase hash buckets bug 2020-11-28 09:08:31 +08:00
f5acad12d6 paralllel hash: inner parallel 2020-11-25 12:23:58 +08:00
d29b23cf57 Revert "parallel hash: inner parallel"
This reverts commit 974b2312
2020-11-25 12:11:10 +08:00
439aca70f4 solve conficts 2020-11-24 21:07:48 +08:00
61414ba87d Merge branch 'master' of gitee.com:chenxiaobin19/openGauss-server into parallelindexonlyscan 2020-11-24 21:06:28 +08:00
974b231240 parallel hash: inner parallel 2020-11-24 14:19:05 +08:00
a36668e664 fix bugs of sqlbypass without refresh parameter for DML
We forbiden a custom plan with sqlbypass, which may not
refresh parameter for const parameter.
2020-11-22 22:53:31 +08:00
b2f882209a !385 parallel scan: explain analyze details
Merge pull request !385 from 吴岳川/master
2020-11-19 11:04:54 +08:00
c6889f5c15 parallel index only scans 2020-11-19 10:50:26 +08:00
57fd5794e5 Parallel create index(btree). 2020-11-13 16:57:32 +08:00
cef0933c9b Remove have_gather_plan_node. 2020-11-10 14:08:15 +08:00
dc2d43d530 parallel scan: explain analyze details 2020-11-09 09:41:32 +08:00
c45feed3e4 parallel index scans 2020-11-05 16:52:53 +08:00
ba75e829d5 !354 Fix bug of invalid username/password when "SET ROLE role_name PASSWORD 'passwd'" is used in loop.
Merge pull request !354 from Yuejia/master
2020-10-31 09:25:44 +08:00
fea70c2159 parallel append 2020-10-30 10:54:05 +08:00
syj
221307b897 Fix bug of invalid username/password when "SET ROLE role_name PASSWORD 'passwd'" is used in loop. 2020-10-30 09:41:10 +08:00
8d89b6c136 revert avoidance of bypass NULL char problem and rm a test 2020-10-28 19:28:11 +08:00
e3f3c33db7 Improve parallel query performance. 2020-10-22 17:07:32 +08:00
eb78adaebe !317 修复了关于rownum的4个bug
Merge pull request !317 from 周雄佳/davidzhou
2020-10-22 17:00:09 +08:00
dc80b79cc0 修复了关于rownum的4个bug。
1.最大值只有255,正常应该是无限大。
2.group by跟where rownum < n同时存在时,禁止将rownum优化成limit
3.groupy by后面没有rownum,而having后面有rownum时,会正常运行,正常应该报错。
4.union前后的子句如果有where rownum < n,并且还有含有order by的子查询时,禁止将order by优化删除掉。
2020-10-21 18:41:59 +08:00
a9287762d2 parallel search: hashjoin outer support 2020-10-16 10:29:16 +08:00
399a957141 !299 并行查询增强
Merge pull request !299 from TotaJ/feature/parallel2
2020-10-13 14:10:46 +08:00
e171752f13 MOT code cleanup 2020-10-12 18:03:03 +08:00
b84b4cc418 Fallback to normal case when dsm segment is full. Add on_dsm_detach. 2020-10-12 14:59:09 +08:00
0cac595ab6 Fix transaction state and combocid bug in parallel query. 2020-09-30 17:31:45 +08:00
05fd4c8470 Fix RETURNING core in fdw. 2020-09-29 16:08:50 +08:00
488ef7a22a nestedloop parallel search support 2020-09-28 16:05:35 +08:00
a201b8bf9a Bind numa node for parallel query. 2020-09-25 17:37:50 +08:00
5dfa9d8ed1 Parallel query, sequence scan. 2020-09-16 20:10:45 +08:00
90f7a96039 【bugfix】memory leak in PL/SQL 2020-09-09 16:37:21 +08:00
aa8a1715c3 fix partition bitmapand use btree with gin or gist
Signed-off-by: xiliu <xiliu_h@163.com>
2020-08-31 20:30:12 +08:00
777fc51353 fix codereview
Signed-off-by: xiliu <xiliu_h@163.com>
2020-08-29 16:11:10 +08:00
c040d78287 code for Global-Partition-Index feature
Signed-off-by: xiliu <xiliu_h@163.com>
2020-08-28 16:31:25 +08:00