Commit Graph

208 Commits

Author SHA1 Message Date
eafbe95560 修复mysql协议下多命令结果错误问题
(cherry picked commit from <gitee.com//opengauss/openGauss-server/commit/e6fa13aeb06d42eab7a3664356d3ab656a2c4fcd>
2024-10-31 02:39:09 +00:00
6f1014f4a6 修复开启备机写转发,insert into分区表在主机侧等锁超时的问题 2024-09-03 16:34:50 +08:00
0200edd35f !5940 修复多个session间隔执行select for update wait X sec,等待的预期时间不一致的问题
Merge pull request !5940 from cchen676/240710master
2024-08-05 09:11:11 +00:00
b38e88881b !5941 修复undo file找不到的问题
Merge pull request !5941 from Mijamind/0728
2024-08-04 06:34:17 +00:00
23ebfe050a 1.修复undofile找不到的问题
2.UndoScanDescData
3.修复memcheck模式memory leak
2024-08-04 11:34:57 +08:00
77d964c85c 修复多个session间隔执行select for update wait X sec,等待的预期时间不一致的问题 2024-08-02 19:31:11 +08:00
d4603ba725 !5898 修复B库并行逻辑解码的core问题
Merge pull request !5898 from chenxiaobin/fixbparalleldecode
2024-07-30 08:15:45 +00:00
aa98836587 修复B库并行逻辑解码的core问题 2024-07-30 12:00:11 +08:00
1019d31b14 jdbc支持全链路追踪 2024-07-29 18:59:54 +08:00
2afbe6fb56 support smp for functionscan with cursor arg 2024-07-17 16:29:05 +08:00
83a98c06f5 support cursor expression 2024-06-27 15:08:08 +08:00
22dff78e78 修复包含ddl的存储过程在备机写转发特性中没有响应的问题 2024-06-27 14:05:57 +08:00
5b779f6fef 删除InitAGESqlPluginHookIfNeeded 2024-06-27 14:05:56 +08:00
b186cd1555 Allow plan cache result type to revalidate on the fly
Usually, when a relation gets changed by a DB user, an invalidation
message is sent to the shared context. Plancache will revalidate
this behavior multiple times during the execution so that if the
base relation changes, the cached plan will be updated accordingly.

However, Postgres does not allow the resulting attributes to change
because changing the query's result on the fly requires extra hand-
ling on the user application, which is out of the DB kernel's
control. Also, it will generate unwanted behavior in a concurrent
transactional application.

Due to the user's heavy request, we are allowing this in this patch
and introduced a new POSTMASTER GUC to control this behavior. This
GUC is a POSTMASTER type because the result-checking behavior is a
flag (i.e., an intrinsic attribute) of the plan cache, initially
only for transactional statements. We need to ensure that when the
user changes the GUC, no plan cache is working at the time.
2024-06-27 14:05:52 +08:00
60eca894b8 IUDS性能优化 2024-06-27 14:05:52 +08:00
4e9a5b43ba 【issue I961B8 】AGE hook不被用户正确加载导致经常性的数据不完整修改 2024-06-27 14:05:48 +08:00
3fa4361f63 处理issue:循环依赖编译死锁问题 2024-06-27 14:05:48 +08:00
4e1310f00a 修复3.1.0升级到6.0.0失败的问题 2024-06-27 14:05:48 +08:00
04d38aebcf 【bugfix】修复bug_remote_execute 2024-03-18 20:54:49 +08:00
98544ec6c2 !4793 修复: prepare 结合@变量 导致的计划缓存问题
Merge pull request !4793 from chenbd/fix_mas_prepare
2024-03-12 12:45:16 +00:00
daedfe9e2f !4736 解决interval分区表并发插入时自增重复范围分区的问题。(在消费无效消息后,本地缓存中relation的信息不是最新)
Merge pull request !4736 from playrest/master-commit-1
2024-03-12 09:20:37 +00:00
2ef5b54687 解决interval分区表并发插入时自增重复范围分区的问题。(在消费无效消息后,本地缓存中relation的信息不是最新)
当第一次打开分区relation时,不在缓存中需要build,build过程中获取了分区信息后,收到并处理其他会话自增分区的无效消息,
处理无效消息时,发现缓存中没有,则不做任何处理,最终导致生成的realtion中不包含新增的分区,但是无效消息却消费了,
最后通过relation->partMap判断分区不存在,自增分区,出现重复范围的分区。
推理可得,在处理无效消息时,realtion已存在缓存中,并且已打开过,在rebuild的时候存在同样的问题,在嵌套rebuild中,
内层消费无效消息并获取最新元信息,最终会被最外层的rebuild的relation覆盖。
2024-02-21 18:55:14 +08:00
078cd82511 Fix auotvacuum worker load plugin bug. 2024-02-21 16:28:14 +08:00
3d8d5e66cc Fix loadsqlplugin lead CurrentResourceOwner to null. 2024-02-19 14:07:19 +08:00
c428477bf4 LoadSqlPlugin should be called after mask_password_mem_cxt is created. 2024-02-17 11:05:21 +08:00
f76c79cf69 fix prepare @var b bug 2024-01-31 17:59:39 +08:00
de25890e12 【资源池化】SPQ修复nodename配置错误数据重复问题 2024-01-16 20:52:40 +08:00
d9e268df5a !4721 【资源池化】SPQ支持Direct Read特性
Merge pull request !4721 from 阙鸣健/spq_0110
2024-01-11 03:12:16 +00:00
b68fd12170 【资源池化】SPQ支持Direct Read特性 2024-01-10 10:44:30 +08:00
b2839da518 【资源池化】多机并行DML性能优化 2024-01-09 15:15:19 +08:00
50baaf30c5 Fix user var bug in plsql. 2024-01-04 21:36:01 +08:00
34a53b7b54 修复内存泄漏 2023-12-28 11:47:40 +08:00
1fadbd7dd5 【资源池化】SPQ添加remoteQuery阶段libcomm端口获取逻辑 2023-12-18 16:28:02 +08:00
3f9dc22eed 【资源池化】SPQ优化stream/printtup数据传输效率 2023-12-12 11:42:08 +08:00
186f87ea74 【资源池化】SPQ bugfix
1.修复当gaussdb被kill时 协调线程的释放逻辑
2.修复#I8MQKM
2023-12-08 15:51:09 +08:00
221fa776b4 【资源池化】修复SPQ主备数据不一致问题,发送快照相关信息 2023-12-05 09:26:30 +08:00
97655a8387 【资源池化】spq修复PBE y报文场景处理逻辑 2023-12-01 14:17:12 +08:00
861afd3bec !4367 @变量递归调用
Merge pull request !4367 from 暖阳/var1
2023-11-21 02:36:23 +00:00
edec1b6edd 【资源池化】SPQ问题修复
1.TPC-DS Q45报"spq try build dual channel forward direction failed"问题,补充遍历subplan
2.复杂查询语句+cancel DB coredump问题解决
2023-11-17 16:26:55 +08:00
8cbad5af1d 【资源池化】多机并行bugfix
1.开启协调线程场景TPC-DS Q14\Q65 coredump修复,协调线程数组max更新
2.修复通过jdbc连接数据库执行分区表+union查询报错问题
2023-11-17 09:03:40 +08:00
c4b1d24d37 @variable 递归调用 2023-11-15 23:01:46 -08:00
fad3b49a26 !4346 代码中PG_TRY块中有return语句,会导致stack-buffer-underflow问题
Merge pull request !4346 from gbzhangkai/kai_231025_1
2023-11-09 07:31:21 +00:00
ccdbdaa088 Fix initdb with B db bug. 2023-11-07 14:58:19 +08:00
0ae44b85cd improve time_record perfmance in openEuler 22.03 2023-10-31 19:29:37 +08:00
c3894e3844 代码中PG_TRY块中有return语句,会导致stack-buffer-underflow问题 2023-10-25 16:46:34 +08:00
fb4dc850bc 1.多机并行支持协调线程自适应扫描
2.libcomm初始化仅在spqplugin加载且是资源池化场景时打开
3.string_agg bugfix
4.新增对应spqscan是否多dop的计算
2023-10-23 22:28:11 +08:00
ea7ff3627b openGauss资源池化支持多机并行 2023-10-12 18:39:23 +08:00
766a2b9a54 Fix load dolphin bug when upgrade in lite-mode. 2023-09-25 15:27:04 +08:00
bd4dd160b8 同步极致RTO支持备机读问题修复
Offering: openGaussDev
More detail:同步极致RTO支持备机读问题修复
2023-09-21 16:07:15 +08:00
fedcde61f3 fix problems of RTO STANDBY READ
Offering: openGaussDevMore
detail: fix problems of RTO STANDBY READ
2023-09-18 10:26:01 +08:00