Oracle - truncating a global temporary table

Posted by superdario on Stack Overflow See other posts from Stack Overflow or by superdario
Published on 2010-04-28T23:05:55Z Indexed on 2010/04/28 23:07 UTC
Read the original article Hit count: 166

Filed under:
|

I am processing large amounts of data in iterations, each and iteration processes around 10-50 000 records. Because of such large number of records, I am inserting them into a global temporary table first, and then process it. Usually, each iteration takes 5-10 seconds.

Would it be wise to truncate the global temporary table after each iteration so that each iteration can start off with an empty table? There are around 5000 iterations.

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about sql