Sharding - Oracle to Aurora PostgreSQL Migration Playbook

Sharding

Feature compatibility AWS SCT / AWS DMS automation level AWS SCT action code index Key differences

No feature compatibility

No automation

N/A

PostgreSQL doesn’t support sharding.

Oracle Usage

Sharding is a method of data architecture where table data is horizontally partitioned across independent databases. These databases are called shards. All of the shards make up a single logical database, which is referred to as a sharded database (SDB). Sharding a table is process of splitting this table between different shards where each shards will have sharded table with the same structure but different subset of rows.

Oracle 18c introduces following sharding enhancements:

  • User-defined sharding. Before Oracle 18c, data was redirected across shards by system. With user-defined sharding, users are now able to explicitly redirect sharded table data to specific individual shards.

  • Using JSON, BLOB, CLOB, and spatial objects functionality in a sharded environment. These objects can now be used in sharded tables.

For more information, see Oracle Sharding Overview in the Oracle documentation.