Commit Graph

2219 Commits

Author SHA1 Message Date
f5ac7657ea improve performance of numeric's sign() 2022-08-06 14:57:12 +08:00
0c5e9903ce improve the performance of computing the square root of numeric.
before optimization:
openGauss=# explain analyse select sqrt(t0) from t_numeric limit 10000000;
                                                          QUERY PLAN
-------------------------------------------------------------------------------------------------------------------------------
 Limit  (cost=0.00..292129.20 rows=8468656 width=5) (actual time=4.152..170690.136 rows=8388608 loops=1)
   ->  Seq Scan on t_numeric  (cost=0.00..292129.20 rows=8468656 width=5) (actual time=4.150..169250.862 rows=8388608 loops=1)
 Total runtime: 171767.268 ms
(3 rows)

Time: 171768.179 ms

after optimization:
openGauss=#  explain analyse select sqrt(t0) from t_numeric limit 10000000;
                                                          QUERY PLAN
-------------------------------------------------------------------------------------------------------------------------------
 Limit  (cost=0.00..292129.20 rows=8468656 width=5) (actual time=3.850..129299.312 rows=8388608 loops=1)
   ->  Seq Scan on t_numeric  (cost=0.00..292129.20 rows=8468656 width=5) (actual time=3.848..127801.242 rows=8388608 loops=1)
 Total runtime: 130378.841 ms
(3 rows)

Time: 130379.709 ms
2022-08-04 14:25:23 +08:00
812f586beb Reduce memory allocation and deallocation to improve the computational performance of numeric digits.
before optimization:
openGauss=# explain analyse select sqrt(t0) from t_numeric limit 10000000;
                                                          QUERY PLAN

-------------------------------------------------------------------------------------------
------------------------------------
 Limit  (cost=0.00..197973.49 rows=8386919 width=5) (actual time=0.054..167434.766 rows=838
8608 loops=1)
   ->  Seq Scan on t_numeric  (cost=0.00..197973.49 rows=8386919 width=5) (actual time=0.05
3..166061.081 rows=8388608 loops=1)
 Total runtime: 168495.866 ms
(3 rows)

Time: 168499.243 ms

after optimization:
openGauss=# explain analyse select sqrt(t0) from t_numeric limit 10000000;
                                                          QUERY PLAN

-------------------------------------------------------------------------------------------
------------------------------------
 Limit  (cost=0.00..197973.49 rows=8386919 width=5) (actual time=0.045..151376.445 rows=838
8608 loops=1)
   ->  Seq Scan on t_numeric  (cost=0.00..197973.49 rows=8386919 width=5) (actual time=0.04
4..150108.807 rows=8388608 loops=1)
 Total runtime: 152469.050 ms
(3 rows)

Time: 152472.278 ms
2022-07-28 21:58:16 +08:00
fc5f028b22 allow infinity to timestamp 2022-07-26 10:12:36 +08:00
c034f1cfa7 解决issue -- 列存加唯一索引插100万数据慢问题 2022-07-23 14:47:31 +08:00
5bfcad6de3 !1962 修复行存向量化在创建物化视图时结果不正确的问题
Merge pull request !1962 from Cross-罗/matview
2022-07-22 08:25:22 +00:00
8577521efe 修复行存向量化在创建物化视图时结果不正确的问题 2022-07-22 15:03:24 +08:00
973f51c908 !1890 修复构造DN连接字符串的pgoption时,访问悬挂指针的问题
Merge pull request !1890 from jojo273565420/fix_dangling_pointer
2022-07-21 12:01:45 +00:00
07e1f275d3 !1911 issue修复:ignore在bypass场景下insert,当插入失败时回显错误问题修复
Merge pull request !1911 from zhangzhixian/fix_insert_fusion_echo_error
2022-07-21 02:22:48 +00:00
9da57fdf70 !1908 issue处理:ignore_hint在interval分区表中插入null值时,报error而不是warning
Merge pull request !1908 from zhangzhixian/issue_handling_for_interval_partition
2022-07-20 10:33:18 +00:00
19f5109c8d syn code for workload index advisor 2022-07-20 07:26:14 +08:00
ffae76f123 ignore_hint: issue handling for interval partition condition, which cannot report warning when inserting null value 2022-07-19 10:58:44 +08:00
bf7c37e879 !1946 修复创建订阅时指定的发布在对端不存在也能创建成功的问题
Merge pull request !1946 from 薛蒙恩/CheckPublicationsExistOnPublisher
2022-07-16 03:01:41 +00:00
62d8634a87 修复创建订阅时指定的发布在对端不存在也能创建成功的问题 2022-07-14 15:21:42 +08:00
a7c2493956 Fixes a minor leak in MOT masstree index 2022-07-14 10:04:28 +08:00
8198a77bda !1928 修复向量化引擎场景下,length结果不一致的问题
Merge pull request !1928 from pengjiong/array
2022-07-13 01:42:04 +00:00
dbee5bbbb0 Fix bpchar length in vec engine and codegen case. 2022-07-12 20:26:22 +08:00
44e3262d67 回合修改:bypass不支持interval分区表的提示信息优化 2022-07-12 19:01:40 +08:00
a038ba49eb Added/augmented functions: decode/regexp_count/regexp_instr/regexp_replace/regexp_subst 2022-07-10 16:17:58 +08:00
935e4b7731 !1672 exists子查询中存在limit const时可简化忽略
Merge pull request !1672 from 胡正超/subexists
2022-07-08 08:37:01 +00:00
b2fcd290b3 修复issue--配置非异步备库且使用全量检查点,主库gs_ctl stop失败 2022-07-06 20:17:14 +08:00
16c1373304 !1919 修复并行创建函数时同时成功
Merge pull request !1919 from 仲夏十三/dolphin
2022-07-06 03:51:34 +00:00
bfb3754eb9 修复并行创建函数同时成功 2022-07-05 19:42:48 +08:00
0d1218b6b3 issue_fix: bypass ignore insert echo error 2022-07-01 15:21:31 +08:00
8d18b3e3ed !1917 修复发布端订阅自己时阻塞无法取消的问题
Merge pull request !1917 from chenxiaobin/initial_data
2022-07-01 06:07:21 +00:00
33e8279799 !1736 Update regress test row_compression/twophase test output file
Merge pull request !1736 from Sun/update_twophase_case
2022-07-01 02:24:37 +00:00
1b7ba6bded fix subscribing subscriber itself could not be cancel 2022-06-30 21:57:54 +08:00
1e44cb5fbc Reserve 160kb where backup compressed file 2022-06-30 16:06:37 +08:00
6b90aeccb7 !1748 Modify the description information of asp_sample_interval
Merge pull request !1748 from LyndonYang/master
2022-06-30 03:45:55 +00:00
fc68ea5f96 Fix I57Q8F update regress test twophase's output to fix corner case scenarios 2022-06-29 18:50:00 +10:00
35e8ca8b98 !1905 issue修复: ignore hint在类型转换的场景下,插入错误值
Merge pull request !1905 from zhangzhixian/master
2022-06-29 08:49:02 +00:00
b3d35b77ae !1737 Updata regress test hw_cipher_sm4 output file for different gs_decrypt results
Merge pull request !1737 from Sun/update_case_hw_cipher_sm4
2022-06-29 06:51:37 +00:00
efa8450158 !1899 修复发布订阅若干问题
Merge pull request !1899 from chenxiaobin/initial_data
2022-06-29 02:31:50 +00:00
b020f439d6 !1731 fix 并发改config文件导致coredump
Merge pull request !1731 from wenkeyang_abab/concurrent_modify_conf_file_bug_fix
2022-06-29 01:42:10 +00:00
765a522de7 !1730 fix gstrace工具指定无效输出路径判断出错
Merge pull request !1730 from wenkeyang_abab/gstrace_fopen_fix
2022-06-29 01:35:41 +00:00
32e0667943 fix tablesync worker drops replication slot at publisher coredump 2022-06-28 22:05:17 +08:00
70d645eba6 修复issue #I5EI31:ignore hint在类型转换的场景下,插入错误值 2022-06-28 16:12:49 +08:00
6b524cdf5d 解决issue --- 关闭增量检查点,开启全页写,无负载情况下,create database花费25秒 2022-06-24 14:16:37 +08:00
0f955ee072 !1769 获取CPU使用情况的函数应该放在执行计时以外,以使explain analyze的结果更加合理,便于与PG进行性能分析对比
Merge pull request !1769 from cc_db_dev/master
2022-06-24 03:04:45 +00:00
c89a93b12b !1880 change function from defGetBoolean to parse_bool
Merge pull request !1880 from 吴岳川/master
2022-06-23 09:29:27 +00:00
cd0c6c41ca !1882 修复几处内存泄露问题
Merge pull request !1882 from pengjiong/array
2022-06-23 09:02:11 +00:00
b48e293aa4 !1628 发布所有表时,跳过不能被发布的表(非行存表)
Merge pull request !1628 from pengjiong/fix_col
2022-06-23 08:36:01 +00:00
0a60160483 Fix memleak. 2022-06-23 14:09:11 +08:00
150c2c04a4 !1815 修复主备连接正常的情况下用set方式设置会话级别synchronous_commit为on后却导致阻塞的问题
Merge pull request !1815 from 薛蒙恩/synczs
2022-06-23 03:36:43 +00:00
0d9e6adf43 !1884 修复订阅表基础数据复制线程重启后消息格式不完整的问题
Merge pull request !1884 from chenxiaobin/usesnapshot
2022-06-23 02:21:34 +00:00
c493be8520 !1878 1. 修复创建订阅时获取表信息失败导致发布端残留复制槽的问题 2. 修改alter subscription set支持copy_data参数的问题
Merge pull request !1878 from chenxiaobin/createslot
2022-06-23 02:20:06 +00:00
ea558fe889 !1874 修复删除订阅时逻辑复制槽不存在报错的问题
Merge pull request !1874 from chenxiaobin/initial_data
2022-06-23 01:53:38 +00:00
2e15bb43ec fix tablesync worker does not send csn after restart 2022-06-22 21:31:59 +08:00
c108d7d35b !1883 Fix #I5DL5V: Fix some known bugs of DBMind
Merge pull request !1883 from wangtq/master
2022-06-22 12:10:45 +00:00
5f1620f617 !1790 IGNORE关键字实现:server部分
Merge pull request !1790 from zhangzhixian/master
2022-06-22 09:36:50 +00:00