If standby database is not in sync with the primary database, there could be several reasons for this. After you have identified the reason and resolved it, log shipping still may not be functional form the primary to the standby. As a last resort, you may want to kill the currently running archive processes on the standby database so that ARC processes are spawned again and could connect to the standby database. In the following I would explain how to kill the ARC process on Unix based as well as Windows based systems.
LOG_ARCHIVE_MAX_PROCESSES
SQL>
SHOW PARAMETER log_archive_max_processes |
After some time, you may
set log_archive_max_processes back to its original value.
SQL>
alter system set log_archive_max_processes=4; |
For Linux based systems,
above method would work perfectly fine, but it is even easier to kill ARC
processes at OS level using kill command. This killing of archive process would
not affect the database functionality as Oracle would automatically spawn the
new ARC processes as per setting of parameter log_archive_max_processes.
[root]#
ps –ef | grep arc oracle 32714
1 0 |
kill -9
Use “kill” command on Unix based systems to kill the arc processes. You can kill them all onne by one and after some time you can see ARC processes automatically re-spawned.
[root]#
kill -9 32714 [root]#
ps –ef | grep arc |
No comments:
Post a Comment