Commit Graph

150 Commits

Author SHA1 Message Date
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
cb0b0f2e67 add option of waiting when standby catchup 2020-09-30 10:00:40 +08:00
8b1aaa44a4 !273 共享缓冲区淘汰算法优化
Merge pull request !273 from jun/dev_ca1cb4cb_1
2020-09-28 23:04:16 +08:00
ce818e6fcc !270 gs_probackup功能添加
Merge pull request !270 from yukai_k/master
2020-09-28 23:03:53 +08:00
324fa01242 smart buffer pool 2020-09-28 22:25:13 +08:00
2ae90496e7 !266 nestedloop parallel search support
Merge pull request !266 from 吴岳川/master
2020-09-28 20:49:57 +08:00
12ed218eb0 gs_probackup 功能添加 2020-09-28 19:18:06 +08:00
488ef7a22a nestedloop parallel search support 2020-09-28 16:05:35 +08:00
6b4954f66f exetreme RTO 2020-09-28 15:58:38 +08:00
e163fb87f6 !254 Fixed the problem that cannot stop the standby node.
Merge pull request !254 from Cross-罗/master
2020-09-28 09:46:11 +08:00
1e0e44322f 2020-09-27 16:53:58 +08:00
a201b8bf9a Bind numa node for parallel query. 2020-09-25 17:37:50 +08:00
2c6fb8dc60 fix free csn 2020-09-25 09:43:49 +08:00
9e9b6b0321 !234 【openGauss】Add pldebugger feature
Merge pull request !234 from 宋清怡/master
2020-09-18 21:01:02 +08:00
76e7255dab Add pldebugger feature 2020-09-18 17:54:16 +08:00
fca375d920 !231 Fix compile warning.
Merge pull request !231 from TotaJ/feature/parallel
2020-09-17 20:31:31 +08:00
e8606ec86d Fix complie warning. 2020-09-17 20:03:06 +08:00
4f55b47ecc !229 fix deadlock in autonomous transaction
Merge pull request !229 from scarbor_fair/master
2020-09-17 19:13:27 +08:00
7c7e354931 fix gtt session issue 2020-09-17 15:01:04 +08:00
c3673e64ca fix deadlock 2020-09-17 14:05:31 +08:00
5dfa9d8ed1 Parallel query, sequence scan. 2020-09-16 20:10:45 +08:00
a398849ff1 !218 将物理复制槽的名字的最大长度从62改为63,跟pg保持一致。
Merge pull request !218 from 周雄佳/master
2020-09-16 14:16:09 +08:00