.ora-code.com

Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Logical standby issues

Logical standby issues

2005-10-29       - By Laimutis Nedzinskas
Reply:     1     2     3  


Need some help or opinions regarding Oracle logical standby database.

Environment:

Logical standby, version 10, release 1, patch 4.
Primary and standby are tight coupled (maximum availability mode).

These are the main issues I encountered so far:


1) Deletion of consumed archive logs both on the standby and the primary site:
how to detect what logs CAN be deleted: i.e. no one, standby or primary, is
going to request this archive log in the future as far as standby is concerned
(backups are not considered here)?

Recently primary failed to spawn new sessions recently. I suspect this is due
to FAL not founding archive log. Error reads:  

Wed Oct 26 21:42:30 2005
FAL[server, ARC1]: Begin FAL noexpedite archive (branch 559249864 thread 1
sequence 14126 dest (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172
.17.16.52)(PORT=1522)))(CONNECT_DATA=(SERVICE_NAME=VSSECLOG_XPT.NEYDARLINAN.IS)
(INSTANCE_NAME=VSSECLOG)(SERVER=dedicated))))
ARC1: Standby redo logfile selected for thread 1 sequence 14126 for destination
LOG_ARCHIVE_DEST_2
FAL[server, ARC1]: Complete FAL noexpedite archive (thread 1 sequence 14126
destination (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.17.16
.52)(PORT=1522)))(CONNECT_DATA=(SERVICE_NAME=VSSECLOG_XPT.NEYDARLINAN.IS)
(INSTANCE_NAME=VSSECLOG)(SERVER=dedicated))))
FAL[server, ARC1]: Begin FAL archive (branch 559249864 thread 1 sequence 14116
dest (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.17.16.52)(PORT
=1522)))(CONNECT_DATA=(SERVICE_NAME=VSSECLOG_XPT.NEYDARLINAN.IS)(INSTANCE_NAME
=VSSECLOG)(SERVER=dedicated))))
Wed Oct 26 21:42:31 2005
Errors in file c:\oracle\product\10.1.0\admin\vs\bdump\vs_arc1_472.trc:
ORA-00308 (See ORA-00308.ora-code.com): cannot open archived log 'D:\ORACLE\ORADATA\VS\ARCHIVE\ARC14116
_0559249864.001'
ORA-27041 (See ORA-27041.ora-code.com): unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.

I suspect I am doing something wrong deleting primary/standby logs. Should I
always execute dbms_logstdby.purge_session and rely on DBA_LOGMNR_PURGED view?

2) Time from time standby breaks but this is more due to the schema patches. I
found that Oracle recycle bin can be a problem(which feature can be disabled
anyway), operations involving snapshots(snapshots are not supported, that's
true. But things like "create table as select from snapshot" would fail on
standby as well.)  I'd like to discuss those things and try to set some policy
to prevent such problems in advance so that standby just runs w/o admin
intervention.

3) DB Guard leakes PGA memory on the primary. It leaked it for a fact(by OS
reports), it was not V$-view bug. Had to disable it. Not really happy about
that.


5) Primary is not happy about unexpected standby restarts. FAL generaly fails
to reconnect causing DB pauses for 4-5 seconds every 15 or so minutes. I found
some recommendations(kind of "try this, if not try that") on the metalink. It
recommended more or less to defer/enable standby log destination(at primry db)
but what is the real solution anyway?


6) To sum up: something's a bit shaky in my environment at least. Should I give
up with maximum availability mode and reduce the database to maximum
performance mode? I am interested to hear from others.

Thank you in advance,
Laimis


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Logical standby issues</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2><BR>
Need some help or opinions regarding Oracle logical standby database.<BR>
<BR>
Environment:<BR>
<BR>
Logical standby, version 10, release 1, patch 4.<BR>
Primary and standby are tight coupled (maximum availability mode).<BR>
<BR>
These are the main issues I encountered so far:<BR>
<BR>
<BR>
1) Deletion of consumed archive logs both on the standby and the primary site:
how to detect what logs CAN be deleted: i.e. no one, standby or primary, is
going to request this archive log in the future as far as standby is concerned
(backups are not considered here)?<BR>
<BR>
Recently primary failed to spawn new sessions recently. I suspect this is due
to FAL not founding archive log. Error reads:&nbsp;<BR>
<BR>
Wed Oct 26 21:42:30 2005<BR>
FAL[server, ARC1]: Begin FAL noexpedite archive (branch 559249864 thread 1
sequence 14126 dest (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172
.17.16.52)(PORT=1522)))(CONNECT_DATA=(SERVICE_NAME=VSSECLOG_XPT.NEYDARLINAN.IS)
(INSTANCE_NAME=VSSECLOG)(SERVER=dedicated))))<BR>
ARC1: Standby redo logfile selected for thread 1 sequence 14126 for destination
LOG_ARCHIVE_DEST_2<BR>
FAL[server, ARC1]: Complete FAL noexpedite archive (thread 1 sequence 14126
destination (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.17.16
.52)(PORT=1522)))(CONNECT_DATA=(SERVICE_NAME=VSSECLOG_XPT.NEYDARLINAN.IS)
(INSTANCE_NAME=VSSECLOG)(SERVER=dedicated))))<BR>
FAL[server, ARC1]: Begin FAL archive (branch 559249864 thread 1 sequence 14116
dest (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.17.16.52)(PORT
=1522)))(CONNECT_DATA=(SERVICE_NAME=VSSECLOG_XPT.NEYDARLINAN.IS)(INSTANCE_NAME
=VSSECLOG)(SERVER=dedicated))))<BR>
Wed Oct 26 21:42:31 2005<BR>
Errors in file c:\oracle\product\10.1.0\admin\vs\bdump\vs_arc1_472.trc:<BR>
ORA-00308 (See ORA-00308.ora-code.com): cannot open archived log 'D:\ORACLE\ORADATA\VS\ARCHIVE\ARC14116
_0559249864.001'<BR>
ORA-27041 (See ORA-27041.ora-code.com): unable to open file<BR>
OSD-04002: unable to open file<BR>
O/S-Error: (OS 2) The system cannot find the file specified.<BR>
<BR>
I suspect I am doing something wrong deleting primary/standby logs. Should I
always execute dbms_logstdby.purge_session and rely on DBA_LOGMNR_PURGED view?
<BR>
<BR>
2) Time from time standby breaks but this is more due to the schema patches. I
found that Oracle recycle bin can be a problem(which feature can be disabled
anyway), operations involving snapshots(snapshots are not supported, that's
true. But things like &quot;create table as select from snapshot&quot; would
fail on standby as well.)&nbsp; I'd like to discuss those things and try to set
some policy to prevent such problems in advance so that standby just runs w/o
admin intervention.<BR>
<BR>
3) DB Guard leakes PGA memory on the primary. It leaked it for a fact(by OS
reports), it was not V$-view bug. Had to disable it. Not really happy about
that.<BR>
<BR>
<BR>
5) Primary is not happy about unexpected standby restarts. FAL generaly fails
to reconnect causing DB pauses for 4-5 seconds every 15 or so minutes. I found
some recommendations(kind of &quot;try this, if not try that&quot;) on the
metalink. It recommended more or less to defer/enable standby log destination
(at primry db) but what is the real solution anyway?<BR>
<BR>
<BR>
6) To sum up: something's a bit shaky in my environment at least. Should I give
up with maximum availability mode and reduce the database to maximum
performance mode? I am interested to hear from others.<BR>
<BR>
Thank you in advance,<BR>
Laimis<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>