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: Rebuilding MLOG tables

Re: Rebuilding MLOG tables

From: Arup Nanda <orarup_at_hotmail.com>
Date: Thu, 12 Jun 2003 12:47:08 -0700
Message-ID: <F001.005B09C7.20030612122421@fatcity.com>


Stephen,

I do it all the time. Actually you don't have to lock the table; you may simply quiesce the table, meaning no transations will be allowed.

Steps:

Quiesce the table
Apply all the pending logs in the deferred trans queue on secondary database Truncate The MLOG$ table.

No issues; in fact I think (note sure) it is supported by Oracle. And it should be; MLOG$ tables are just plain simple tables anyway.

Hope this helps.

Arup Nanda

>
> Among some of the "Rube Goldberg" applications around here, is one that
has
> multiple replication clients that subscribe to a master. For whatever
> reason, we might have a client not update for a while and the MLOG
table(s)
> get big. Then, after that, every update has to read up to sky-high high
> water mark. From the looking around we have done, the thing to do to get
> the HWM back down without rattling replication seems to be (during a time
> when we know no updates are going into the master):
>
> lock table xyz in exclusive mode;
> alter table mlog$_xyz move tablespace over_there;
> alter table mlog$_xyz move tablespace back_here; (optional, I suppose)
> rollback; (release the lock)
>
> Does anyone know of any issues, pitfalls, invitation for disaster, etc.
with
> this?
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Stephen Lee
> INET: [EMAIL PROTECTED]
>
> 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: [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.net
-- 
Author: Arup Nanda
  INET: [EMAIL PROTECTED]

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: [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).
Received on Thu Jun 12 2003 - 14:47:08 CDT

Original text of this message

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