Solved

Oracle Archivelogs applying but not shipping?

Posted on 2013-12-18
7
417 Views
Last Modified: 2014-01-22
I recently set up my Oracle database to have a physical standby database. When I run this command: select sequence#,applied from v$archived_log order by sequence#; I see the most recent log and that it has applied. However, the physical log is not present in the directory shown when I run archive log list;

I noticed that the global database name is the same for both the primary and standby databases. Is that normal?
0
Comment
Question by:AshleySPM
7 Comments
 
LVL 1

Author Comment

by:AshleySPM
ID: 39727893
I just found that the archivelogs are being stored in the RDBMS folder, which is not the location specified in archive log list or in the log_archive_dest parameter in the init.ora file.
0
 
LVL 12

Expert Comment

by:praveencpk
ID: 39729840
it will be configured in log_archive_dest_n paramter the path if the stand by is configured properly. check these parameter on both primary and secondary standby database.

Also go through the below doc on data gaurd log trasport

http://docs.oracle.com/cd/B19306_01/server.102/b14239/log_transport.htm
0
 
LVL 15

Expert Comment

by:Franck Pachot
ID: 39729881
Hi,

I suppose you are using DG broker.
You can change the standby location with property StandbyArchiveLocation

For example if the standby database is STANDBY the you can:

DGMGRL> edit database 'STANDBY' set property StandbyArchiveLocation='USE_DB_RECOVERY_FILE_DEST';

Open in new window


Regards,
Franck.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 16

Assisted Solution

by:Richard Olutola
Richard Olutola earned 500 total points
ID: 39730348
To answer your other question about the global database name, YES it is normal for this parameter to have same value on both primary and standby. This is becuase the DB_NAME should be  the same on both pri and stby and since the global db name is a concatenation of the DB_NAME and the DB_DOMAIN, it would be the same on both.
The db_unique_name must be different on primary and standby.

Hope this helps in a small measure.

R.
0
 
LVL 1

Accepted Solution

by:
AshleySPM earned 0 total points
ID: 39730594
I don't think we are using a Data Guard Broker. The log_archive_dest_n is configured properly.

Thank you rolutola for that information.
0
 
LVL 1

Assisted Solution

by:AshleySPM
AshleySPM earned 0 total points
ID: 39789467
I did

alter system set standby_archive_dest='proper location';

and then started log recovery.
0
 
LVL 1

Author Closing Comment

by:AshleySPM
ID: 39799500
No one provided the right solution and I found this on my own.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question