Commit Graph

29 Commits

Author SHA1 Message Date
9d6bb1af8f !2041 提升numeric数据ln_var运算的性能
Merge pull request !2041 from 胡义成/master
2022-09-07 09:16:15 +00:00
b919f404e8 add openGauss 3.1.0 feature code 2022-09-03 16:22:35 +08: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
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
d3bb2ec640 improve the performance of numeric Natural logarithm. 2022-08-17 17:15:02 +08:00
a923d559da !2012 提升numeric ceil运算的速度
Merge pull request !2012 from junhangis/junhangis/performance/numeric_ceil
2022-08-07 00:47:11 +00:00
520bf3d71d !2013 提升numeric floor的计算性能
Merge pull request !2013 from junhangis/junhangis/performance/numeric_floor
2022-08-07 00:46:45 +00:00
87a97c2545 !2018 需要处理特殊值0.0
Merge pull request !2018 from junhangis/junhangis/performance/numeric_bug
2022-08-07 00:44:35 +00:00
c9f64d8350 improve the performance of numeric's floor() 2022-08-07 02:05:28 +08:00
b9ee4ea543 improve the performance of numeric's ceil() 2022-08-07 01:55:49 +08:00
a4aa854578 fix a bug when numeric is 0.0 2022-08-07 01:40:06 +08:00
8ec5d33e36 !2009 提升numeric sign运算的性能
Merge pull request !2009 from junhangis/junhangis/performance/numeric_sign
2022-08-06 14:16:06 +00:00
f5ac7657ea improve performance of numeric's sign() 2022-08-06 14:57:12 +08:00
98c510c1e8 improve the performance of numeric's ln(). 2022-08-05 09:34: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
a8da82a0fb Implementation of keyword ignore: using hint string 2022-06-20 15:46:28 +08:00
de223dd152 sync code 2022-03-04 23:22:16 +08: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
1d540f4462 Patch for 930 release 2021-09-23 15:19:37 +08:00
ecf980b67b codestyle 2021-09-02 20:28:19 +08:00
4151b06669 support jsonb 2021-05-19 21:22:02 +08:00
1567043064 同步source code
日期: 12-26
    revision: ee5b054c
2020-12-28 22:19:21 +08:00
2db9cd5fa5 !91 pgdb compatibility support
Merge pull request !91 from 吴岳川/master
2020-08-10 10:01:53 +08:00
19ceba3326 pg compatibility support 2020-08-10 09:23:51 +08:00
e2f884c4ba mod not allow divide by zero 2020-08-06 18:51:52 +08:00
815a9771fb first commit for openGauss server 2020-06-30 17:38:27 +08:00