Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Are snapshot logs purged?
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.
paul.baumgartel_at_instipro.com
212 813-0829 x103 (office)
917 549-4717 (mobile)
-----Original Message-----
[mailto:Scott.Shafer_at_dcpds.cpms.osd.mil]
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.
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:muru_oracle_at_yahoo.com]
> 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: Scott.Shafer_at_dcpds.cpms.osd.mil 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Paul Baumgartel INET: PaulB_at_instipro.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 Wed Feb 14 2001 - 14:10:35 CST