RMAN-08137: WARNING: archived log not deleted, needed for standby
I simulated the same on my test machine.
Note. I had configured standby for my primary database but not the upstream.
Followings are the excerpts from the RMAN output.
Database Architect,Core DBA ,APPSDBA,Mysql DBA,MongoDB,PostgreSQL,MariaDB,Installations,Upgrades on all Flavors of UNIX (LINUX,SOLARIS,HP(AIX)). Oracle E-Business Suite R12 (Upgrades,Patching,Cloning) AWS upgrades and implementation expert. OCI (Oracle Cloud Infrastructure) Architect, Exadata (Oracle Database Exadata Cloud at Customer(Exacc)),Superclusters ,Autonomous Databases, AWS RDS Customs , Sql Tuning Expert. ***Never Stop sharing,Learning and Growing***
Hard Parses can be
largely reduced using Bind Variables.
Actually, Oracle
differentiates between parent and child cursor stored in the Shared Pool area.
Every parsed SQL
statement has a parent
cursor and
one or more child cursors. The parent cursor stores the text of the SQL
statement. If the text of two statements is identical, then the statements
share the same parent cursor. If the text is different, however, then the
database creates a separate parent cursor.
Every parent cursor has
one or more child
cursors.
A child cursor contains the execution plan, bind variables, metadata
about objects referenced in the query, optimizer environment, and other
information. In contrast to the parent cursor, the child cursor does not store
the text of the SQL statement.
Oracle generates child
cursors (linked to an unique parent cursor) for nearly 60 reasons. The
optimizer decides whether to generate a cursor or not, for example, using
cardinality feedbacks, that are sql execution statistics. In this way, for next
sql executions, the Optimizer can make his choice evaluating more than one
plan, without executing an actual Hard Parse.
In this case we could
say that the DB is executing an “Harder” Soft Parse:
This is very useful
because can reduce cardinality impact on execution costs. The v$sql_shared_cursor view contains the reason why a
certain cursor exists (and why it is not shared with existing child cursors).
In fact, this view has more than 60 columns and each column identifies a
specific reason why the cursor can’t be shared.
|
Symptoms: |
Related To: |
|
|
A high number of child cursors may be produced with the same plan when using Adaptive Cursor Sharing for SQL with binds in some cases. Rediscovery Notes This bug may be suspected if all of the following are true: A cursor has a high VERSION_COUNT in V$SQLAREA The reason for not sharing shows as BIND_EQUIV_FAILURE in V$SQL_SHARED_CURSOR The query has multiple predicates with binds that are involved in extended cursor sharing. The are many selectivity ranges (in V$SQL_CS_SELECTIVITY), and they overlap.
Setting _optimizer_extended_cursor_sharing_rel = none avoids the problem In cases if high concurrency the issue may also show as "cursor: pin S wait on X" waits against the problem cursor/s Workaround Set _optimizer_extended_cursor_sharing_rel = none
|
Symptoms: |
Related To: |
|
Cursor leak with ACS(Adaptive Cursor Sharing) and CFB(Cardinality FeedBack) on short-running query and fix for Bug:23596611. Rediscovery Notes If a subsecond query with binds exhibits increasing child cursor count on repeated executions on a release where the fix for Bug:23596611 exists and disabling adaptive cursor sharing or statistics feedback prevents the cursor leak ,t hen you may have encountered this bug. You can see BIND_EQUIV_FAILURE=Y in V$SQL_SHARED_CURSOR. Workaround
Several alternatives: _optimizer_use_feedback=false _optimizer_adaptive_cursor_sharing=false _optimizer_extended_cursor_sharing_rel=none _fix_control='23596611:OFF' may also help in some cases
The i386 (32bit) version of the libXp package is missing. The Oracle Universal Installer ( OUI ) requires the file libXp.so.6 and this file is installed with the package libXp in RHEL 5 and OEL 5.
Issue the following to confirm the missing rpm:
% rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep libXp
SOLUTION
The package libXp was not installed need to install manually.
Install the package libXp by the command:
rpm -ivh </path/to/>libXp.<version>.i386.rpm
Confirm the installer now runs and displays:
./runInstaller