Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Truncate/load within transaction

Truncate/load within transaction

From: Rick Osterberg <osterber_at_fas.harvard.edu>
Date: Fri, 26 May 2000 12:45:27 -0400 (EDT)
Message-Id: <10509.106896@fatcity.com>


Question on feasability here. I've got a number of tables of moderate size (on the order of hundreds of thousands of rows) which we periodically (mostly daily) pull in from an external data source, via SQL*Loader. Question is - is it possible to provide transparancy of that data load, such that the truncate and table load happen within one transaction? I'd like to set things up such that others looking at this table see old data, and then see new data as soon as the load finishes. Right now, with a standard load, they see old data, then an empty table, then a growing table, and then a full table.

Thoughts? Many thanks in advance.

-Rick

+--------------------------------------------------------------------------+

|                 Rick Osterberg   osterber_at_fas.harvard.edu                |
|         Database Applications Specialist     FAS Computer Services       |

+--------------------------------------------------------------------------+
Received on Fri May 26 2000 - 11:45:27 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US