Enable foreign key constraint is slow
290946Nov 3 2009 — edited Nov 3 2009Hi,
I am trying to enable a foreign key constraint using..
alter table <table name> enable constraint <fk constraint name>;
It takes a long time, in fact, it hangs. The SQL is shown to consume CPU, when seen from Oracle Enterprise Manager Top SQL page.
Is this a bug?
We have tried with and without index on the FK column(s) before enabling the FK.
Regards,
Rahul