2022 PolarDBO engine feature updates
Kernel minor version, console, GanosBase, and API updates in 2022 for .
-
Run the following statement to view the minor version of :
show polardb_version; -
The minor version numbers of were updated to a 6-digit format on February 26, 2025 (UTC+8). For change details and the version number mapping, see PolarDB Minor Version Number Format Update.
December 2022
Minor version V1.1.29
|
Category |
Feature |
Description |
References |
|
new feature |
Oracle-compatible DATE types |
Supports 64-bit DATE types that are compatible with Oracle. |
GanosBase V5.1
|
Category |
Feature |
Description |
References |
|
new feature |
ST_GeoHashID function |
Converts GeoHash strings to integer values. |
|
|
ST_GeoHashFromID function |
Converts integer values to GeoHash strings. |
||
|
ST_UpdatePyramid function |
Updates a vector pyramid. |
||
|
ST_SetUpdatePyramidRules function |
Sets rules for vector pyramid update operations. |
||
|
ST_BuildPyramidUseGeomSideLen function |
Builds a vector pyramid based on the size of a vector bounding box. |
||
|
ST_InterpolateRaster function |
Performs spatial interpolation. |
||
|
ST_Contour function |
Generates contours. |
||
|
ST_Statistics function |
Performs statistical analysis on raster data with custom weights using multipoint geometries. |
||
|
ST_Resample function |
Resamples trajectory data. |
||
|
ST_Density function |
Calculates trajectory density statistics. |
||
|
ST_StayPoint function |
Identifies stay points in a trajectory. |
||
|
Bug fix |
Fixed an issue where the raster object became empty after the ST_BuildHistogram function was called. |
||
|
Fixed an issue where passing a null value to the ST_AsTable function for a trajectory caused a crash and returned incorrect z-values. |
|||
|
Fixed an issue where the ST_Split function returned incorrect results when splitting data by GeoHash. |
|||
|
Fixed an attribute field encoding error in the ST_Tile function. |
|||
November 2022
Minor version V1.1.28
|
Category |
Parameter |
Description |
References |
|
New feature |
smlar plugin |
Calculates data similarity efficiently. |
|
|
Adjusted default values for several parameters |
Minor version V1.1.28 of adjusts default parameter values to significantly improve performance. Applies to new clusters only. Modify in the console as needed. |
||
|
hypopg plugin |
Evaluates whether hypothetical indexes would improve query performance. |
||
|
pg_bigm plugin |
Provides full-text search with 2-gram GIN index acceleration. |
||
|
hll plugin |
Adds the HyperLogLog (hll) data type for estimating metrics such as page views (PVs) and unique visitors (UVs). |
||
|
Support for holdable cursors in stored procedures |
Keeps cursors open after transaction commits, allowing operations to span multiple transactions. |
||
|
varbitx plugin |
extends the varbit plugin with additional BIT operations for broader use cases. |
||
|
ZomboDB plugin |
A PostgreSQL extension providing text indexing and analytics through native access methods. |
October 2022
Minor version V1.1.27
|
Category |
Feature |
Description |
References |
|
New feature |
real-time materialized view |
Real-time materialized views stay consistent with base tables during DML operations, improving query performance. |
|
|
Simplified usage of sql_mapping |
You can now use the polar_sql_mapping plugin without modifying the configuration file. |
||
|
pg_sphere plugin |
pg_sphere is a PostgreSQL plugin that supports spherical data types, functions, and operators. |
||
|
Executor pruning for global partitioned indexes |
global partitioned indexes now support index pruning optimization, including optimizer pruning and executor pruning. |
||
|
logical replication slot failover |
Synchronizes logical replication slots from the primary to a secondary instance, enabling slot failover for and . |
||
|
Set the session-level isolation level |
You can set the isolation level for the current session. This setting applies only to the current session. Use the following syntax:
Note
The available isolation levels are:
|
None |
|
|
Tuple-level scanning for parallel execution |
The
Note
For large data scans, block-level scanning offers better performance. |
None |
|
|
|
The
|
None |
September 2022
Minor version V1.1.26
|
Category |
Feature |
Description |
References |
|
New features |
Support for DBMS_METADATA |
Use the methods in DBMS_METADATA to retrieve object definitions for reconstruction. |
|
|
Support for nls_timestamp(_tz)_format |
Supports the nls_timestamp(_tz)_format time format. |
||
|
Support for logon and logoff triggers |
A logon and logoff trigger is an event trigger that executes a specified function or stored procedure when a user logs on or off. |
||
|
Full caching for batch writes |
The new
Note
|
None |
|
|
Support for ORDER BY clauses with aggregate functions |
You can now use an
|
||
|
Support for expressions on DISTINCT columns in the ORDER BY clause |
The
|
||
|
Support for aliased expressions in the ORDER BY clause |
You can now use expressions with aliases in an
Note
When this feature is enabled, if an object alias in the |
||
|
All legacy compatibility features enabled by default |
The following parameters are enabled by default for new clusters:
The following parameters must be enabled manually in the console:
|
None |
GanosBase V4.9
|
Category |
Feature |
Description |
References |
|
New features |
ST_Intersection aggregate function |
Calculates the intersection of a set of geometry objects. |
|
|
ST_AddZ function |
Converts a 2D or 3DM geometry object to a 3D or 4D object by using an array of Z-coordinates. |
||
|
ST_SetValue function |
Sets pixel values at specified positions or within the spatial extent of a given geometry object. |
||
|
Improvements |
ST_ExportTo function |
You can now export raster objects as COG files. |
|
|
ST_CreateRast function |
Converts multiple records or an array of regular grid points into a raster object. |
||
|
ST_Split function |
When you split a trajectory by time, you can now specify a start time. You can also split a trajectory by the sequence number of its points. |
||
|
ST_Union function |
Now executes in batches based on memory usage to prevent out-of-memory (OOM) errors when processing large datasets. |
||
|
ST_CreateRast function |
You can now create raster objects from raster data stored in HDFS. |
||
|
ST_ImportFrom function |
You can now import raster data from HDFS. |
||
|
ST_ExportTo function |
You can now export raster data to the HDFS file system. |
||
|
Bug fixes |
Fixed an issue where the ST_makeTrajectory function could cause a crash. |
||
|
Fixed an issue where the ST_lcsSimilarity function did not recognize time intervals specified in days. |
|||
|
Fixed an issue where the ST_AsEWKB function failed to convert trajectories built from data tables. |
|||
|
Fixed an issue where the ST_BuildPyramid function consumed excessive memory when building a vector pyramid from a very large dataset. |
|||
August 2022
Minor version V1.1.25
|
Category |
Feature |
Description |
References |
|
New feature |
pgAudit plugin |
Supports the pgAudit plugin for generating audit logs. |
|
|
Support for DBMS_UTILITY.FORMAT_ERROR_BACKTRACE |
The |
||
|
Support for modifying data types of a base table with a view |
You can directly modify the column data types of a base table if a simple view is built on it. |
||
|
Support for DML from subquery |
Supports using subqueries in DML statements, such as You can use the
|
||
|
DML support for global partitioned index scan |
Supports |
||
|
Case insensitivity |
Adds a case insensitivity feature. When enabled, the system treats unquoted, all-uppercase, and all-lowercase identifiers for database objects as equivalent. |
||
|
New Oracle built-in functions |
adds the following Oracle built-in functions:
|
None |
|
|
Plugins installed by default |
installs the following plugins by default:
Note
The first six plugins ensure compatibility. |
None |
July 2022
Minor version V1.1.24
|
Category |
Parameter |
Description |
References |
|
New feature |
plan_cache_mode |
Adds the
|
None |
GanosBase V4.7
|
Category |
Parameter |
Description |
References |
|
New feature |
ST_makeTrajectory function |
Converts table rows to a trajectory. |
|
|
ST_AsTable function |
Converts a trajectory to a table. |
||
|
Fixed issue |
Fixed an issue that prevented the automatic deletion of anonymous temporary tables during raster data operations. |
||
June 2022
Minor version V1.1.23
|
Category |
Feature |
Description |
References |
|
New |
Support for DBMS_SQL.define_array |
The DBMS_SQL package now includes the |
|
|
Support for using both %TYPE and |
You can now specify default values in a stored procedure by using both %TYPE and the |
||
|
Global Partitioned Index |
You can now create a Global Partitioned Index on a partitioned table. |
||
|
pg_hint_plan |
Adjusts execution plans using hints in special comment statements. |
||
|
Optimization |
Optimization of the resource manager's memory release process |
|
N/A |
March 2022
Minor version V1.1.22
|
Category |
Feature |
Description |
References |
|
New feature |
Implicit type conversion |
Adds support for implicit type conversion for compatibility with the Oracle implicit conversion matrix. This feature also supports converting high-precision numeric types to low-precision types. |
None |
|
PX Analyze feature |
|
None |
|
|
Support for changing column types in global temporary tables |
Now supports ALTER statements for global temporary tables (GTTs). |
None |
|
|
Support for Clang compilation |
Now supports compilation with Clang. |
None |
GanosBase V4.6
|
Category |
Feature |
Description |
References |
|
New feature |
Object storage service paths |
You can now access raster data from self-managed MinIO servers. |
|
|
ST_PointValues function |
Adds the ST_PointValues function for raster data, returning the pixel values of all bands. |
||
|
Fixed issues |
Corrected the band order when using the ST_Clip function for raster data. |
||
|
Improved the performance of raster data updates by adding a missing primary key index. |
|||
|
The system now retries reading trajectory data from OSS upon failure. |
|||
GanosBase V4.5
|
Category |
Feature |
Description |
References |
|
New feature |
GanosBase now supports the PostgreSQL 14 series. |
None |
|
|
Enhancement |
Enhanced the cache for trajectory objects in external storage to improve access performance. |
None |
|
|
Fixed issues |
Ensured that file extensions are included when exporting raster data to OSS. |
||
|
Fixed statistics collection failures for some raster data. |
|||
January 2022
Minor version V1.1.20
|
Category |
Parameter |
Description |
References |
|
New |
Drop flashback for tables |
Introduces the drop flashback feature, which lets you quickly restore deleted tables, view the recycle bin, and clear its contents. |
|
|
OPT_PARAM hint enhancement |
The enhanced |
||
|
Parallel query for multi-level partitioned tables |
Supports parallel query for multi-level partitioned tables. |
||
|
DML operations with GLOBAL INDEX |
Enables the use of GLOBAL INDEX SCAN in DML operations. |
Ganos V4.4
|
Category |
Parameter |
Description |
References |
|
New |
ST_LinearStretch function |
Introduces the |
|
|
ST_BuildPercentiles function |
Calculates the pixel value percentiles for a raster. |
||
|
ST_ComputeStatistics function |
Computes raster statistics, histograms, and percentiles in a single operation. |
||
|
ST_Percentile function |
Retrieves the pixel value percentiles for a raster. |
||
|
Improved |
Parallel computing |
The ST_SummaryStats and ST_BuildHistogram functions now support parallel computing. |
N/A |
|
ST_ExportTo function |
The |
N/A |
|
|
ST_ImportFrom function |
The |
||
|
Fixed |
Prevents the loss of half a pixel from rounding errors when cropping a raster. |
||
|
Resolves errors that occur during the import and statistics collection of raster data containing values such as |
|||