Commit Graph

171 Commits

Author SHA1 Message Date
deec0bb6d6 Ensure proper alignment of tuples in HashMemoryChunkData buffers
pg commitid  5dc692f78d3
2020-11-28 09:08:55 +08:00
77ba9a2eb8 Remove unwanted leftover struct member to avoid compatability issues in the future 2020-11-26 16:35:15 +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
974b231240 parallel hash: inner parallel 2020-11-24 14:19:05 +08:00
661bbda2e8 add shared tuplestore 2020-11-24 11:07:49 +08:00
5c154b21b0 !426 fix high system load for reading clients with hot standby
Merge pull request !426 from LiHeng/dev
2020-11-23 18:37:03 +08:00
6dfb1d9a03 fix high system load for reading clients with hot standby 2020-11-22 22:58:29 +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
3a3759f6f2 !406 并行查询-并行创建索引(btree)
Merge pull request !406 from TotaJ/feature/parallel_create_index
2020-11-18 11:14:28 +08:00
424d8dc855 Minor code cleanup 2020-11-17 18:08:41 +08:00
4fc1e30ca9 add new way to archive xlog to local machine without invoking popen 2020-11-15 15:18:06 +08:00
57fd5794e5 Parallel create index(btree). 2020-11-13 16:57:32 +08:00
8433b003d9 !395 并行查询-并行merge join
Merge pull request !395 from TotaJ/feature/parallel_merge_join
2020-11-11 09:10:08 +08:00
f86dd8e455 Prerequisite for enabling cross-transaction support in MOT 2020-11-10 17:06:40 +08:00
35f6cc72a5 Parallel merge join. 2020-11-10 09:57:11 +08:00
d0e747e47c add some methods and fix some bugs for db4ai 2020-11-09 21:13:04 +08:00
a886daf329 add identify available zone command for cascade standby
We add a column for identify mode before for identify az, which not
compatible with distributed gaussdb. Therefore, we remove the added
column in identify mode, and add another command identify az to make
sure a cascade standby and its upstream both in same available zone.
2020-11-08 20:20:40 +08:00
c45feed3e4 parallel index scans 2020-11-05 16:52:53 +08:00
5b41afdb66 支持gs_guc配置同步备机时可以有8个备机 2020-11-04 14:24:53 +08:00
0ea95b4cfd Refactor MOT fetch checkpoint 2020-11-03 16:38:37 +08:00
bc0e59efb3 !362 fix standby node cannot be connected when startup, due to t_thrd.xact_cxt.ShmemVariableCache->recentGlobalXmin is invalid
Merge pull request !362 from xiong_xjun/master_1028
2020-11-02 09:08:46 +08:00
430de8b292 fix standby node cannot be connected when startup, due to t_thrd.xact_cxt.ShmemVariableCache->recentGlobalXmin is invalid 2020-10-31 18:02:05 +08:00
f295a72b65 support cascade standby
We support cascade standby now, a cascade standby will get WAL from
a standby asynchronously. To support flexible deployment, we add a
new GUC available_zone to identify the available zone of a cascade
standby, which will try to connect a standby in same available zone.

Users can use utility gs_ctl for failover and switchover. A cascade
standby will be promoted to be a standby when failover or switchover,
while a standby will be demoted to be a cascade standby after switchover.
2020-10-30 20:27:47 +08:00
0e1a19f81b !352 parallel append
Merge pull request !352 from gentle_hu/master
2020-10-30 11:35:14 +08:00
fea70c2159 parallel append 2020-10-30 10:54:05 +08:00
57f969b687 !344 add WAIT_EVENT_WAL_BUFFER_ACCESS and WAIT_EVENT_WAL_BUFFER_FULL wait event
Merge pull request !344 from xiong_xjun/master_1028
2020-10-29 09:22:01 +08:00
1c10569f00 !337 support plpython
Merge pull request !337 from JinLiOnline/master
2020-10-28 16:22:39 +08:00
9f522daf8f add WAIT_EVENT_WAL_BUFFER_ACCESS and WAIT_EVENT_WAL_BUFFER_FULL wait event 2020-10-28 14:49:29 +08:00
043eeab8da openGauss supports plpython 2020-10-27 12:40:05 +08:00
68b8b7e30e 统一为SYNC_REP_WAIT_APPLY 2020-10-26 21:22:12 +08:00
eecda4d9a0 !323 MOT infra and JIT fixes
Merge pull request !323 from Vinoth Veeraraghavan/master
2020-10-23 14:48:47 +08:00
44d8c983d6 1. Disable periodic statistics printing when no statistics were reported in the recent report interval
2. Fix regression in issue 88 (core dump in JIT after truncate table), and added missing index id copy in CloneJitContext()

    3. Added support for FULL-SCAN SELECT in JIT execution

    4. Added more JIT tests

    5. Clarified JIT statistiscs (separated invocation count from execution count)

    6. Added special JIT statistics for testing (outside of statistics infra)

    7. Fixed JIT plan explanation

    8. Added support for boolean operators in JIT expressions (in WHERE clause and UPDATE SET clause)

    9. Fixed JIT range scan bug: when filter execution fails execution branches to the wrong place (effect is missing check of end-of-scan flag that can lead to crash)

    10. Fixed JIT JOIN bug: resetting wrong scan-ended flag (effect is missing records in result set)

    11. Fix bug in JIT plan: Allow complex filter expressions in JIT plan (effect was simple queries were disqualified for JIT execution)
2020-10-22 18:33:22 +08:00
e3f3c33db7 Improve parallel query performance. 2020-10-22 17:07:32 +08:00
11d8884c04 new feature: index-advisor for single query. 2020-10-20 15:04:58 +08:00
7ba82481a4 !292 Failed to write trace buffer when buffer is big
Merge pull request !292 from jun/dev
2020-10-16 16:21:53 +08:00
9f91875e14 Add sharedfileset. 2020-10-13 17:38:11 +08:00
399a957141 !299 并行查询增强
Merge pull request !299 from TotaJ/feature/parallel2
2020-10-13 14:10:46 +08:00
561d9a66eb !298 MOT JIT and configuration fixes
Merge pull request !298 from Vinoth Veeraraghavan/master
2020-10-12 23:16:22 +08:00
cb88f5c4f7 !294 ROWNUM logical optimization
Merge pull request !294 from 德塔贝斯/dev-master
2020-10-12 23:13:03 +08:00
9eca2b56da MOT JIT and configuration fixes 2020-10-12 22:41:00 +08:00
0e4bc14121 ROWNUM logical optimization
1. rewrite ROWNUM qual to LIMIT if possible
2. rewrite ROWNUM qual to One-Time Filter if possible
3. support optimize ROWNUM operating with constant expressions
2020-10-12 20:00:15 +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
4dea7292eb 新增密码长度校验 2020-10-09 23:26:52 +08:00
653f29c6e5 !284 rewrite ROWNUM to LIMIT if possible
Merge pull request !284 from 周雄佳/master
2020-10-09 19:33:03 +08:00
d3f0f8295d fix invalid trace header issue 2020-10-09 19:00:12 +08:00
144fb21df5 some fixes for gstrace 2020-10-09 18:13:17 +08:00
0cac595ab6 Fix transaction state and combocid bug in parallel query. 2020-09-30 17:31:45 +08:00
27ee02c1f1 rewrite ROWNUM to LIMIT if possible 2020-09-30 16:34:13 +08:00