Is there any partitioning scenario in which the partitioned table is absolutely required to have primary key?
Oracle partitioning scenario with primary key absolutely required
oraclepartitioningprimary-key
Related Question
- Feasibility of Partitioning existing tables with huge data in Oracle
- Mysql – When range partitioning, should I drop primary UUID-like key
- Mysql – Does partitioning help with lookups and inserts/updates by primary key
- Sql-server – Composite Primary Key on partitioned tables, and Foreign Keys
- Postgresql – Any workarounds for lack of primary key on partitioned tables
- Mysql – Partitioning with AUTO_INCREMENT primary key
- Mysql – Partitioning in MySql 5.7 with Primary Key and Unique Key
Best Answer
Yes, reference partitioning requires a primary key on the parent table.
If you try to do this with a unique key instead of a primary key, you will get this error: