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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: complete refresh

RE: complete refresh

From: Daniel Harron <daniel_at_ip-soft.net>
Date: Wed, 15 Oct 2003 14:54:25 -0800
Message-ID: <F001.005D344B.20031015145425@fatcity.com>


use:
BEGIN
   DBMS_SNAPSHOT.REFRESH (
   list => 'tables',
  method => 'C',
  atomic_refresh => TRUE);
END;
/  

-Daniel

--

Daniel Harron
Database Management
IPsoft, Inc.
daniel.harron_at_ip-soft.net
http://www.ip-soft.net/
Phone: 888.IPSOFT8
Fax: 801.681.7664   

-----Original Message-----

Oracle-L
Sent: Wednesday, October 15, 2003 6:40 PM To: Multiple recipients of list ORACLE-L

Sai  

Complete refresh always truncates the table and then does an insert.  

However there is trick - if you create a refresh group (even if it contains just one snapshot) and refresh the group instead of the snapshot then it will not truncate but it will delete the rows.  

Babu

hi  

does complete refresh of mvs always do a truncate of the table and then does an insert from the master site or is there a possibility when it deletes the records in the table and does a insert of the records from master site.
 one more question is whether this functionality has changed from 7 to 8i/9i. some here in my team say in 7 version complete refresh used to delete records and not truncate the snapshot.  

thx
sai

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Daniel Harron
  INET: daniel_at_ip-soft.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Oct 15 2003 - 17:54:25 CDT

Original text of this message

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