Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Which is best (Global Temporary Table or Object Type Tables)

816802Feb 3 2011 — edited Feb 3 2011
Dear All,

I am trying fine tune some code and find that we have a big loop which is going to loop more than 100000 time and for each record, it in turn checks for some validation in individual tables.

I am planning to implement all the checking functionalities using join conditions. I.E. Dump all the data into some global temporary table or oracle tables of object type and implement the checking conditions using join operations, so that I can avoid the unnecessary checking for each record.

If I want to implement this, I want to know which one is better. A Global Temporary table or an Oracle Nested Tables.

Much appreciate your response.

Thanks,
MK.
This post has been answered by William Robertson on Feb 3 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 3 2011
Added on Feb 3 2011
2 comments
676 views