IvorySQL 6.0 Released: PostgreSQL 19 in 15 Days, Real-Time Analytics, and Enhanced Oracle Compatibility
IvorySQL 6.0 upgrades to PostgreSQL 19, adds 48 Oracle compatibility features, introduces a real-time query analytics engine, supports 34 extensions and tools, and improves cloud-native deployment and online CLA signing.
Introduction
On December 4, 2026, the IvorySQL community officially released IvorySQL 6.0.
IvorySQL is an open-source database project initiated by Highgo Software and supported by the OpenAtom Foundation. Built on PostgreSQL, it provides Oracle compatibility.
IvorySQL 6.0 upgrades its core to PostgreSQL 19 and further improves the efficiency of tracking and releasing upstream updates, shortening the turnaround for major releases to 15 calendar days after the upstream release. This release adds 48 Oracle compatibility features and 34 ecosystem components, introduces a real-time query analytics engine, and brings important updates to cloud-native deployment, online trials, and online CLA signing. Together, these improvements expand IvorySQL's capabilities and use cases, opening up more possibilities for developers.
1. Core upgrade: keeping pace with PostgreSQL 19
IvorySQL continues to evolve alongside upstream PostgreSQL. Version 6.0 is based on PostgreSQL 19, giving users access to new capabilities from the upstream community:
- Online table reorganization (REPACK): the new REPACK command reclaims table space and reorganizes table data. REPACK (CONCURRENTLY) performs reorganization without blocking reads or writes on the table.
- Query plan optimization and control: the new pg_plan_advice and pg_stash_advice components allow users to influence the query optimizer's plan choices and automatically apply plan advice to matching queries.
- I/O and query performance improvements: enhancements include automatic scaling of I/O worker processes, faster foreign-key checks, and improvements to query planning and execution.
These are only some of the highlights in PostgreSQL 19. For more features and improvements, see the official PostgreSQL 19.0 release notes.
2. Enhanced Oracle compatibility
Building on existing support for PL/iSQL, packages, data types, and built-in functions, IvorySQL 6.0 adds 48 Oracle compatibility features:
1. Object types and PL/iSQL programming
- Object types and typed references: define object types with
CREATE TYPE ... AS OBJECT, construct objects using attribute-value constructors, and invoke member methods. Define typedREFcolumns and attributes, create references withREF(table_alias), and dereference them withDEREF. Dump and restore preserve the row identifiers used by these references. - Transaction control in
AUTHID DEFINERprocedures: procedures running with definer privileges can executeCOMMITandROLLBACKwhen the calling context permits transaction control. - Autonomous transactions: use
PRAGMA AUTONOMOUS_TRANSACTIONto run a block or routine in an independent transaction. - Record types in packages: declare record types with
TYPE ... IS RECORDwithin packages and reference public record types from other packages. - Local routines in
WITHclauses: declare functions and procedures in Oracle-styleWITHclauses for use within the current statement. - User-defined exceptions: declare and raise named exceptions, and associate them with error codes using
PRAGMA EXCEPTION_INIT. - Implicit records in cursor loops: use record variables implicitly declared by cursor
FORloops.
2. Job scheduling, concurrency, and session management
DBMS_SCHEDULER: manage jobs, programs, schedules, and execution history. To enable automatic execution, preloadivorysql_ora, setivorysql.scheduler = on, and list the target databases inivorysql.scheduler_databases.DBMS_LOCK: coordinate operations across sessions using application-level locks.DBMS_TRANSACTION: control transactions and manage savepoints in PL/iSQL.DBMS_SESSION.RESET_PACKAGE: reset the current session's PL/iSQL package state so that packages are reinitialized on their next use.DBMS_UTILITY: inspect error stacks, call stacks, and backtraces.DBMS_OUTPUT: buffer PL/iSQL output and read it within the current session.
3. Indexes, constraints, and views
CREATE INDEX ... ONLINE: create indexes online using Oracle'sONLINEsyntax.ALTER INDEX ... UNUSABLE: mark an index as unusable. Until it is rebuilt, queries skip the index and writes stop maintaining it.ALTER INDEX ... REBUILD: rebuild indexes using Oracle syntax.ALTER TABLE ... MODIFY ... NOT NULL: addNOT NULLconstraints using Oracle-style column modification syntax.CREATE VIEW ... WITH READ ONLY: create read-only views that reject writes.
4. File access, string matching, and encoding utilities
UTL_FILE: read and write files in PL/iSQL through database directory objects.UTL_MATCH: compare strings using edit distance and Jaro-Winkler similarity.UTL_ENCODE: encode and decodeRAWvalues usingBASE64_ENCODEandBASE64_DECODE.UTL_URL.ESCAPE: percent-encode characters in URL strings.UTL_URL.UNESCAPE: decode percent-encoded characters in URL strings.UTL_RAW.CAST_TO_RAW: convert character data toRAW.DBMS_RANDOM: generate random numbers and strings.
5. Queries, aggregation, and conditional evaluation
LISTAGG: concatenate values in the order specified byWITHIN GROUP (ORDER BY ...).STRAGG: aggregate multiple strings into a single value.ROWNUMpseudocolumn: number result rows or limit the number of rows returned by queries in Oracle mode.LNNVL: return true when a condition is false or unknown.
6. Data dictionary and runtime status views
SYS.V$SESSION: display database session information.SYS.V$PROCESS: display database backend process information.SYS.V$PARAMETER: display database configuration parameters.SYS.DBA_CONS_COLUMNS: list columns involved in constraints throughout the database.SYS.ALL_CONS_COLUMNS: list columns involved in constraints visible to the current user.SYS.USER_CONS_COLUMNS: list columns involved in constraints owned by the current user.SYS.ALL_TAB_COLUMNS: display column information for tables and views visible to the current user.
7. Type conversion and scalar functions
TO_NUMBERinput parsing: accept scientific notation and input with leading or trailing spaces when no format model is specified.ASCIIfunction overloads: accept Oracle-compatible character, numeric, and datetime types.TO_BINARY_FLOAT: convert supported input toBINARY_FLOAT.TO_BINARY_DOUBLE: convert supported input toBINARY_DOUBLE.NANVL: return a specified replacement value when the input isNaN.LENGTHC: count complete Unicode characters.RAWTOHEX: convert values to hexadecimal text.VSIZE: return the number of bytes occupied by a value's internal representation.DBTIMEZONE: read the database time zone configured inivorysql.dbtimezone.
8. Identifiers, client prompts, and configuration
- Reserved
ivorysqlconfiguration prefix: rejectSETandRESETfor unrecognizedivorysql.*parameters. - Oracle mode in the
psqlprompt: use%oin the prompt to display[ORA]when the session is in Oracle mode. The indicator updates as the session mode changes. #in identifiers: allow#in unquoted Oracle identifiers.
3. Introducing a real-time query analytics engine
IvorySQL 6.0 combines row-based transaction processing, columnar analytics, and an open lakehouse to extend its existing transactional capabilities with real-time query analytics. Application writes continue through the existing transaction path. Through the existing SQL interface, analytical queries can use DuckDB's vectorized execution engine to accelerate aggregations and joins directly on the original tables. For broad scans and frequent statistical queries, users can also query continuously synchronized Iceberg columnar mirrors, substantially improving analytics efficiency and making committed business data available for analysis sooner.
The engine consists of three core modules:
- ivy_mooncake provides the SQL interface for columnar mirrors and handles their creation and management.
- ivy_moonlink performs the initial copy of source tables, continuously captures committed changes through logical replication, and synchronizes and persists the data to Iceberg columnar mirror tables.
- ivy_duckdb integrates DuckDB's vectorized execution engine into IvorySQL. It can scan original application tables directly or read Iceberg columnar mirror tables that remain synchronized with them.
IvorySQL retains the upstream projects' data access, incremental synchronization, and analytics capabilities. Users can query existing application tables and columnar mirrors through SQL, read external files such as Parquet and CSV directly, and use DuckDB's vectorized execution to accelerate scans, aggregations, and multi-table joins. Committed inserts, updates, and deletes in transactional tables are continuously synchronized to columnar mirrors for near-real-time analytics. Building on these capabilities, IvorySQL 6.0 adapts the real-time query analytics engine to Oracle compatibility mode.
4. Other features and improvements
- Bug fixes and compatibility improvements
- Fixes multiple Oracle compatibility issues involving NUMBER formatting, string handling, regular expressions, type conversion, system views, and PL/iSQL packages.
- Fixes FORCE VIEW invalidation under concurrent DDL and improves cache updates after changes to package record types.
- Fixes issues with Oracle ROWNUM and OUT-parameter callbacks during LLVM JIT execution, with related exception-handling improvements.
- Improves database tools, extension builds, and automated testing to further strengthen release stability.
- Extension ecosystem and tool updates
- IvorySQL 6.0 supports 34 extensions and tools, covering analytics, full-text search, geospatial data, database monitoring, backup and recovery, connection pooling, and data integration.
- Multi-platform and cloud-native deployment support
- Provides installation packages for X86, ARM, MIPS, and LoongArch, along with a YUM repository hosted in China for faster installation and updates for users in China.
- Supports rapid deployment of standalone databases or high-availability clusters through Docker Compose, Podman, Swarm, Helm, and the IvorySQL 6.0 Operator.
- Releases IvorySQL Cloud 6.0, providing database subscription management, full-lifecycle operational orchestration, and integration with ecosystem services.
- Online CLA signing
- IvorySQL 6.0 introduces a new online CLA signing system. When a contributor without a signed CLA submits a PR, a bot automatically checks their signing status and provides a one-click signing link. Contributors can sign online using their GitHub account, and a PDF confirmation is automatically sent to their email. A single signature covers the relevant IvorySQL community repositories, removing email exchanges and manual waiting to make collaboration smoother.
5. Getting started
IvorySQL 6.0 supports deployment through the available Yum, RPM, source, Docker, and Kubernetes installation methods, as well as an online trial.
- Download: https://github.com/IvorySQL/IvorySQL/releases/tag/IvorySQL_6.0
- Documentation: https://docs.ivorysql.org/cn/ivorysql-doc/v6.0/
- Online trial: IvorySQL 6.0 experiments in the PGNexus sandbox
6. Acknowledgments
The release of IvorySQL 6.0 is made possible by the open-source community's collective efforts. This release brings together more than 150 contributors from around the world, whose code, issue reports, feature improvements, documentation, and community collaboration continue to advance IvorySQL.
The IvorySQL community sincerely thanks everyone who contributed to the development, testing, documentation, and ecosystem of version 6.0, as well as the community members who have supported and followed the project over the years. Every contribution helps IvorySQL grow.
7. Join the community
IvorySQL is licensed under Apache 2.0. We welcome contributions on GitHub, AtomGit, and Gitee, and invite users to join community discussion groups to share issues and suggestions.
- Website: https://www.ivorysql.org
- GitHub: https://github.com/IvorySQL/IvorySQL