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!

Temporary Tables Vs Two dimensional arrays

User_F2HJQSep 21 2012 — edited Sep 24 2012
Dear Gurus,

We have a requirement to loop through few thousands of rows and do some complex calculations ( We have to do it in PL/SQL as it wont be possible through simple SQL). These rows are output of a long running query which will process millions of rows.

Now the issue - our team is having a confusion whether we should use Temporary table or Two dimensional arrays.

We have tried in both the ways and as of now there seems to be not much difference in processing time. ( I know it is not good to rely only on processing time, specially when it is just a testing environment - not as many data as in production , diiferent server, ....)

Could you gurus please thow some light on this? Will the memory usage and other resource usage be same in both the cases?

Thanks in advance.
This post has been answered by Billy Verreynne on Sep 21 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2012
Added on Sep 21 2012
16 comments
1,454 views