How can I use direct-path inserts to quickly load data into a table with reference partitioning? Direct-path inserts do not work with enabled foreign keys and the foreign key of a reference-partitioned table cannot be disabled.
SQL> create table parent_table(a number primary key)
2 partition by range(a) (partition p1 values less than (1));
Table created.
SQL> create table child_table(a number not null
2 ,constraint child_table_fk foreign key (a) references parent_table(a))
3 partition by reference (child_table_fk);
Table created.
SQL> alter table child_table disable constraint child_table_fk;
alter table child_table disable constraint child_table_fk
*
ERROR at line 1:
ORA-14650: operation not supported for reference-partitioned tables