V$
viewsFeature Area | Oracle 19c | Oracle 23c Enhancements |
---|---|---|
Sharding | Supported with manual configuration | Auto-Sharding with native support for Relational Sharding and JSON Relational Duality Views |
Cross-Shard Queries | Manual query federation | Improved cross-shard query execution plans and automatic result aggregation with better parallelization |
Multi-Shard Transactions | Complex 2PC with limitations | Enhanced support for lightweight XA, fast commit protocols, and shard-local ACID with global consistency |
Data Residency & Compliance | Basic data partitioning | Data Sovereignty-aware partitioning, supporting Geo-sharding for regulatory compliance |
JSON Handling | JSON stored as text or BLOB | JSON Relational Duality Views, allowing JSON-centric applications to operate over normalized relational tables across shards |
Distributed Graph & ML | External or add-on | Native support for graph queries, vector operations, and AI/ML pipelines across distributed nodes |
Developer Experience | Mostly manual config | Multitenant container-based distributed setup, SQL macros, REST APIs, and AutoML integration |
Cloud-native readiness | Optimized for on-prem & hybrid | Designed for distributed cloud, supports autonomous shards, and Kubernetes-based deployment |
Security | Localized roles and auditing | Centralized auditing, end-to-end encryption, unified RBAC across distributed nodes |
Data Sync & Refresh | DB Links & Streams | Oracle GoldenGate optimized for shards, plus declarative replication policies |
Use Case | Improved in 23c |
---|---|
Global Retail Chains | β Better Geo-sharding & partitioning |
Mobile Banking Apps | β Duality Views for JSON APIs |
Real-time Analytics | β Faster cross-shard joins |
AI on Distributed Data | β Integrated ML pipelines |
Component | Oracle 19c (DB Links & Streams) | Oracle 23c (Auto-Sharding) |
---|---|---|
Network Configuration | Requires manual setup of DBLINKS between databases. Complex TNS configurations. |
Auto-discovered shard catalogs and connections. Simplified config via GDSCTL . |
Data Movement / Replication | Streams required for replication; deprecated and superseded by GoldenGate. | Declarative replication between shards. No Streams. Uses GoldenGate or built-in sync logic. |
Application Logic | Apps must be shard-aware or use views that federate across DB Links. | Transparent sharding. App connects to a shard catalog; routing is automated. |
Schema Management | Manual sync of schema definitions across nodes. | Shard catalog enforces uniform schema across all shards automatically. |
Query Execution | Queries across DB Links have latency and limited parallelism. | Optimized cross-shard querying and result aggregation built-in. |
Security | Separate authentication per DB link; limited centralized auditing. | Centralized identity (e.g., IDCS), unified audit policies across shards. |
High Availability | Manual failover handling; Streams configuration is fragile. | Built-in shard-level HA; shard director reroutes based on health. |
Scalability | Vertical scaling; horizontal scaling is non-trivial. | Native horizontal scaling by adding shards declaratively. |
Monitoring & Tuning | Requires custom scripts or Enterprise Manager to monitor DB Links & Streams. | Integrated with Oracle Sharding Management and AWR views per shard. |
Deployment Complexity | High β must configure Streams, DB Links, failover manually. | Lower β auto-sharding setup via shard catalog, GDSCTL. Declarative approach. |
CREATE DATABASE LINK
.tnsnames.ora
and listener.ora
entries grow complex.SELECT * FROM table@remote_db
.