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: Purging database question

Re: Purging database question

From: Michael Ray <Michael.Ray_at_trw.com>
Date: Tue, 14 Nov 2000 13:21:34 -0800
Message-Id: <10680.122046@fatcity.com>


--=_ECB7CA02.4C2DDB0F

Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Deepak,
We are facing a similar situation where we want to keep the "live" = database small so it can be recovered quickly and have an "archive" server = for the older data (we must keep data for 10 years). I was thinking = replication would be the way to go. Ours is not an OLTP system so maybe it = will work for us?

Could you tell me what manuals, papers, etc. you used to set up replication= ? I'm quite new to Oracle.

We're having a contractor design a system to do this, and I'm assuming he = will use replication so I'd like to learn more about it. One problem I'm = not sure this will handle well is if a module is in the "archive" db and = it shows up again (field return), it will be placed in the "live" database = and have new data attached to it. What happens when it gets "archived" = again?

Any insights you could provide would be appreciated. Thank you.

Michael Ray
Oracle DBA
TRW, Marshall, IL
217-826-3011 x2438

>>> sharmakdeep_at_yahoo.com 11/14/00 12:15PM >>> Yosi,

Yes, we are trying to keep dbs in sync. It's simply that we want the production database to be kept limited in size (thus purging it periodically), but at the same time another database should have all production data (and should be in sync - except for purged data).

We did use Oracle replication, but the number of txns were very high as compared to ones getting pushed. So, the queue was always building up, and we had to cancel the replication. May be we need to do some tuning. But, in the meanwhile I was looking for alternatives.

Thanks,
Deepak

=3D=3D=3D=3D=3D
Oracle DBA,
Minneapolis, MN
USA



Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/
--=20
Please see the official ORACLE-L FAQ: http://www.orafaq.com --=20
Author: Deepak Sharma
  INET: sharmakdeep_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).

--=_ECB7CA02.4C2DDB0F
Content-Type: text/plain
Content-Disposition: attachment; filename="TEXT.htm"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR></HEAD>
<BODY style="FONT: 8pt MS Sans Serif; MARGIN-LEFT: 2px; MARGIN-TOP: 2px"><FONT 
size=1>
<DIV>Deepak,</DIV>
<DIV>We are facing a similar situation where we want to keep the "live" database small so it can be recovered quickly and have an "archive" server for the older data (we must keep data for 10 years). I was thinking replication would be the way to go. Ours is not an OLTP system so maybe it will work for us?</DIV> <DIV>&nbsp;</DIV>
<DIV>Could you tell me what manuals, papers, etc. you used to set up replication? I'm quite new to Oracle.</DIV> <DIV>&nbsp;</DIV>
<DIV>We're having a contractor design a system to do this, and I'm assuming he will use replication so I'd like to learn more about it. One problem I'm not sure this will handle well is if a module is in the "archive" db and it shows up again (field return), it will be placed in the "live" database and have new data attached to it. What happens when it gets "archived" again?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any insights you could provide would be appreciated. Thank you.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Michael Ray<BR>Oracle DBA<BR>TRW, Marshall, IL<BR>217-826-3011 
x2438</FONT><BR><BR>&gt;&gt;&gt; sharmakdeep_at_yahoo.com 11/14/00 12:15PM &gt;&gt;&gt;<BR>Yosi,<BR><BR>Yes, we are trying to keep dbs in sync. It's simply<BR>that we want the production database to be kept<BR>limited in size (thus purging it periodically), but at<BR>the same time another database should have all<BR>production data (and should be in sync - except for<BR>purged data).<BR><BR>We did use Oracle replication, but the number of txns<BR>were very high as compared to ones getting pushed. So,<BR>the queue was always building up, and we had to cancel<BR>the replication. May be we need to do some tuning.<BR>But, in the meanwhile I was looking for alternatives.<BR><BR>Thanks,<BR>Deepak<BR><BR>--- Yosi Greenfield &lt;yosi_at_comhill.com&gt; wrote:<BR>&gt; Deepak,<BR>&gt; <BR>&gt; Didn't really understand your question. Why do you<BR>&gt; need a tool to purge<BR>&gt; the data?<BR>&gt; Sounds like SQLPlus would work. Purge database a,<BR>&gt; don't purge database b.<BR>&gt; <BR>&gt; Unless maybe you mean a tool to keep the dbs in<BR>&gt; sync, like Oracle<BR>&gt; Replication.<BR>&gt; You can use that, and you write procedures to do the<BR>&gt; purge, and make sure<BR>&gt; that<BR>&gt; those aren't replicated. I did something similar for<BR>&gt; a client and it was<BR>&gt; pretty<BR>&gt; complicated, (and it won't be supported by Oracle,)<BR>&gt; so make sure you want<BR>&gt; to<BR>&gt; go there. Then, go get a consultant.<BR>&gt; <BR>&gt; hth,<BR>&gt; <BR>&gt; Yosi<BR>&gt; <BR>&gt; sharmakdeep_at_yahoo.com wrote:<BR>&gt; <BR>&gt; &gt; We have database A, which needs to be periodically<BR>&gt; &gt; purged. But, at the same time we require to have<BR>&gt; &gt; another database B which contains all records of A<BR>&gt; &gt; (even the ones purged). Thus, database B should<BR>&gt; have<BR>&gt; &gt; everything (ever growing). Can anyone suggest a<BR>&gt; method<BR>&gt; &gt; or tool to achieve this ?<BR>&gt; &gt;<BR>&gt; &gt; -- Deepak Sharma<BR>&gt; &gt;<BR>&gt; &gt; =====<BR>&gt; &gt; Oracle DBA,<BR>&gt; &gt; Minneapolis, MN<BR>&gt; &gt; USA<BR>&gt; &gt;<BR>&gt; &gt;
__________________________________________________<BR>&gt; &gt; Do You 
Yahoo!?<BR>&gt; &gt; Yahoo! Calendar - Get organized for the holidays!<BR>&gt; &gt; http://calendar.yahoo.com/<BR>&gt; &gt; --<BR>&gt; &gt; Please see the official ORACLE-L FAQ:<BR>&gt; <A href="http://www.orafaq.com">http://www.orafaq.com</A><BR>&gt; &gt; --<BR>&gt; &gt; Author: Deepak Sharma<BR>&gt; &gt;&nbsp;&nbsp; INET: sharmakdeep_at_yahoo.com<BR>&gt; &gt;<BR>&gt; &gt; Fat City Network Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051 <BR>&gt; FAX: (858) 538-5051<BR>&gt; &gt; San Diego,
California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet<BR>&gt; access / Mailing Lists<BR>&gt;
&gt;<BR>&gt;<BR>--------------------------------------------------------------------<BR>&gt; 
&gt; To REMOVE yourself from this mailing list, send an<BR>&gt; E-Mail message<BR>&gt; &gt; to: ListGuru_at_fatcity.com (note EXACT spelling of<BR>&gt; 'ListGuru') and in<BR>&gt; &gt; the message BODY, include a line containing: UNSUB<BR>&gt; ORACLE-L<BR>&gt; &gt; (or the name of mailing list you want to be<BR>&gt; removed from).&nbsp; You may<BR>&gt; &gt; also send the HELP command for other information<BR>&gt; (like subscribing).<BR>&gt; <BR>&gt; --<BR>&gt; Thanks,<BR>&gt; <BR>&gt; Yosi<BR>&gt; <BR>&gt;
<BR>&gt;<BR>---------------------------------------------------------<BR>&gt; 
Yosi Greenfield<BR>&gt; Database Architect<BR>&gt; Comhill Systems, Inc.<BR>&gt; yosi_at_comhill.com<BR>&gt; <BR>&gt; <BR>&gt; -- <BR>&gt; Please see the official ORACLE-L FAQ:<BR>&gt; <A
href="http://www.orafaq.com">http://www.orafaq.com</A><BR>&gt; -- <BR>&gt; 
Author: Yosi Greenfield<BR>&gt;&nbsp;&nbsp; INET: yosi_at_comhill.com<BR>&gt; 
<BR>&gt; Fat City Network Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; 
FAX:<BR>&gt; (858) 538-5051<BR>&gt; San Diego, California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet<BR>&gt; access / Mailing
Lists<BR>&gt;<BR>--------------------------------------------------------------------<BR>&gt; 
To REMOVE yourself from this mailing list, send an<BR>&gt; E-Mail message<BR>&gt; to: ListGuru_at_fatcity.com (note EXACT spelling of<BR>&gt; 'ListGuru') and in<BR>&gt; the message BODY, include a line containing: UNSUB<BR>&gt; ORACLE-L<BR>&gt; (or the name of mailing list you want to be removed<BR>&gt; from).&nbsp; You may<BR>&gt; also send the HELP command for other information<BR>&gt; (like subscribing).<BR><BR><BR>=====<BR>Oracle DBA,<BR>Minneapolis,
MN<BR>USA<BR><BR>__________________________________________________<BR>Do You 
Yahoo!?<BR>Yahoo! Calendar - Get organized for the holidays!<BR><A href="http://calendar.yahoo.com/">http://calendar.yahoo.com/</A><BR>-- <BR>Please see the official ORACLE-L FAQ: <A href="http://www.orafaq.com">http://www.orafaq.com</A><BR>-- <BR>Author: Deepak Sharma<BR>&nbsp; INET: sharmakdeep_at_yahoo.com<BR><BR>Fat City Network Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858) 538-5051<BR>San Diego, California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet access / Mailing
Lists<BR>--------------------------------------------------------------------<BR>To 
REMOVE yourself from this mailing list, send an E-Mail message<BR>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in<BR>the message Received on Tue Nov 14 2000 - 15:21:34 CST

Original text of this message

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