Commit Graph

2658 Commits

Author SHA1 Message Date
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
761f32abf2 !1971 修复timestamp不支持infinity的问题
Merge pull request !1971 from Cross-罗/to_timestamp
2022-07-26 03:57:42 +00:00
fc5f028b22 allow infinity to timestamp 2022-07-26 10:12:36 +08:00
b08bcca779 !1965 解决issue--列存加唯一索引插100万数据慢问题
Merge pull request !1965 from zhaobingyu/master
2022-07-23 07:47:25 +00: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
6f89062192 !1955 智能索引推荐更新
Merge pull request !1955 from guoguozhenhaowan/syn_code
2022-07-20 07:20:07 +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
3c2478f77d !1951 【轻量级 PR】:小型化版本不支持postgres_fdw,无需打包相关sql/control文件
Merge pull request !1951 from pengjiong/N/A
2022-07-16 06:12:39 +00:00
bf7c37e879 !1946 修复创建订阅时指定的发布在对端不存在也能创建成功的问题
Merge pull request !1946 from 薛蒙恩/CheckPublicationsExistOnPublisher
2022-07-16 03:01:41 +00:00
67d0f68f14 temp 2022-07-15 09:56:55 +00:00
62d8634a87 修复创建订阅时指定的发布在对端不存在也能创建成功的问题 2022-07-14 15:21:42 +08:00
c68c1f493c !1943 Fixes a minor leak in MOT masstree index
Merge pull request !1943 from Vinoth Veeraraghavan/master
2022-07-14 03:05:58 +00: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
73ba974a9e !1937 【代码回合】interval分区不支持sqlbypass回显适配
Merge pull request !1937 from zhangzhixian/master
2022-07-12 13:01: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
6ce004b9f3 !1932 增加regexp相关兼容性函数,增加decode兼容性
Merge pull request !1932 from 邓旭玥/compatiability
2022-07-12 03:25:45 +00:00
a038ba49eb Added/augmented functions: decode/regexp_count/regexp_instr/regexp_replace/regexp_subst 2022-07-10 16:17:58 +08:00
f65486ba95 !1901 修复FDW const、param等不能下推的bug
Merge pull request !1901 from 胡正超/fdwbug
2022-07-08 08:38:28 +00:00
935e4b7731 !1672 exists子查询中存在limit const时可简化忽略
Merge pull request !1672 from 胡正超/subexists
2022-07-08 08:37:01 +00:00
4e8ddfc2cf !1921 修复issue--配置非异步备库且使用全量检查点,主库gs_ctl stop失败
Merge pull request !1921 from zhaobingyu/master
2022-07-07 02:08:15 +00:00
b2fcd290b3 修复issue--配置非异步备库且使用全量检查点,主库gs_ctl stop失败 2022-07-06 20:17:14 +08:00
5c0ac944d9 !1909 修复alter procedure语法说明文件后缀名
Merge pull request !1909 from 仲夏十三/helper2
2022-07-06 03:52:31 +00: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
dcb4c426f0 !1916 【轻量级 PR】:update simpleInstall/finance.sql.
Merge pull request !1916 from 陈栋/N/A
2022-06-30 12:27:01 +00:00
786619fb6c update simpleInstall/finance.sql. 2022-06-30 11:50:30 +00:00
96b542fd20 !1912 Reserve 160kb where backup compressed file
Merge pull request !1912 from 吴岳川/backup
2022-06-30 09:04:59 +00: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
12310d19ce fix alter_procedure helper 2022-06-29 16:33:44 +08: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