2.x Versions
This section describes the 2.x kernel version updates of GaussDB.
Date |
Feature |
Description |
---|---|---|
2022-11 |
Concurrent DML and TRUNCATE operations between different sessions of a global temporary table |
Concurrent DML and TRUNCATE operations are supported between different sessions of a global temporary table. |
Snapshot backups for standby nodes |
Standby nodes support snapshot backups. With typical public cloud resources, it takes less than 8 hours to fully back up and restore 12 TB of data. PITR is also supported.
NOTICE:
Whitelist feature. To configure the whitelist permission, submit an application by choosing Service Tickets > Create Service Ticket in the upper right corner of the management console. |
|
Emergency measures for high-latency at the IaaS layer |
If the latency increases due to underlying resources, many connections will be created on the service side. As a result, the DN thread pool and dynamic memory will be full. Emergency measures are provided to quickly rectify the fault, preventing long-time impact on services. |
|
No logic decoding for specific user operations |
Logical decoding logs are filtered by user. During the decoding, logical logs about database operations performed by blacklist users are not returned. This ensures that downstream data is not affected by logical replication of blacklist user operations. Username or user OID is required for blacklist user configuration. Logical log transactions contain user information, which provides the basis for downstream services to filter different users. |
|
Read-only nodes in the cascaded standby server |
Read-only nodes provide inventory query services to offload the query load of the primary node.
NOTICE:
Whitelist feature. To configure the whitelist permission, submit an application by choosing Service Tickets > Create Service Ticket in the upper right corner of the management console. |
|
Viewing SQL statements that are being executed in the current stored procedure |
The SQL statements that are being executed in the current stored procedure can be viewed, enhancing the DFX capability. |
|
Security hardening |
The following security vulnerabilities are fixed: CVE-2022-32221 CVE-2022-42916 CVE-2022-42915 CVE-2022-2097 CVE-2022-32205 CVE-2022-32206 CVE-2022-32207 CVE-2022-32208 CVE-2022-2068 CVE-2022-24302 |
Date |
Feature |
Description |
---|---|---|
2022-06 |
Logical replication capability enhanced |
The logical replication capability is enhanced. Memory management is enhanced based on:
|
Ustore DFx capability enhanced |
|
|
SQL PATCH |
SQL patches are designed for database administrators, O&M personnel, and other personnel that need to optimize SQL statements. If the execution plan or execution mode of a query statement does not meet expectations, a SQL patch can adjust the query execution plan or mode without directly modifying the statement, to meet the expected effect. In addition, you can flexibly create, delete, or change a SQL patch as needed. In actual GaussDB O&M scenarios, unique SQL IDs are used to locate query statements (normal-stmt and prepared-stmt) and hints are used to optimize query performance. The scenarios for adjusting the statement execution mode are as follows: Scenario 1: Adding hints (such as hint-index and hint-GUC) to statements to adjust the query compilation mode of the optimizer. In scenario 2: Performing plain-text rewriting on query statements in special emergency cases.
NOTICE:
SQL-PATCH is not supported for distributed instances. |
|
Security hardening |
The following security vulnerabilities are fixed: CVE-2022-31799 CVE-2022-27781 CVE-2022-27782 CVE-2022-1292 CVE-2022-29824 CVE-2022-27774 CVE-2022-27776 CVE-2022-22576 CVE-2022-27775 CVE-2021-3520 |
Date |
Feature |
Description |
---|---|---|
2022-04 |
Go driver supported by primary/standby instances |
|
SMP for stored procedures |
SMP parallel execution plans can be generated and executed for query statements in stored procedures. |
|
Ustore hardening and optimization |
The Ustore adapts to the framework of the parallel index creation. |
|
WDR report enhanced |
The ASP capability is enhanced. The WDR capability is enhanced. |
|
View O&M capacity enhanced |
You can view disk usage details by pg_ls_waldir() for wal diagnosis and pg_ls_tmpdir() for tmp diagnosis. |
Date |
Feature |
Description |
---|---|---|
2022-02 |
Ustore commercial use capability improved |
|
Driver and syntax compatibility enhanced |
|
|
Online database maintenance without downtime |
|
|
Row- and column-store engine capability improved |
|
|
Logic decoding performance and functions optimized |
|
|
Performance improvement for enterprise-class application scenarios |
|
|
Enterprise-level capability optimized |
|
|
4 GB for CLOB/BLOB |
CLOBs/BLOBs can store 4 GB of data. The performance of the CLOBs/BLOBs smaller than 1 GB is not inferior to that of the previous version. Constraints: More than 1 GB of data can be read and processed only by advanced package functions. An error is reported when more than 1 GB of data is transferred by system functions. Operator and string functions do not support more than 1 GB of data. The maximum buffer size in a stored procedure is 32 KB. DISTINCT, GROUP BY, or ORDER BY operations are not allowed in LOB columns. An advanced package supports a maximum of 4 GB data. To update tables, you need to add update in lob_write. |
|
Deletion and update of specified partitions for primary/standby instances |
Primary/standby instances support deletion and update of specified partitions (level-1 partitions for level-1 partitioned tables and level-2 partitions for level-2 partition tables). For the deletion and update of the same amount of data (including point-to-point deletion and batch deletion scenarios), the performance of partitioned tables is the same as that of non-partition tables. After a partition is specified, the global index scan cannot be selected. |
|
Global cache of syscache system tables |
This feature reduces the high memory usage in high-concurrency and complex query scenarios. In the case of any concurrent load, the total memory usage of the GSC or LSC cannot exceed the upper limit specified by the corresponding GUC parameters (GSC: global_syscache_threshold; LSC: local_syscache_threshold). After GSC/LSC is enabled, the loss in the standard benchmark scenario (tpcc/sysbench) does not exceed 5%. |
|
Module function and reliability hardening |
|
|
PITR for distributed instances |
Distributed instances support PITR to further:
|
|
Stored procedures |
|
|
Permissions |
Fine-grained permissions and ANY permissions are supported. The following ANY permissions and syntax are supported:
|
|
Security |
|
|
Software component lifecycle matches the product lifecycle |
New lower-layer software components (such as open-source software, third-party software, and self-developed platforms) are used and will be updated in a timely manner within their lifecycle to match the product lifecycle. Security vulnerabilities can be fixed in a timely manner within the lifecycle of product versions. |
|
ODBC commercial use |
|
|
CM enterprise-level capability improved |
|
|
Performance improved |
The performance of a full-table scan based on linetitem 1X is improved by 30%, and the response latency is shorter than 1s. |
|
O&M monitoring capability improved |
|
|
Paxos enterprise-level capability improved |
|
|
Security hardening |
The following security vulnerabilities are fixed: CVE-2022-23308 CVE-2020-28473 CVE-2021-22947 CVE-2021-22946 CVE-2021-22945 CVE-2021-37750 CVE-2021-36222 |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot