The more useful course of action, though, would be to find out why the
snapshot logs keep growing.  Such a situation usually means that the master
site thinks other snapshots exist against the log table, and since they're
never refreshed, the log entries are never purged.

You might want to consider (in this order) dropping the snapshots, dropping
the logs, re-creating the logs, and re-creating the snapshots.  Perform some
DML on the master tables, then do fast refreshes and ensure that the logs
are empty.


Paul Baumgartel
InstiPro, Inc.
[EMAIL PROTECTED]
212 813-0829 x103 (office)
917 549-4717         (mobile)


-----Original Message-----
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 2:31 PM
To: Multiple recipients of list ORACLE-L


See dbms_snapshot.purge_log() in the PL/SQL Supplied Packages Reference.

----------------------------------------------------------------------------
--------
PURGE_LOG procedure

This procedure purges rows from the snapshot log. 

Syntax

DBMS_SNAPSHOT.PURGE_LOG (
   master        IN   VARCHAR2,
   num           IN   BINARY_INTEGER := 1,
   flag          IN   VARCHAR2       := 'NOP');
----------------------------------------------------------------------------
------

--Scott Shafer
  San Antonio, TX


> -----Original Message-----
> From: Bala Muru [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 14, 2001 11:16 AM
> To:   Multiple recipients of list ORACLE-L
> Subject:      Are snapshot logs purged?
> 
> Hello Lists, 
> 
> I have a set of snapshots refreshing in FAST mode
> using snapshot logs. The snapshot log is keep-on
> growing as it should and after certain amount of time,
> I had to expand the tablespace space under which the
> snapshot log is located. 
> 
> My question is, Is there a way to periodically
> truncate or remove records from snapshot logs? Of
> course we can make something on our own by scheduling
> some delete jobs, but, Is there any default method
> available in Oracle? 
> 
> Any input would be highly appreciated. 
> 
> Thanks in advance, 
> Muru 
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Paul Baumgartel
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to