Oracle Database Sharding Infographic
Total Page:16
File Type:pdf, Size:1020Kb
Oracle Database Sharding Oracle Sharding : Scale-out Rela7onal Database Sharding = Distributed Par77oning + Replica7on One giant database par66oned into many small databases (shards) Built on shared-nothing hardware architecture • Some web-scale OLTP applicaons use database sharding to avoid • Horizontal par66oning of data using a sharding key (e.g. scalability or availability edge cases of a single large database customer_id) across a farm of independent Oracle Databases • Oracle 12cR2 is the first full-featured RDBMS that provides nave • Shards can be hosted on commodity servers or engineered systems database sharding while suppor6ng enterprise capabili6es • Data automacally replicated with Data Guard or Oracle GoldenGate for high availability and disaster recovery Benefits Linear Scalability Fault Isola7on Geographic Distribuon Flexible Deployment 12,000,000 CPU CA On-Premises Hybrid Cloud 10,000,000 CA CA 8,000,000 … TPS 6,000,000 CA Vector Register 4,000,000 … 2,000,000 0 50 100 150 200 # of Shards Add shards online to Shared-nothing Data Sovereignty - for Flexible On-Premises, Cloud or Hybrid linearly scale - architecture. data privacy regulaons. Deployments. transac6ons, users and Fault of one shard Data Proximity - to bring Supports Cloud bursng database capacity has no impact on data closer to the users other shards Salient Features • Auto deployment of up to 1000 shards • Direct Rou6ng – Supports Data Guard and Oracle GoldenGate – Direct fast path SQL access via sharding key from smart topology- • Mul6ple sharding methods aware connec6on pools – System Managed (Consistent Hash) – Applicaon and data 6ers can be scaled independently • Uniform data distribu6on across shards à linear scalability • Proxy Rou6ng for mul6-shard queries – Composite (Range/List-Consistent Hash) – Powerful SQL processing that can operate across mul6ple shards • Geo-distribu6on plus linear scalability – Supports mul6ple consistency levels • Centralized schema maintenance • Complete Lifecycle Management – Nave SQL for sharded and duplicated tables – Online scale-out w/auto resharding or scale-back – Shard catalog/Coordinator manages all the shards as a single – Chunk split and move logical database – Automated Patching w/ Opatchauto – Command Line and Oracle Enterprise Manager Addi7onal Informa7on Oracle Sharding is available both in the Oracle Cloud and On-premises. • Sharding on Oracle Technology Network • @OracleSharding www.oracle.com/goto/oraclesharding .