Commit Graph

2893 Commits

Author SHA1 Message Date
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
237c149924 !1771 openGauss支持在线reindex
Merge pull request !1771 from 花花怪/master
2022-08-10 03:07:31 +00:00
06fdb69443 drop publication on publication.source 2022-08-09 21:11:15 +08:00
87ff25d82b !2020 openGauss支持compress/setcompress
Merge pull request !2020 from 吴岳川/master
2022-08-09 12:46:42 +00:00
0735946ba3 !1970 CREATE DATABASE等三种语法兼容IF NOT EXISTS
Merge pull request !1970 from li_jianqiu/if_not_exists
2022-08-09 12:14:38 +00:00
c6ad885fa9 !2019 pg_regress支持通过dbcmpt选项来控制默认创建的数据库兼容模式
Merge pull request !2019 from pengjiong/array
2022-08-09 08:19:36 +00:00
9b1c78b622 code fix 8_01 2022-08-09 14:57:20 +08:00
4cc4f74a8a !1944 修复gstrace_infra.cpp中函数名misspelling
Merge pull request !1944 from Haolan/fix_func_misspelling
2022-08-09 01:12:18 +00:00
57c6c17dd8 column table: set compress/nocompress support 2022-08-08 20:30:33 +08:00
6306c66888 !1996 修复gprc锁初始化的bug
Merge pull request !1996 from 胡正超/lwlockinit
2022-08-08 11:19:04 +00:00
190eb0cc98 pg_regress support set dbcmpt. 2022-08-08 17:48:24 +08:00
0db8c653c1 !2000 创建订阅时跳过回收站表
Merge pull request !2000 from chenxiaobin/recycle
2022-08-08 06:21:13 +00:00
8134c7e806 !1986 修改问题: 初始化后,系统表pg_proc的provariadic为无效值
Merge pull request !1986 from 胡正超/procva
2022-08-08 03:22:44 +00:00
988313ce34 !1987 grant revoke时必须一次全部成功
Merge pull request !1987 from 胡正超/priv
2022-08-08 02:05:58 +00:00
038d63d6c1 !2017 禁止smp下的rownum
Merge pull request !2017 from junhangis/junhangis/smp
2022-08-07 00:53:07 +00:00
a923d559da !2012 提升numeric ceil运算的速度
Merge pull request !2012 from junhangis/junhangis/performance/numeric_ceil
2022-08-07 00:47:11 +00:00
520bf3d71d !2013 提升numeric floor的计算性能
Merge pull request !2013 from junhangis/junhangis/performance/numeric_floor
2022-08-07 00:46:45 +00:00
03378a726e !2016 SQL结束时清理线程池中的database OID
Merge pull request !2016 from junhangis/junhangis/threadpool
2022-08-07 00:46:17 +00:00
87a97c2545 !2018 需要处理特殊值0.0
Merge pull request !2018 from junhangis/junhangis/performance/numeric_bug
2022-08-07 00:44:35 +00:00
ff661a8742 !1940 建表时使用not null约束
Merge pull request !1940 from zhoubin/create_table_not_null
2022-08-07 00:32:29 +00:00
c1f52afbb6 Rownum can not be shipped 2022-08-07 04:07:03 +08:00
c9f64d8350 improve the performance of numeric's floor() 2022-08-07 02:05:28 +08:00
b9ee4ea543 improve the performance of numeric's ceil() 2022-08-07 01:55:49 +08:00
a4aa854578 fix a bug when numeric is 0.0 2022-08-07 01:40:06 +08:00
00a1769c17 reset database oid at end of SQL task 2022-08-06 23:20:44 +08:00