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: Snapshot Logs Explanation Needed

Re: Snapshot Logs Explanation Needed

From: A. Bardeen <abardeen1_at_yahoo.com>
Date: Thu, 31 May 2001 13:36:08 -0700
Message-ID: <F001.00316D72.20010531131333@fatcity.com>

Hi Tracy,

Oracle still won't let you do a fast refresh if the creation time stamp on the snapshot log is more recent than the creation time stamp or last complete refresh of the snapshot. An attempt to do so will generate the dreaded ORA-12004: "REFRESH FAST cannot be used" (see note 1035524.6 "DIAGNOSING THE ORA-12004").

The bottom line is Oracle has to guarantee that snapshots will be in sync with their master tables and the only way it can do that is to prevent you from doing something that could potentially allow them to get out of sync.

You don't mention what version you're on, but if you're on 8i and using PK-based snapshots, why not alter the master table storage conditions and use ALTER TABLE ... MOVE to move it into the new tablespace? I haven't personally tried this, but I don't see why it wouldn't work.

I was also trying to think of a way the ON PREBUILT TABLE clause of the create snapshot/MV command in 8i could be used, but you'd still have to end up exporting/importing the table on the snapshot site or recreating it in some fashion (CTAS, sqlldr, etc...) as it will complain about the snapshot already existing and if you drop it you've lost the base table.

HTH,


Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: A. Bardeen
  INET: abardeen1_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Thu May 31 2001 - 15:36:08 CDT

Original text of this message

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