Commit Graph

3119 Commits

Author SHA1 Message Date
2dc0ed5940 !2039 移植pgfincore系列函数
Merge pull request !2039 from shenjunkun/master
2022-08-25 09:23:45 +00:00
9607d52392 去除HAVE_FINCORE宏 2022-08-25 15:11:30 +08:00
380d4899eb pgfincore格式修改 2022-08-24 22:24:55 +08:00
af9d20e8ef pgfincore代码修改v1 2022-08-24 18:05:24 +08:00
4f83bc8745 add aggSmpHook 2022-08-24 17:45:52 +08:00
90c9c23c57 !2064 禁止使用copy、alter的stmt作为rule的action
Merge pull request !2064 from 吴岳川/create_rule
2022-08-23 13:48:13 +00:00
70784acad8 !2059 修复type is table of在GBK环境下打印GBK字符乱码的问题
Merge pull request !2059 from pengjiong/fix_col
2022-08-23 12:38:14 +00:00
831d1fe85f !2070 修复非SMP场景下,full join不能重写为anti full join + left join的问题
Merge pull request !2070 from pengjiong/drop_ext
2022-08-23 12:38:13 +00:00
33a27a8ef1 !2006 issue#I5KOXV Fix zoneid leak when we set enable_ustore to on but never use ustore
Merge pull request !2006 from wangchunling/issue#I5KOXV
2022-08-23 12:19:25 +00:00
d63f47a3fc copy stmt or alter stmt in action is not allowed 2022-08-23 20:07:20 +08:00
fa71e08875 !2058 修复group by负数的core问题
Merge pull request !2058 from pengjiong/array
2022-08-23 12:05:35 +00:00
34e92b4a84 !2005 issue#I5KOL1 Use pthread_cond_timedwait instead of pthread_cond_wait to handle m_readySessionList when all workers are idle
Merge pull request !2005 from wangchunling/issue-#I5KOL1
2022-08-23 11:50:40 +00:00
9d9c6ce606 Fix full join rewrite. 2022-08-23 19:22:36 +08:00
f9f5eb3cf6 create table/index/function/procedure/funciton support 2022-08-23 19:00:09 +08:00
2afc1259c8 删除冗余代码 2022-08-23 14:42:56 +08:00
573423cac6 issue#I5KOL1 Use pthread_cond_timedwait instead of pthread_cond_wait to handle
m_readySessionList when all workers are idle
2022-08-23 13:27:51 +08:00
a4bdb7450b !1648 关于plpython fencedMode下的gs_basebackupbug
Merge pull request !1648 from nwen/master
2022-08-23 02:42:32 +00:00
e3aa6631d2 !2042 parallel decoding fix walsender lsn bug 回合社区
Merge pull request !2042 from 薛蒙恩/paralell_decode
2022-08-23 01:48:14 +00:00
6778359fce !2057 fix swcb qual push down join qual detection rule
Merge pull request !2057 from chenxiaobin/startwith
2022-08-22 12:28:31 +00:00
7f39807f24 !1985 修复SQL语句中同时出现窗口函数和子查询时因子查询被提升导致执行失败的问题
Merge pull request !1985 from april01xxx/first_value
2022-08-22 12:07:58 +00:00
29824103d7 Fix raise gbk bug. 2022-08-22 16:59:17 +08:00
b31804e0fa Fix group by negative value core. 2022-08-22 16:19:49 +08:00
41ff449bfd fix swcb qual push down join qual detection rule 2022-08-22 14:48:52 +08:00
f68dc049de 兼容mysql语法“label: loop” 2022-08-22 13:59:18 +08:00
2c221dae5a !2047 修复在线reindex无法重建不可用分区表索引
Merge pull request !2047 from 花花怪/master
2022-08-22 03:44:44 +00:00
4cacfb5f85 !2028 修复pg_trgm插件编译失败的问题
Merge pull request !2028 from zhangxubo/master_bugfix
2022-08-22 01:35:27 +00:00
7bc2e7b343 REINDEX CONCURRENTLY UNUSABLE INDEX 2022-08-19 12:18:46 +08:00
dc6a024dc0 !2045 【轻量级 PR】:update src/common/pl/plpgsql/src/pl_handler.cpp.
Merge pull request !2045 from Cross-罗/N/A
2022-08-19 04:00:56 +00:00
0b45b1ea56 improve the perfomance of numeric additon.
before optimization:
openGauss=# explain analyse select t0 + t1 from t_numeric limit 10000000;
                                                          QUERY PLAN
------------------------------------------------------------------------------------------------------------------------------
 Limit  (cost=0.00..197973.49 rows=8386919 width=10) (actual time=0.047..10172.644 rows=8388608 loops=1)
   ->  Seq Scan on t_numeric  (cost=0.00..197973.49 rows=8386919 width=10) (actual time=0.045..8940.675 rows=8388608 loops=1)
 Total runtime: 11190.911 ms
(3 rows)

Time: 11191.776 ms

after optimization:
openGauss=# explain analyse select t0 + t1 from t_numeric limit 10000000;
                                                          QUERY PLAN
------------------------------------------------------------------------------------------------------------------------------
 Limit  (cost=0.00..197973.49 rows=8386919 width=10) (actual time=0.047..9059.529 rows=8388608 loops=1)
   ->  Seq Scan on t_numeric  (cost=0.00..197973.49 rows=8386919 width=10) (actual time=0.044..7869.111 rows=8388608 loops=1)
 Total runtime: 10048.540 ms
(3 rows)

Time: 10049.401 ms
2022-08-19 09:46:22 +08:00
36a4c6248b improve the performance of numeric subtraction.
before optimization£º
openGauss=# explain analyse select t0 - t1 from t_numeric limit 10000000;
                                                          QUERY PLAN
------------------------------------------------------------------------------------------------------------------------------
 Limit  (cost=0.00..292129.20 rows=8468656 width=10) (actual time=4.688..11066.444 rows=8388608 loops=1)
   ->  Seq Scan on t_numeric  (cost=0.00..292129.20 rows=8468656 width=10) (actual time=4.686..9901.704 rows=8388608 loops=1)
 Total runtime: 12103.123 ms
(3 rows)

Time: 12106.419 ms

after optimization£º
openGauss=# explain analyse select t0 - t1 from t_numeric limit 10000000;
                                                          QUERY PLAN
------------------------------------------------------------------------------------------------------------------------------
 Limit  (cost=0.00..292129.20 rows=8468656 width=10) (actual time=4.182..9914.114 rows=8388608 loops=1)
   ->  Seq Scan on t_numeric  (cost=0.00..292129.20 rows=8468656 width=10) (actual time=4.180..8732.662 rows=8388608 loops=1)
 Total runtime: 10918.849 ms
(3 rows)

Time: 10919.690 ms
2022-08-19 09:40:35 +08:00
26f55f32a4 Supplement fastcheck cases for improve numeric computation. 2022-08-18 19:52:33 +08:00
f0f9570a08 update src/common/pl/plpgsql/src/pl_handler.cpp.
Signed-off-by: Cross-罗 <1165977584@qq.com>
2022-08-18 11:16:36 +00:00
5cc8be4749 parallel decoding fix walsender lsn bug
Signed-off-by: unknown <1836611252@qq.com>
2022-08-18 17:21:51 +08:00
1873195d3c 将pgfincore中的函数实现为openGauss内置SQL函数 2022-08-17 17:44:35 +08:00
d3bb2ec640 improve the performance of numeric Natural logarithm. 2022-08-17 17:15:02 +08:00
e94d589c4f !1999 小型化版本支持发布订阅
Merge pull request !1999 from zhangzhixian/lite_pub
2022-08-17 08:25:48 +00:00
86d96c5119 小型化版本支持发布订阅 2022-08-15 17:00:47 +08:00
3d018a7ed5 !2034 修复语法兼容插件下执行存储过程无法走自定义parser的问题
Merge pull request !2034 from chenxiaobin/plpgsql
2022-08-12 02:47:09 +00:00
3e849b966f 修复语法兼容插件下执行存储过程无法走自定义parser的问题 2022-08-12 09:56:03 +08:00
6c21de78b2 !2033 添加hashComputeHook
Merge pull request !2033 from 仲夏十三/upmain
2022-08-11 07:55:59 +00:00
c69474b03a add computeHashHook 2022-08-11 14:41:13 +08:00
0618e56b81 !1320 修复执行gs_basebackup期间最大可用模式无效的问题
Merge pull request !1320 from wenger/bug/basebackup_most_available_sync
2022-08-11 05:57:14 +00:00
d1eb812ebd !1521 修正SPI受自定义解析器影响而导致PL/pgSQL在启用自定义解析器时可能导致非逾期结果的问题
Merge pull request !1521 from bucoo/master
2022-08-11 03:09:59 +00:00
e6142bdba1 !1954 修复设置try_vector_engine_strategy参数为force后,查询目标列含系统表的查询出现coredump的问题
Merge pull request !1954 from 木匠钉子/chenze
2022-08-10 12:59:56 +00:00
4c6a66d0c4 fix coredump when select system domain type in vector mode 2022-08-10 16:58:54 +08:00
99ba43a0f1 更新gsql创建列加密密钥语法提示 2022-08-10 15:27:41 +08:00
83bf2a9b92 [优化]ECPG的Numeric性能优化提升 2022-08-10 15:24:42 +08:00
c95f4dc0ef !2023 删除publication.source用例中创建的发布
Merge pull request !2023 from chenxiaobin/recycle
2022-08-10 07:08:54 +00:00
7a8ae4b0e3 fix pg_trgm compile error 2022-08-10 11:42:01 +08:00
0700f29fe2 add support for FusionOS platform 2022-08-10 11:42:00 +08:00