Commit Graph

2937 Commits

Author SHA1 Message Date
d6057a4216 fix gram.y error 2022-08-29 19:05:33 -07:00
03f7284e43 适配ninja平台编译 2022-08-29 22:03:49 +08:00
6265964e7d !2046 补充Numeric的优化看护用例
Merge pull request !2046 from 胡义成/master
2022-08-29 12:05:55 +00:00
ca5a482903 !1979 提升numeric减法运算的性能
Merge pull request !1979 from junhangis/junhangis/performance/numeric_subtraction
2022-08-29 12:05:25 +00:00
654f8b85fd !1978 提升numeric加法运算的性能
Merge pull request !1978 from junhangis/junhangis/performance/numeric_addtition
2022-08-29 12:04:12 +00:00
6049a2290c Revert "删除冗余代码"
This reverts commit 2afc1259c83731b92a9389149fe7cf3df5429537.
2022-08-29 19:58:22 +08:00
c44d9739fb !2030 更新gsql创建列加密密钥语法提示
Merge pull request !2030 from 冯岳松/fix_issue
2022-08-29 11:22:25 +00:00
c36acbe6e6 解决冲突问题 2022-08-29 04:22:24 -07:00
5a2f03b0b3 依据社区评审意见,修改代码 2022-08-29 04:10:12 -07:00
0b4475238a add Mysql Feature ON UPDATE Syntax. It supports CREATE TABLE/ALTER TABLE DDL, and tools which include pg_dump and gsql adaptiving.
根据社区评审意见,对代码进行修改和优化。

Conflicts:
	src/common/backend/nodes/copyfuncs.cpp
	src/common/backend/nodes/equalfuncs.cpp
2022-08-29 03:20:39 -07:00
d5a9c5ff35 add Mysql Feature ON UPDATE Syntax. It supports CREATE TABLE/ALTER TABLE DDL, and tools which include pg_dump and gsql adaptiving.
根据社区评审意见,对代码进行修改和优化。
2022-08-29 02:17:45 -07:00
1bd20b0b3d !2001 b 兼容特性:create table/index/function/procedure/funciton support
Merge pull request !2001 from 吴岳川/comment
2022-08-29 07:53:01 +00:00
b07c959bd0 !2081 修复带dolphin插件时initdb失败
Merge pull request !2081 from 仲夏十三/upmain2
2022-08-27 02:08:51 +00:00
508d07963a !2071 支持idle_in_transaction_session_timeout
Merge pull request !2071 from 薛蒙恩/idle_in_transaction_session_timeout_v1
2022-08-26 11:38:34 +00:00
2bcb702760 支持idle_in_transaction_session_timeout 2022-08-26 11:46:32 +08:00
e4ed1f3892 !2063 修复slot_name包含特殊字符报错信息不正确问题以及删除slot_name检验相关冗余代码
Merge pull request !2063 from 薛蒙恩/slot_name
2022-08-26 03:22:02 +00:00
33e19d9e55 fix issue when initdb with dolphin 2022-08-25 17:39:42 +08:00
5858a6ec9c !2074 添加aggSmpHook
Merge pull request !2074 from 仲夏十三/upmain2
2022-08-25 09:31:04 +00:00
2dc0ed5940 !2039 移植pgfincore系列函数
Merge pull request !2039 from shenjunkun/master
2022-08-25 09:23:45 +00:00
9607d52392 去除HAVE_FINCORE宏 2022-08-25 15:11:30 +08:00
380d4899eb pgfincore格式修改 2022-08-24 22:24:55 +08:00
af9d20e8ef pgfincore代码修改v1 2022-08-24 18:05:24 +08:00
4f83bc8745 add aggSmpHook 2022-08-24 17:45:52 +08:00
90c9c23c57 !2064 禁止使用copy、alter的stmt作为rule的action
Merge pull request !2064 from 吴岳川/create_rule
2022-08-23 13:48:13 +00:00
70784acad8 !2059 修复type is table of在GBK环境下打印GBK字符乱码的问题
Merge pull request !2059 from pengjiong/fix_col
2022-08-23 12:38:14 +00:00
831d1fe85f !2070 修复非SMP场景下,full join不能重写为anti full join + left join的问题
Merge pull request !2070 from pengjiong/drop_ext
2022-08-23 12:38:13 +00:00
33a27a8ef1 !2006 issue#I5KOXV Fix zoneid leak when we set enable_ustore to on but never use ustore
Merge pull request !2006 from wangchunling/issue#I5KOXV
2022-08-23 12:19:25 +00:00
d63f47a3fc copy stmt or alter stmt in action is not allowed 2022-08-23 20:07:20 +08:00
fa71e08875 !2058 修复group by负数的core问题
Merge pull request !2058 from pengjiong/array
2022-08-23 12:05:35 +00:00
34e92b4a84 !2005 issue#I5KOL1 Use pthread_cond_timedwait instead of pthread_cond_wait to handle m_readySessionList when all workers are idle
Merge pull request !2005 from wangchunling/issue-#I5KOL1
2022-08-23 11:50:40 +00:00
9d9c6ce606 Fix full join rewrite. 2022-08-23 19:22:36 +08:00
f9f5eb3cf6 create table/index/function/procedure/funciton support 2022-08-23 19:00:09 +08:00
2afc1259c8 删除冗余代码 2022-08-23 14:42:56 +08:00
573423cac6 issue#I5KOL1 Use pthread_cond_timedwait instead of pthread_cond_wait to handle
m_readySessionList when all workers are idle
2022-08-23 13:27:51 +08:00
a4bdb7450b !1648 关于plpython fencedMode下的gs_basebackupbug
Merge pull request !1648 from nwen/master
2022-08-23 02:42:32 +00:00
e3aa6631d2 !2042 parallel decoding fix walsender lsn bug 回合社区
Merge pull request !2042 from 薛蒙恩/paralell_decode
2022-08-23 01:48:14 +00:00
6778359fce !2057 fix swcb qual push down join qual detection rule
Merge pull request !2057 from chenxiaobin/startwith
2022-08-22 12:28:31 +00:00
7f39807f24 !1985 修复SQL语句中同时出现窗口函数和子查询时因子查询被提升导致执行失败的问题
Merge pull request !1985 from april01xxx/first_value
2022-08-22 12:07:58 +00:00
29824103d7 Fix raise gbk bug. 2022-08-22 16:59:17 +08:00
b31804e0fa Fix group by negative value core. 2022-08-22 16:19:49 +08:00
41ff449bfd fix swcb qual push down join qual detection rule 2022-08-22 14:48:52 +08:00
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