Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Poor Performance of Nested Tables
As Christian said, index nested_table_id.
It's been three years, but as I recall that is the "hidden" foreign key between the parent and child table. Missing indexes on large child table foreign keys is generally a bad problem when deleting from the parent, even when there are no matching rows in the child, you get full scans. Nasty.
Ideally, you'd never model with nested tables as a column type unless you had a really good reason and an understanding of the limitations. But seeing how you're stuck...
index nested_table_id
On 6/2/05, Madhavi Kanugo <MKanugo_at_ibasis.net> wrote:
> Hello All,
> from this table, we noticed that it does a Full Table scan of the Nested > tables for each and every row we are deleting resulting in very poor > performance.
> this? Anyone encountered this situation before?
> Thanks in advance,
> Madhavi
> -- > http://www.freelists.org/webpage/oracle-l
--=20
bill coulam
bcoulam_at_gmail.com
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Jun 02 2005 - 17:35:09 CDT
![]() |
![]() |