Commit Graph

136 Commits

Author SHA1 Message Date
c5b915a5e6 REINDEX CONCURRENTLY 2022-08-04 20:22:04 +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
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
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
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
ea558fe889 !1874 修复删除订阅时逻辑复制槽不存在报错的问题
Merge pull request !1874 from chenxiaobin/initial_data
2022-06-23 01:53:38 +00:00
6e3f441b6c check if temporary replication slot of tablesync worker exist before dropping it 2022-06-22 14:12:12 +08:00
a8da82a0fb Implementation of keyword ignore: using hint string 2022-06-20 15:46:28 +08:00
ada41a9234 !1867 修复cmake编译问题以及解决创建订阅时无发布表的空集合处理问题
Merge pull request !1867 from chenxiaobin/initial_data
2022-06-20 01:36:25 +00:00
eb2c0ae972 fix cmake bug && handle empty result set in libpqrcv_exec 2022-06-17 16:15:59 +08:00
578fcf10c4 !1816 MYSQL兼容性declare声明变量列表
Merge pull request !1816 from liuyongzhen/declare
2022-06-16 11:20:07 +00:00
80fabd463a !1770 发布订阅支持基础数据复制
Merge pull request !1770 from chenxiaobin/initial_data
2022-06-16 07:09:32 +00:00
507aa793a0 publication and subscription support for initial data copy 2022-06-16 11:46:35 +08:00
dc89431d81 MYSQL兼容性:declare声明多个变量 2022-06-15 20:46:46 +08:00
a6d250d597 修复array_set函数数组下界整数回绕问题 2022-06-07 15:31:59 +08:00
7edda5e2a4 repair GSC no cache issue 2022-05-24 21:47:43 +08:00
c1335bebc9 Fix deserialize func and view. 2022-05-13 14:55:39 +08:00
7f9a1f5428 Fix the bug that the pgplsql invokes the syntax parser error. 2022-04-27 16:35:38 +08:00
74c8611e4a probackup: support backup compress files 2022-03-19 15:44:06 +08:00
d885776b8f The resourceOwner of the SMP is optimized.
Offering: openGaussDev

More detail:
  1. If the SMP is not used, no memory is applied for the tempOwner.
  2. If SMP is used, after the plan is successful, 
     CurrentResourceOwner to reduce the memory usage.

Match-id-8d0c6a3065d99d76fe103c0f82dc97c93e14dfd2
2022-03-14 19:34:44 +08:00
0c08e764e0 Global SysCache
Offering: openGaussDev

More detail:
修复闪回功能未适配GSC导致DDL数据无法丢弃问题

# Conflicts:
#	src/gausskernel/storage/tcap/tcap_truncate.cpp

Match-id-e09ce9c267ac9ae227186b0e7cbc9377b1cfb06a
2022-03-14 19:34:44 +08:00
66b05d1215 Global SysCache
Offering: openGaussDev

More detail:
lsc内存控制

# Conflicts:
#	src/test/regress/expected/gsc_func.out

Match-id-675c5cad1d601f1e7ca9e318fe82367c9626f4e8
2022-03-14 19:34:43 +08:00
c426a575e3 submit code to openGauss-server
Offering: openGaussDev

More detail:range分区表PBE单分区剪枝

Signed-off-by:lihaixiao lihaixiao3@huawei.com

Match-id-a88ff128079ca680f33a7419eeab078bacf466d6
2022-03-14 19:34:40 +08:00
0319403518 autonomous package value support anonymous block
Offering: openGaussDev

More detail: autonomous package value support anonymous block

Match-id-f3ca9de6f1d4d47382dad1566a600a1aa0e8d0ba
2022-03-14 19:34:40 +08:00
15e3a99805 row compression & hash index 2022-03-06 22:47:02 +08:00
de223dd152 sync code 2022-03-04 23:22:16 +08:00
2eb20665ee create index: compressOpts should be used with compresstype
compress_prealloc_chunks: must be less than BLCKSZ / chunksz
2022-01-22 09:55:04 +08:00
3751f522e1 !1460 删除无用的syscache
Merge pull request !1460 from pengjiong/remove_syscache
2022-01-10 07:31:13 +00:00
85325497e2 Remove useless syscache. 2022-01-10 11:22:36 +08:00
ab5354ef25 !1432 fix bug for local index with fastupdate for partition
Merge pull request !1432 from zhengxue/master_dev
2022-01-04 01:25:57 +00:00
c7b25efcff New features (and bug fixes)
1. alter large sequence
    2. subpartition
    2.1 split subpartition
    2.2 truncate subpartition
    3. 支持load
    4. 支持start-with/connect-by
    5. ...
2021-12-29 21:33:28 +08:00
a3cf9e4b3c fix bug for local index with fastupdate for partition 2021-12-27 13:14:53 +08:00
974d7e8726 Fix acl error. 2021-12-16 23:20:22 +08:00
4bf1feab89 Support subscription and publication. 2021-12-16 23:16:24 +08:00
4b35784ea0 table/index(btree) support compression 2021-12-16 22:24:44 +08:00
899cd4a36c enhance tuple lock 2021-12-16 20:37:27 +08:00
1d540f4462 Patch for 930 release 2021-09-23 15:19:37 +08:00
7c57a94670 openGauss support hash index 2021-09-03 14:21:54 +08:00
ee7c6ffb8f min max support ip 2021-09-03 10:27:56 +08:00
6a7eda6812 add db4ai 2021-08-05 17:00:58 +08:00
35fff99804 !1101 支持插件自定义会话级变量
Merge pull request !1101 from chenxiaobin/extension_session
2021-07-31 02:03:20 +00:00
6ad5f787ed support extension define session variables 2021-07-28 21:43:22 +08:00
3bca87940c !1121 upsert支持子查询、array两个函数、first\last聚集函数
Merge pull request !1121 from gentle_hu/feature930
2021-07-28 11:09:04 +00:00
28f41fff22 upsert support subquery; array_remove(), array_replace(); extension first_last_agg 2021-07-28 17:35:42 +08:00
7486b123f2 !1097 不安全的安全函数封装
Merge pull request !1097 from 吴岳川/memcpy
2021-07-26 02:59:36 +00:00
4aafa80607 Fixed the vacuum freeze issue caused by partition split and merge for a long time. 2021-07-20 19:38:14 +08:00
25d21edf92 unsafe encapsulation of safe function 2021-07-19 10:24:20 +08:00
42a7f26766 !1076 生成列特性
Merge pull request !1076 from ShineStarStar/gen
2021-07-09 03:20:26 +00:00
97a744de3b !1028 小型化裁剪,增强可配置性
Merge pull request !1028 from 苏梓鑫/config
2021-07-09 02:24:38 +00:00