Mailing List
Home
Forum Home
Oracle List - by freelists.org
Oracle on SUSE Linux - Runing Oracle on SUSE Linux
Oracle database error code ...
www.freelists.org
Subjects
ORA 12540: TNS:internal limit restriction exceeded
ORA 12838 please : Is possible to append two times to the same table befo
ORA 12838 please : Is possible to append two times to the same table before
ora 04031
ora 12500 on windows
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 01925: maximum of 30 enabled roles exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ora 12500 on windows
ORA 01650, one idea
ORA 01650
ORA 4030
ORA 12838 please : Is possible to append two times to thesametable before do
ORA 12838 please : Is possible to append two times to thesame table before d
ORA 01536
ORA 03113 end of file on communication channel
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 00600:
ORA 00020: maximum number of processes (%s) exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ORA 3113 while creating a cluster database 9201 RAC on Linux with OCFS
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 01650, one idea
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 2000 Error Using DBMS STATS GATHER SCHEMA STATS
ORA 01650, one idea
ORA 01650, one idea
ORA 01650, one idea
ORA 01650
ORA 01650
Subject: ora 01031
ORA 4030
ORA 4030
ORA 06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
Subject: Re: ORA 01722 invalid number
 
-none-

-none-

2007-10-31       - By -not available-

 Back
Spool Off

Exit
-- ---- ---- ---- ---- ---- ---- ---

Jack C. Applewhite - Database Administrator
Austin I.S.D.
414.9715 (phone) / 935.5929 (pager)




"David Barbour" <david.barbour1@(protected)>
10/31/2007 04:09 PM

To
"Elliott, Patrick" <patrick.elliott@(protected)>
cc
"JApplewhite@(protected)" <JApplewhite@(protected)>, oracle-l
<oracle-l@(protected)>
Subject
Re: Data Guard Delete Applied ArcLogs




Hmmm....I'm using a catalog and don't think I'd want to do that.  I think
(from experience) if you're using a recovery catalog and run that command
from the standby, you're going to risk deleting logs on the primary as
well as potentially deleting logs that haven't been applied (what if your
managed recovery process crashes for some reason?).

On 10/31/07, Elliott, Patrick <patrick.elliott@(protected)> wrote:
You could just write an RMAN script to do it.  Add the command below to
delete the archivelogs up until yesterday.  You can connect with nocatalog
if you don't have an RMAN catalog.

DELETE ARCHIVELOG UNTIL TIME = sysdate -1;
Pat

From: oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)]
On Behalf Of David Barbour
Sent: Wednesday, October 31, 2007 12:59 PM
To: JApplewhite@(protected)
Cc: oracle-l
Subject: Re: Data Guard Delete Applied ArcLogs

Hi Jack,

In 9i, unless you're backing up from the standby and specify delete all
input(which has pitfalls and perils all its own), you're going to have to
script something.

On 10/31/07, JApplewhite@(protected) < JApplewhite@(protected)> wrote:


Oracle9i ( 9.2.0.8) on HPUX.

Am I just missing it or is there no way to configure a Physical Standby
and/or Data Guard Broker to automatically delete archived redo logs after
they are successfully applied?  I've searched the docs and can't find that
it's possible.  I also checked to see if RMan could do it - no luck.

Will I just have to cron a script to periodically query V$Archived_Log and
generate the rm commands?

Thanks.

Jack C. Applewhite - Database Administrator
Austin I.S.D.
414.9715 (phone) / 935.5929 (pager)




--=_alternative 00755F5486257385_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Thanks to everyone. &nbsp;I decided
to do something like what I used to do with my 8i Standby - create and
run a shell script every hour using the following (called from a cron'd
shell script). &nbsp;I know it'll produce error messages for the logs already
removed, but those get directed to /dev/null.</font>
<br><font size=2 face="sans-serif">-- ---- ---- ---- ---- ---- ---- ---</font>
<br><font size=1 face="Courier New">Set PageSize 0</font>
<br><font size=1 face="Courier New">Set Time &nbsp; &nbsp; Off</font>
<br><font size=1 face="Courier New">Set Timing &nbsp; Off</font>
<br><font size=1 face="Courier New">Set Feedback Off</font>
<br>
<br><font size=1 face="Courier New">Connect / As SysDBA</font>
<br>
<br><font size=1 face="Courier New">Spool rm_applied_arclogs_run.sh</font>
<br>
<br><font size=1 face="Courier New">Select 'rm ' || Name</font>
<br><font size=1 face="Courier New">From &nbsp; V$Archived_Log</font>
<br><font size=1 face="Courier New">Where &nbsp;Completion_Time &gt; SysDate
- 1</font>
<br><font size=1 face="Courier New">And &nbsp; &nbsp;Applied &nbsp; &nbsp;
&nbsp; &nbsp; = 'YES'</font>
<br><font size=1 face="Courier New">Order By Sequence#</font>
<br><font size=1 face="Courier New">/</font>
<br>
<br><font size=1 face="Courier New">Spool Off</font>
<br>
<br><font size=1 face="Courier New">Exit</font><font size=2 face="sans-serif">
<br>
-- ---- ---- ---- ---- ---- ---- ---</font>
<br><font size=1 face="Arial Unicode MS"><br>
Jack C. Applewhite - Database Administrator<br>
Austin I.S.D.<br>
414.9715 (phone) / 935.5929 (pager)<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;David Barbour&quot;
&lt;david.barbour1@(protected)&gt;</b> </font>
<p><font size=1 face="sans-serif">10/31/2007 04:09 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">&quot;Elliott, Patrick&quot; &lt;patrick
.elliott@(protected)&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">&quot;JApplewhite@(protected)&quot;
&lt;JApplewhite@(protected)&gt;, oracle-l &lt;oracle-l@(protected)&gt;<
/font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: Data Guard Delete Applied ArcLogs</font>
</table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br><font size=3>Hmmm....I'm using a catalog and don't think I'd want to
do that. &nbsp;I think (from experience) if you're using a recovery catalog
and run that command from the standby, you're going to risk deleting logs
on the primary as well as potentially deleting logs that haven't been applied
(what if your managed recovery process crashes for some reason?). &nbsp;<br>
</font>
<br><font size=3>On 10/31/07, <b>Elliott, Patrick</b> &lt;</font><a href=mailto
:patrick.elliott@(protected)><font size=3 color=blue><u>patrick.elliott
@(protected)</u></font></a><font size=3>&gt;
wrote:</font>
<br><font size=2 color=blue face="Arial">You could just write an RMAN script
to do it. &nbsp;Add the command below to delete the archivelogs up until
yesterday. &nbsp;You can connect with nocatalog if you don't have an RMAN
catalog.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">DELETE ARCHIVELOG UNTIL TIME =
sysdate -1; </font>
<p><font size=6>Pat</font><font size=3> </font>
<br>
<br>
<hr><font size=2 face="Tahoma"><b>From:</b> </font><a href="mailto:oracle-l
-bounce@(protected)" target=_blank><font size=2 color=blue face="Tahoma"><u
>oracle-l-bounce@(protected)</u></font></a><font size=2 face="Tahoma">
[mailto:</font><a href="mailto:oracle-l-bounce@(protected)" target=_blank>
<font size=2 color=blue face="Tahoma"><u>oracle-l-bounce@(protected)</u></font
></a><font size=2 face="Tahoma">]
<b>On Behalf Of </b>David Barbour<b><br>
Sent:</b> Wednesday, October 31, 2007 12:59 PM<b><br>
To:</b> </font><a href=mailto:JApplewhite@(protected) target=_blank><font
size=2 color=blue face="Tahoma"><u>JApplewhite@(protected)</u></font></a>
<font size=2 face="Tahoma"><b><br>
Cc:</b> oracle-l<b><br>
Subject:</b> Re: Data Guard Delete Applied ArcLogs</font><font size=3><br>
</font>
<br><font size=3>Hi Jack,<br>
<br>
In 9i, unless you're backing up from the standby and specify delete all
input(which has pitfalls and perils all its own), you're going to have
to script something. &nbsp;<br>
</font>
<br><font size=3>On 10/31/07, </font><a href=mailto:JApplewhite@(protected)
target=_blank><font size=3 color=blue><b><u>JApplewhite@(protected)</u></b><
/font></a><font size=3>
&lt; </font><a href=mailto:JApplewhite@(protected) target=_blank><font size=3
color=blue><u>JApplewhite@(protected)</u></font></a><font size=3>&gt;
wrote: </font>
<br><font size=2 face="sans-serif"><br>
Oracle9i (</font><a href=http://9..2.0.8/ target=_blank><font size=2 color=blue
face="sans-serif"><u>
9.2.0.8</u></font></a><font size=2 face="sans-serif">) on HPUX.</font><font
size=3>
<br>
</font><font size=2 face="sans-serif"><br>
Am I just missing it or is there no way to configure a Physical Standby
and/or Data Guard Broker to automatically delete archived redo logs after
they are successfully applied? &nbsp;I've searched the docs and can't find
that it's possible. &nbsp;I also checked to see if RMan could do it - no
luck.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Will I just have to cron a script to periodically query V$Archived_Log
and generate the rm commands?</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Thanks.</font><font size=1 face="Arial Unicode MS"><br>
<br>
Jack C. Applewhite - Database Administrator<br>
Austin I.S.D.<br>
414.9715 (phone) / 935.5929 (pager)</font>
<br>
<table width=100%>
<tr>
<td width=100% bgcolor=white></table>
<br>
<br>
--=_alternative 00755F5486257385_=--
--
http://www.freelists.org/webpage/oracle-l