Commit Graph

2893 Commits

Author SHA1 Message Date
8ec5d33e36 !2009 提升numeric sign运算的性能
Merge pull request !2009 from junhangis/junhangis/performance/numeric_sign
2022-08-06 14:16:06 +00:00
2a61437020 create table not null 2022-08-06 17:58:58 +08:00
68dc2cab5e !1922 为了从oracle迁移后用户名不发生变化,用户名支持井号
Merge pull request !1922 from zzy/master
2022-08-06 09:08:15 +00:00
19640bc38b !2010 提升libpq中numeric的计算性能
Merge pull request !2010 from junhangis/junhangis/performance/libpg_numeric
2022-08-06 08:54:25 +00:00
eb08ec963b !1974 提升事务中now()重复计算的性能
Merge pull request !1974 from junhangis/junhangis/performance/time_cache
2022-08-06 08:36:40 +00:00
892b0e52a8 !1973 提升numeric数据的导出性能
Merge pull request !1973 from junhangis/junhangis/performance/numeric_copy_to
2022-08-06 08:31:19 +00:00
f5ac7657ea improve performance of numeric's sign() 2022-08-06 14:57:12 +08:00
e5fbbc3dbd !2011 修复“memcheck版本无法执行fastcheck_single”问题
Merge pull request !2011 from 邓旭玥/efix_memcheck
2022-08-06 06:00:03 +00:00
50b37b3f80 !1981 提升numeric ln运算的速度
Merge pull request !1981 from junhangis/junhangis/performance/numeric_ceil_floor_ln
2022-08-06 03:43:35 +00:00
14b3d3ff95 !1980 提升numeric求根运算的性能
Merge pull request !1980 from junhangis/junhangis/performance/numeric_sqrt
2022-08-06 03:43:15 +00:00
de7593dcc2 !1931 新特性:gs_probackup备份支持zstd压缩算法
Merge pull request !1931 from Rongger/zstd
2022-08-06 03:03:28 +00:00
e8cbbffa09 support number signs in user name. 2022-08-05 19:45:51 +08:00
d02e184177 improve the performance of numerics copy.
before optimization:
openGauss=#  copy t_numeric to '/home/xiewp/t_numeric.csv';
COPY 8388608
Time: 41913.922 ms

after optimization:
openGauss=# copy t_numeric to '/home/xiewp/t_numeric.csv';
COPY 8388608
Time: 34770.376 ms
2022-08-05 19:27:35 +08:00
41000e0be3 improve the performance of now()£¬current_time, current_date, etc.
CREATE or replace PROCEDURE t_now(num integer)
AS
DECLARE
n numeric :=0;
curtime timestamp;
BEGIN
  LOOP
  n := n + 1;
  curtime := now();
  EXIT WHEN n > num;
  END LOOP;
END;
/

before optimization:
openGauss=# call t_now(1000000);
t_now
-------

(1 row)

Time: 4714.785 ms

after optimization:
openGauss=# call t_now(1000000);
t_now
-------

(1 row)

Time: 4575.570 ms
2022-08-05 17:42:14 +08:00
c2a2477824 skip recycle relation when subscribe 2022-08-05 17:22:48 +08:00
93e27361c9 Merge branch 'master' of https://gitee.com/opengauss/openGauss-server into zstd 2022-08-05 17:00:57 +08:00
ed0032e00d !1754 delta table支持autovacuum自动迁移至main table
Merge pull request !1754 from 陈栋/delta
2022-08-05 08:13:11 +00:00
625352bb86 !1964 修复pgstatuple 编译错误
Merge pull request !1964 from 林科旭/pgstattuple
2022-08-05 07:57:23 +00:00
99c3c132e7 !1963 oid2name编译错误
Merge pull request !1963 from 林科旭/master
2022-08-05 07:57:14 +00:00
6dfbe65c50 !2004 【轻量级 PR】:修复增量build时实际发生全量build的缺陷
Merge pull request !2004 from wenger/N/A
2022-08-05 06:57:30 +00:00
14630bed99 !1930 新特性:gs_probackup备份支持lz4压缩算法
Merge pull request !1930 from Rongger/lz4
2022-08-05 06:46:17 +00:00
98c510c1e8 improve the performance of numeric's ln(). 2022-08-05 09:34:12 +08:00
955c8b4383 update src/common/backend/regex/regexec.cpp.
return not matched if start point falls beyond the string
2022-08-04 12:30:22 +00:00
c5b915a5e6 REINDEX CONCURRENTLY 2022-08-04 20:22:04 +08:00
111ff9efc3 !1976 提升numeric计算时的性能
Merge pull request !1976 from junhangis/junhangis/performance/numeric_memory
2022-08-04 11:27:32 +00:00
60fb34cda5 improve the performance of numerics in libpq 2022-08-04 19:18:15 +08:00
23d47df07a new feature: gs_probackup support zstd compress algrithom 2022-08-04 17:34:49 +08:00
2f18ea2eeb new feature: add lz4 compress algrithom to gs_probackup 2022-08-04 17:25:32 +08:00
eba03b35d6 !1929 解决gs_probackup备份时间长于10分钟必现失败的问题
Merge pull request !1929 from Rongger/bugfix-10min
2022-08-04 08:30:58 +00:00
6992527eb1 oid2name build err! 2022-08-04 16:30:58 +08:00
6ed0160d8c issue#I5KOXV Fix zoneid leak when we set enable_ustore to on but never use ustore 2022-08-04 15:23:46 +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
c56da72935 修复增量build时实际发生全量build的缺陷
增量build时,会计算源端与目标端的差异,此处没有对目标端文件大小进行赋值(即oldsize)变量,oldsize默认为0,这导致实际发生了全量build
2022-08-04 05:13:59 +00:00
8d4c1c3259 !1956 MOT code alignment with masstree 3rd party changes
Merge pull request !1956 from Vinoth Veeraraghavan/master
2022-08-03 13:42:08 +00:00
aa137b0064 修复slot_name包含特殊字符报错信息不正确问题 2022-08-03 20:02:37 +08:00
3ce6b6594c !1989 issue修复:ignore处理json与jsonb类型时,类型零值修正
Merge pull request !1989 from zhangzhixian/issue_fix_json_default
2022-08-03 10:07:01 +00:00
646de4fa52 !1977 issue修复:ignore插入时,插入值类型与目标类型无转换规则时,无法按目标类型的默认零值插入的问题修复
Merge pull request !1977 from zhangzhixian/issue_fix_I5IBOV
2022-08-03 10:05:58 +00:00
7fb3136528 !1923 CREATE VIEW 和 ALTER VIEW支持通过DEFINER选项指定视图的属主
Merge pull request !1923 from Cross-罗/definer
2022-08-03 06:36:12 +00:00
761fee37b8 CREATE VIEW和ALTER VIEW支持DEFINER 2022-08-03 11:38:44 +08:00
ea53267931 !1995 修复enable_global_syscache为off时连接B兼容性数据库的core问题
Merge pull request !1995 from chenxiaobin/egs
2022-08-02 11:27:51 +00:00
274f27348e !1997 修复to_timestamp函数报错信息有误的问题
Merge pull request !1997 from Cross-罗/to_timestamp
2022-08-02 11:25:32 +00:00
9aa4caff4f to_timestamp报错信息修复 2022-08-02 11:38:02 +08:00
07bf9b5a74 fix the bug of grpc lock initialization 2022-08-02 10:59:01 +08:00
0e6a31d358 fix connecting to b-dbcompatility database core dump when enable_global_syscache is off. 2022-08-02 09:48:14 +08:00
c5946bc1fe CREATE DATABASE等三种语法兼容IF NOT EXISTS 2022-08-01 17:18:39 +08:00
4c4dc36c80 !1993 修复复制槽名称长度为64,65时提示创建复制槽成功但是复制槽不存在的偶现问题
Merge pull request !1993 from 薛蒙恩/logicalslots
2022-08-01 06:37:39 +00:00
cd6341bbc2 !1881 mysql comment support: create table(column)/index comments
Merge pull request !1881 from 吴岳川/comment
2022-08-01 03:39:12 +00:00
33faa1a8ce 修复复制槽名称长度为64,65时提示创建复制槽成功但是复制槽不存在的偶现问题 2022-07-30 18:06:42 +08:00
6905965a0a do not support grant or revoke partial privilege in privilege list 2022-07-30 15:51:37 +08:00
451ed9c59e !1988 修复gtt文件宕机残留的问题
Merge pull request !1988 from 胡正超/gttfile
2022-07-30 07:20:46 +00:00