This topic covers release notes for the minor versions, the console, Ganos, and the API of PolarDB for PostgreSQL (Compatible with Oracle).
To view the kernel minor version of PolarDB for PostgreSQL (Oracle-compatible), run the following statement:
SHOW polardb_version;The kernel minor version of PolarDB for PostgreSQL (Oracle-compatible) will change to a six-digit format on February 26, 2025 (Beijing time). For details about this change and the version mapping, see PolarDB kernel minor version number format update.
December 2020
Minor kernel version (V1.1.7)
Category | Parameter | Description | References |
New features | partitioned table | Adds the Merge Partitions feature to merge two partitioned tables. | |
Oracle-style decoding compatibility | Supports Oracle-style Base64 decoding. The BASE64_DECODE function can automatically identify malformed strings and decode only the valid leading portion of the string. | ||
Date format | Supports inserting or updating dates in the | None | |
SYS.***_TAB_COLS views | Adds the | ||
polar_utility extension | Adds the | ||
stored procedure | Stored procedures can now return a holdable refcursor. | None | |
DBMS_JOB package | Adds the DBMS_JOB package, which you can use with a high-privilege account to perform cross-database scheduling. | ||
Improvements | UTL_ENCODE | Newly created regular users can now use the UTL_ENCODE extension. | |
polar_agg extension | The polar_agg extension is enabled by default. | None | |
fdw extension | Enhances the stability of the fdw extension. | None | |
Bug fixes | Fixes an error that occurred when querying a null value using | ||
Fixes an issue where an index scan after an | |||
Console
Category | Parameter | Description | References |
New features | DBLink | Create a DBLink from PolarDB for PostgreSQL (Oracle-compatible) to a self-managed PostgreSQL database on an ECS instance to enable cross-database data exchange from PolarDB for PostgreSQL (Oracle-compatible) to PostgreSQL. By using the DBLink feature in PostgreSQL, you can enable bidirectional data exchange between the two different databases. On the , choose Configuration and Management > Databases. | Create a DBLink from PolarDB for PostgreSQL (Oracle Compatible) to PostgreSQL |
Spatiotemporal database (V3.2)
Category | Parameter | Description | References |
New features | ST_AsPNG | Adds support for returning images as a stream from a vector tile pyramid for fast graphical rendering of vector data. | |
raster data | Adds the JPEG2000 compression algorithm for raster data types. This algorithm supports compressed storage for 16-bit raster data. | None | |
Improvements | st_dwithin | Improves the performance of st_dwithin distance queries. | None |
Bug fixes | Fixes an error in time intersection calculations for trajectory data types. | ||
Fixes a bug in the Ganos in-memory topological index. | |||
API
Category | Parameter | Description |
Improvements | Adds support for creating a DBLink from PolarDB for PostgreSQL (Oracle Compatible) to a self-managed PostgreSQL database on an ECS instance. |
November 2020
Minor kernel version (V1.1.6)
Category | Name | Description | References |
New features | Compatibility | Compatible with PostgreSQL 11.9. | |
Failover | Enables the OnlinePromote feature by default to reduce HA switchover time and improve cluster availability. | ||
DBLink | You can now use a DBLink to connect to a database in another PolarDB for PostgreSQL (Oracle-compatible) cluster. | ||
Bug fixes | Fixes hangs caused by node restarts in certain scenarios. | ||
Fixes cluster crashes caused by out-of-memory errors in certain scenarios. | |||
Fixes read-only node crashes in certain scenarios. | |||
Fixes an encoding conversion error from UTF-8 to GBK when running the | |||
Fixes an error that occurs when the first argument of the NVL function is NULL. | |||
Console
Category | Name | Description | References |
New features | DBLink | You can create a DBLink from PolarDB for PostgreSQL (Oracle-compatible) to PolarDB for PostgreSQL (Oracle-compatible) to enable cross-database data access and ensure data interoperability between different PolarDB for PostgreSQL (Oracle-compatible) databases. On the cluster details page, choose . |
API
Category | Name | Description |
New features | Creates a DBLink for PolarDB for PostgreSQL (Oracle-compatible). | |
Retrieves information about DBLinks for PolarDB for PostgreSQL (Oracle-compatible). | ||
Deletes a DBLink for PolarDB for PostgreSQL (Oracle-compatible). |
October 2020
Minor kernel version (V1.1.5)
Category | Name | Description | Related documents |
New features | Audit log | Enables logging prepared SQL statements as executable SQL statements in the audit log. | None |
Hash partitioning | Adds syntax to create a hash-partitioned table with a specified number of partitions. | ||
Partitioned table | Enables querying data from a specific partition or subpartition by its name. | ||
Host parameter | Adds the host parameter, which retrieves the client's host value. | None | |
Improvements | View | Improves the polar_stat_activity view by adding the query_id field. | None |
Compatibility | This minor kernel version is now compatible with PostgreSQL 11.8 and addresses several stability issues. | None | |
Bug fixes | Fixes an issue where semi-synchronous replication could not time out. | ||
Fixes an issue where using a CONNECT BY clause with a WITH clause would fail. | |||
Spatiotemporal database (V3.1)
Category | Name | Description | Related documents |
New features | Trajectory data type | Adds GiST index support for trajectory data types and provides six operator families for different dimensions to support various analytical requirements. | None |
Adds the BoxND spatiotemporal bounding box type to represent spatiotemporal ranges and store trajectories. | None | ||
Adds intersection (&&), contains (@>), and contained by (<@) operators for different dimensions. | None | ||
Adds four categories of trajectory processing functions: ST_ndIntersects, ST_ndDWithin, ST_ndContains, and ST_ndWithin. | |||
Enables collecting statistics on the trajectory data type to estimate scan costs. | None | ||
Introduces a new indexing method, TrajGist, to improve index selection. | None | ||
ganos_update function | Adds the ganos_update function. Run | None | |
Improvements | Spatiotemporal range query | Improves the performance of spatiotemporal range queries by optimizing two-phase queries on GiST indexes. | None |
Vector pyramid | Supports source data with any SRID coordinate and provides tile output for SRID 3857 and 4326. | None | |
Adds the pixelSize parameter to aggregate point data, reducing the number of tiles. | None | ||
Bug fixes | Fixes an issue where updating Ganos Raster could fail in certain scenarios. | ||
Fixes an issue where updating the Ganos binary to a new version could cause a crash. | |||
Fixes an issue where the top-level tile contained an excessive number of points after a vector pyramid was built for point data using default parameters. | |||
September 2020
Minor kernel version (V1.1.4)
Category | Parameter | Description | Related documentation |
New | GROUP_ID function | Adds the | |
Partitioned table | Adds support for creating indexes concurrently on partitioned tables by using | None | |
Invisible index | Adds support for making an index on a conventional table invisible by using | None | |
ali_decoding plugin | Adds the | None | |
pg_cron plugin | Adds support for querying scheduled task records for the | ||
to_char() | The | None | |
Data type | The
| None | |
View | Adds a view for process status information. | None | |
Adds execution time statistics to the SQL information view. | None | ||
Audit log | Audit logs now include SQL statements that resulted in an error. | None | |
Bug fixes | Fixed an issue where data page prefetching could cause a deadlock in specific scenarios. | ||
Fixed an issue where JOIN queries failed to find the correct partition during partition pruning for partitioned tables. | |||
Ganos (V3.0)
Category | Parameter | Description | Related documentation |
New | Support for NetCDF data with subsets | Now supports NetCDF data that contains subsets. You can import the data by specifying a layer name. | None |
Custom metadata and time-series information for raster data | Adds the | ||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Support for returning raster data as stream-based images | Adds the | ||
Adds the | |||
Adds the | |||
Support for the geometric grid data type and its operations | Adds the | ||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Fast display and storage of vector data | Adds the | ||
Adds the | |||
Adds the | |||
Bug fixes | Fixed an out-of-memory issue that could occur during pyramid creation in specific scenarios. | ||
Fixed an issue where a moving object could not be created with the | |||
Fixed an issue where | |||
Fixed an issue that could cause Ganos to crash during an upgrade. | |||
Upgraded PostGIS compatibility to version 2.5.4. | |||
August 2020
Kernel minor version (V1.1.3)
Category | Parameter | Description | Related documentation |
New | View | Added a SQL execution statistics view. | None |
Added a QPS statistics view. | None | ||
Added a CGroup status information view. | None | ||
Privileged user | Granted the | None | |
Bug fix | Fixed a display error in the | ||
Fixed an issue with missing system wait information in AWR. | |||
Fixed an error in partitioned table pruning. | |||
Fixed an error in | |||
Fixed an issue of RO rebuilds caused by replay delay. | |||
Spatiotemporal database (V2.9)
Category | Parameter | Description | Related documentation |
New | COG file format support | Added support for the COG (Cloud Optimized GeoTIFF) file format, including reading pyramid information from COG files. | None |
ST_AddZ function | Added the | ||
Enhanced spatial extent retrieval for raster objects | Added the | ||
Added the | |||
Added the | |||
Added the | |||
Added the | |||
Bug fix | Resolved a performance issue caused by a fixed | ||
Fixed an issue that caused the | |||
Prevented the | |||
Prevented the | |||
Ensured that using | |||
Fixed an issue where the | |||
Fixed an issue where the | |||
Fixed an issue that prevented overview creation for external pyramids. | |||
Enabled creating an internal pyramid for a raster object that already has an external pyramid. | |||
Fixed incorrect statistics calculations for raster data that contains | |||
July 2020
Minor kernel version (V1.1.2)
Category | Name | Description | Related documentation |
New | PIVOT syntax | The | None |
ROWID pseudocolumn | Supports the | None | |
Built-in function | Supports the | None | |
DBMS_JOB and DBMS_SCHEDULER | Supports | None | |
Temporary table | Supports writing temporary table files to local storage, significantly improving the performance of temporary table operations. | None | |
Event trigger | The | None | |
Custom resource isolation | Supports sending requests from custom resource isolation groups. | None | |
Optimization | Crash recovery process | Optimized the crash recovery process to reduce recovery time in extreme cases. | None |
Bug fix | Fixed an issue where the | ||
Ganos (V2.8)
Category | Name | Description | Related documentation |
New | Enhanced APIs for raster data metadata access | Adds the | |
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
| Adds the | ||
Raster data type | The raster data type now supports Zstandard (Zstd) and Snappy compression. | None | |
Point cloud data type | The point cloud data type now supports binary copy. | None | |
Environment variable | Adds support for setting the | None | |
Bug fixes | Fixed an issue where an invalid OSS path could cause the database to crash. | ||
Fixed an issue where, in some cases, the SRID of imported raster data was inconsistent with its definition. | |||
June 2020
Minor kernel version (V1.1.1)
Category | Parameter | Description | Related documentation |
New feature | nvl2 function | Adds the nvl2 function, which returns the second or third argument based on whether the first argument is NULL or an empty string. | None |
polar_proxy_utils extension | Adds the polar_proxy_utils extension to manage proxy-related features. This extension lets you configure read-only UDFs and read-only tables, routing requests for them to a read-only node through the cluster endpoint. | None | |
polar_resource_group extension | Adds the polar_resource_group extension, which supports custom resource groups to provide resource isolation based on CPU and memory usage at the user, database, and session levels. | None | |
Improvement | Reliability and availability | Decouples the database compute node from the file system. This allows for independent file system management, which significantly improves database reliability and availability. | None |
Transaction processing | Replaces the active transaction list snapshot with a monotonically increasing version number, significantly improving database transaction processing performance. | None | |
Execution plan | Optimizes the execution plan to avoid using stale statistics. | None | |
Bug fix | Fixed a memory allocation exception in the timescaledb extension process. | ||
Fixed a bug where I/O monitoring statistics failed to aggregate after a process exited. | |||
Fixed a potential null pointer exception when | |||
Fixed an issue that could cause the pg_cron extension to fail under specific conditions. | |||
Fixed a known DSM deadlock. | |||
Fixed a bug that allowed the number of user connections to exceed the configured limit. | |||
May 2020
Kernel minor version (V1.1.0)
Category | Name | Description | References |
New features |
| Adds the | Full-width and half-width conversion functions (TO_SINGLE_BYTE and TO_MULTI_BYTE) |
| Adds the | Full-width and half-width conversion functions (TO_SINGLE_BYTE and TO_MULTI_BYTE) | |
| Adds the | None | |
| Adds the | None | |
| Adds the | None | |
| Adds the | None | |
| Adds support for the | None | |
| Adds the | None | |
| Adds the | ||
| Adds the | ||
Enhancements |
| Enhances the | |
| Enhances the | None | |
Index | Introduces an index page pre-extension feature for index insertions. This feature improves data insertion performance for indexed tables. | None |
Spatiotemporal database (V2.7)
Category | Name | Description | References |
New features | MD5 operation functions | Adds the | |
Adds the | |||
OSS authentication for spatial raster objects | Adds the | ||
Adds the | |||
Adds the | |||
Adds the | |||
Spatial raster metadata functions | Adds the | ||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Adds the | |||
Bug fix | Fixes a plugin upgrade failure caused by an aggregate function. | ||