Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Re: performance when inserting into child tables
I am the only person on the system. I'm doing a data load.
I did an insert select on the parent and in ran in 1.5 hours.
I am doing the same insert select to the child and it has run for 6.5 hours. The foreign key is not indexed. I think it has to do with having to check the parent for data integrity, but I do not know if a lack of index on the child table matters. I have noticed this alot lately.
I have noticed that is worth when you have a cascade. Even if the insert is on the child table. Not sure what else to look at.