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 REFRESH

Re: SNAPSHOT REFRESH

From: <Jared.Still_at_radisys.com>
Date: Mon, 9 Aug 2004 10:21:03 -0700
Message-ID: <OF5940726A.44914D80-ON88256EEB.005F33DA-88256EEB.005F52DA@radisys.com>


> Seema,
>
> I have seen this happen when you refresh instances and use DBMS_JOB to
> refresh your materialized views (AKA snapshots). What usually happens
is
> that just after you open the database (after creating the control file
of
> the new instance and perform any recovery if hot backup was used) the
> DBMS_JOB runs and refreshes the MV's in the new instance and resets the
MV
> logs on the source (usually production!).
>
> If this is your case then include an 'ALTER SYSTEM SET
JOB_QUEUE_PROCESSES =
> 0;' in your rebuild script just before you issue the 'ALTER DATABASE
OPEN
> [RESETLOGS];' statement. Once the DB is open then include a step to
drop
> the DBMS_JOB that refreshes the MV's and then issue an 'ALTER SYSTEM SET
> JOB_QUEUE_PROCESSES = n;' where n is the value that you would like to
run in
> your non-production instances.
>
> Good Luck!
>
> -f
>

Good info Faan. I think I may have recently shot myself in the foot with that
during recovery testing. Time to update the docs. :)

Jraed



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

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Mon Aug 09 2004 - 12:17:06 CDT

Original text of this message

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