V2.0-3.x Versions
This section describes the V2.0-3.x kernel version updates of GaussDB. For details about the version description, version mapping, and how to check the version number, see DB Engine Versions.
Date |
Feature |
Description |
---|---|---|
2024-05 |
PITR modular decoupling |
The startup of GaussDB processes is decoupled from the loading of the barrier file. Even if the barrier file contains errors, it will not affect the startup or availability of GaussDB. |
Improved DFX capability of the PITR module |
PITR-related system views and system functions are added to provide convenient O&M methods for O&M personnel. The PITR O&M efficiency is improved. The information collection duration is shortened from hours or minutes to seconds. |
|
Automatic repair based on physical bad blocks (Pages on the standby node can be repaired from the primary node in seconds.) |
When a standby DN detects a page CRC error, it obtains the correct page from the primary node and overwrites the error page at a proper time for repair. |
|
Enhanced rebuilding capability of the standby node |
To accelerate the recovery of faulty standby nodes, it is beneficial to implement incremental builds between standby nodes for transmitting incremental logs and data. Additionally, creating slots during the build process ensures normal log recycling, preventing log accumulation. When log inconsistencies are significant, the primary node retains sufficient logs after the build to avoid prolonged local log replay and prevent repeated build triggers caused by log recycling. |
|
DR cluster RTO optimization |
According to the current mechanism, if an instance in the DR cluster is disconnected, the connection is re-initiated only after all logs are replayed. The disconnection time is significantly affected by the replay speed and the volume of logs to be replayed. Under heavy load, the instances in the DR cluster may be disconnected for a long time and logs in the primary cluster may be accumulated. After the optimization, the CM launches a pre-parsing thread for disconnected instances to quickly scan the full logs of the instance. Then, the connection is initiated from the latest log, significantly reducing the recovery time for primary/standby synchronization. |
|
Logging of memory over-limit sessions |
Building on the existing multi-level memory management mechanism, this feature adds the capability to log SQL statements when memory usage exceeds predefined limits. This enables the reproduction and analysis of memory over-limit issues, facilitating faster problem diagnosis and resolution. The main functions are as follows:
|
|
Logical decoding that adapts to ultimate RTO |
The logical decoding function of the standby node needs to access the system catalogs of the historical version. When ultimate RTO is enabled, logical decoding for the standby node needs to be adapted to prevent page recycling and use correct snapshots to access system catalogs. |
|
Hot patch management |
The list interface is connected to the management plane so that the management plane can query the patches that take effect on the kernel side. |
|
Full SQL data supported by standby nodes of distributed instances |
Full SQL data and slow SQL statements can be recorded and checked on the standby DN in a distributed instance. Full SQL data and slow SQL statements can be checked on the standby DN or on the CN by using the get_global_full/slow_sql_by_timestamp function. |
|
Repairing corrupted pages |
A manual repair operation is provided for corrupted pages. |
|
EXECUTE DIRECT ON supported for querying standby nodes in distributed instances |
Currently, distributed instances support readable standby nodes, with standby nodes handling read workloads that require operational monitoring. However, the current O&M operations from the CN cannot directly access the standby DN to query views or functions. As a result, it is difficult to locate faults. Additionally, in the distributed environment, WDR-persisted global views cannot access data from the standby DN, and thus, there is a need to extend access to standby nodes. Therefore, it is necessary to enhance the EXECUTE DIRECT ON and distqry_remote_function_result_handler functionalities to support connections to one or more standby nodes in a distributed system for performing DFX queries, improving DFX capabilities. |
|
Enhanced fault locating and demarcating |
The system resource check is added to the CM. If the resource usage exceeds the threshold, a log is recorded to facilitate subsequent fault locating. |
|
Proactive clearing of physical replication slots |
Physical replication slots used in primary/standby instances and streaming replication-based disaster recovery solutions may have their logs recycled when the streaming replication connection is broken, as the logs are protected by max_size_for_xlog_prune. In such cases, the slots associated with streaming replication become inactive. Even if streaming replication is restored later, the removal of WAL segments can force a full rebuild of the standby node. To prevent this, proactive cleanup of these physical replication slots is performed when log recycling is triggered by reaching the max_size_for_xlog_prune limit. |
|
Multiple SQL throttling rules |
In a database system, a certain type of SQL statements may be executed abnormally or the number of concurrent service requests increases sharply, which will occupy a large number of system resources or affect the execution of other workloads, or even the entire database system cannot respond to other service requests. To solve this problem, GaussDB implements SQL throttling to limit the number of concurrent SQL statements of a certain type from multiple dimensions. |
|
Managing logs of logical replication slots |
WAL logs retained in logical replication slots are managed. |
|
Security hardening |
The following security vulnerabilities are fixed: CVE-2024-2511 CVE-2024-1013 CVE-2024-25062 CVE-2024-0727 CVE-2023-52323 CVE-2023-6237 CVE-2023-46219 CVE-2023-50472 CVE-2023-50471 |
Date |
Feature |
Description |
---|---|---|
2023-11 |
CM disk detection capability enhancement |
The capability is enhanced in the following aspect: The CMA uses an independent module for disk detection so that the module can detect the disk status and report the status to the CMS for arbitration. |
Security hardening |
The following security vulnerabilities are fixed: CVE-2023-46218 CVE-2023-5678 CVE-2023-5363 CVE-2023-45853 CVE-2023-45322 CVE-2023-38546 CVE-2023-38545 CVE-2023-4807 CVE-2022-34038 CVE-2023-36054 CVE-2023-3817 CVE-2023-3446 CVE-2023-2975 CVE-2023-28370 CVE-2023-2650 CVE-2023-28320 CVE-2023-28321 CVE-2023-28322 CVE-2023-32082 CVE-2023-1255 CVE-2023-29469 CVE-2023-28484 CVE-2021-28235 CVE-2023-27538 CVE-2023-27536 CVE-2023-27535 CVE-2023-27534 CVE-2023-0466 CVE-2023-0465 CVE-2023-0464 CVE-2023-27533 CVE-2022-4304 CVE-2022-4450 CVE-2023-0215 CVE-2023-0217 CVE-2023-0216 CVE-2022-4203 CVE-2023-0401 CVE-2023-0286 CVE-2022-42898 CVE-2022-3996 CVE-2022-40303 CVE-2022-40304 CVE-2022-29824 CVE-2021-37750 |
Date |
Feature |
Description |
---|---|---|
2023-08 |
Optimization on memory usage of stored procedures in global PL/SQL cache |
The shared cache based on the stored procedure addresses the high memory usage identified by the stored procedure compatibility. The existing PL/SQL session-level cache is optimized in the following aspects:
Specifications:
Restrictions: Applicable only in centralized mode. |
Processing of stored procedure parameters and recompilation upon expiration |
Specifications and restrictions: Invalid objects can be recompiled using scripts. The schema/compile_all parameter is supported, but the reuse_settings parameter is not supported. |
|
Stored procedure cursors and historical slow SQL statements |
Delivery mode: centralized and distributed GaussDB instances |
|
Single-replica DR for distributed instances |
Single-replica DR is put into commercial use. The specifications and restrictions are as follows:
Delivery mode: centralized and distributed GaussDB instances |
|
Type conversion, UNION operation, and package adaptation |
Delivery mode: centralized GaussDB instances |
|
Support of GB18030 |
|
|
Streaming DR supported for Dorado-based dual-cluster deployment |
The GaussDB dual-cluster (Dorado-based) deployment solution supports streaming DR.
Delivery mode: centralized GaussDB instances |
|
Enhanced fault tolerance capability of gs_loader |
|
|
Minor version upgrade supported in the upgrade to be committed scenario of small-scale deployment |
In small-scale deployment, minor versions can be upgraded during the service observation period, and rollback by minor version is supported. |
|
System object privilege hardening for upgrade |
During the upgrade process, users' system object privileges may be lost. To prevent this problem, this feature backs up the privileges before the upgrade and restores them afterwards, ensuring that users' system object privileges remain consistent before and after the upgrade. |
|
Security hardening |
The following security vulnerabilities are fixed: CVE-2023-3817 CVE-2023-32001 CVE-2023-3446 CVE-2023-2975 CVE-2023-28370 CVE-2023-2650 CVE-2023-28320 CVE-2023-28321 CVE-2023-28322 CVE-2023-32082 CVE-2023-1255 CVE-2023-29469 CVE-2023-28484 CVE-2021-28235 CVE-2023-27536 CVE-2023-27538 CVE-2023-27535 CVE-2023-27534 CVE-2023-0466 CVE-2023-0465 CVE-2023-0464 CVE-2023-27533 CVE-2022-4304 CVE-2022-4450 CVE-2023-0215 CVE-2023-0217 CVE-2023-0216 CVE-2022-4203 CVE-2023-0401 CVE-2023-0286 CVE-2022-42898 CVE-2022-3996 CVE-2022-40303 CVE-2022-40304 CVE-2022-29824 CVE-2021-37750 |
Date |
Feature |
Description |
---|---|---|
2023.3 |
WDR optimization |
Sort top SQL statements by the average duration of a single SQL statement execution. Full SQL statements can be sorted by avg based on the top SQL statements in the current WDR report. |
Online specifications change |
Change instance specifications online with no downtime. DNs are rebooted in rolling mode, without the need to reboot the instance. This mitigates the impact on services. |
|
Full SQL tracing on standby nodes and statement-level wait events |
Constraints:
|
|
Domain name configuration for gsql and gsloader |
Domain name configuration for gsql and gsloader ensures that multiple domain names can be accessed in HA mode.
|
|
Automatic creation of multi-column statistics |
Advantages:
|
|
Backups created by standby nodes |
Move some backup operations from primary nodes to standby nodes to reduce the usage of resources, such as the CPU and disk I/O, of primary nodes. |
|
SMP supported by global temporary tables |
Global temporary tables support SMP. |
|
Backup and restoration for a single-node instance |
Backup and restoration for a single-node instance is supported. This feature meets the requirements of R&D and joint commissioning scenarios. It is used only for SQL development and function joint commissioning.
NOTICE:
To use this feature, submit an application by choosing Service Tickets > Create Service Ticket in the upper right corner of the management console. Constraints:
|
|
SQL compatibility enhancement |
SQL compatibility is enhanced in the following aspects:
|
|
Readable standby nodes in a distributed instance |
Offload read requests from primary nodes to standby nodes in a distributed instance. Constraints:
|
|
Online index creation and ultimate RTO supported by Ustore-based centralized instances |
The Ustore-based centralized instances support online index creation and ultimate RTO.
|
|
Upsert and stored procedures supported by GPC |
GPC supports upsert and stored procedures.
|
|
Performance improvement of basic operators |
The performance of basic operators is improved.
|
|
Codegen supported by row-store expressions |
The Codegen capability of row-store tables is enhanced: Codegen is enabled by default. Users can query whether Codegen is enabled the specified number of rows. By default, all queries are not split. |
|
Optimizer cost model optimization |
The following basic capabilities are optimized:
This is only available for centralized instances. |
|
Optimization on concurrent partitioned table query |
Optimize concurrent query on partitioned tables in the following aspects:
|
|
MySQL database syntax compatibility improved |
GaussDB is compatible with common syntax and APIs of MySQL databases. DELETE and UPDATE statements support the ORDER BY and LIMIT functions. |
|
Multiple IP addresses for Python drivers |
Support multiple IP addresses for Python drivers, so that databases can be properly connected after a primary/standby switchover. |
|
PITR enhancement |
Enhance PITR capabilities in the following aspects:
|
|
Embedded C preprocessor |
Embedded C preprocessor is supported. |
|
Overload escape in concurrency scenarios |
After a certain proportion of slow SQL statements in a thread pool are executed, the CANCEL operation is triggered. |
|
Data page restoration |
Data restoration is enhanced in the following aspects:
|
|
GCM encryption and client sorting for fully-encrypted databases |
Fully-encrypted databases support GCM encryption and client sorting.
Constraints: Only gsql and JDBC clients are supported. |
|
SHA256 and SSL that uses SM series cryptographic algorithms |
||
ANY permission management |
Support the following 12 ANY permissions for five objects:
|
|
Efficient data compression algorithm |
With the efficient data compression algorithm, the read and write performance deterioration in the TPC-C scenario is less than 5%, and the data compression ratio of transactional databases reaches 2:1. |
|
ABO |
ABO supports the following service scenarios:
Specifications:
|
|
Display of query plans in running state |
Display the execution plan specifications using views for specified slow SQL statements. |
|
Security hardening |
The following security vulnerabilities are fixed: CVE-2022-29824 CVE-2022-27781 CVE-2022-27775 CVE-2022-35252 CVE-2021-37750 CVE-2022-32205 CVE-2022-27776 CVE-2022-32206 CVE-2022-37434 CVE-2022-22576 CVE-2022-27782 CVE-2022-27774 CVE-2022-32207 CVE-2022-2097 CVE-2022-32208 CVE-2022-32221 CVE-2022-42916 CVE-2022-42915 |
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