Archived destination full -database hangs
Hi All,
If archived destination disk is full database will be in hang stage so how to connect with RMAN and move the archived logs ...
Plz show me the steps.
Thks,
909355
Hi,
You can also backup/delete a few archivelog files with RMAN. Log on the the database server with some user in the dba group, set the good ORACLE_SID then :
rman target /
Recovery Manager: Release 10.2.0.5.0 - Production on Wed Feb 8 15:04:16 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: CHTDB (DBID=813818505)
RMAN> list archivelog all;
using target database control file instead of recovery catalog
List of Archived Log Copies
Key Thrd Seq S Low Time Name
114 1 109 A 08-FEB-12 /save/CHTDB/archivelog/CHTDB_1_109_773071625.arc
116 1 110 A 08-FEB-12 /save/CHTDB/archivelog/CHTDB_1_110_773071625.arc
115 2 95 A 08-FEB-12 /save/CHTDB/archivelog/CHTDB_2_95_773071625.arc
117 2 96 A 08-FEB-12 /save/CHTDB/archivelog/CHTDB_2_96_773071625.arc
RMAN> backup as compressed backupset archivelog sequence between 95 and 96 thread 2 format '/save/CHTDB/rman/arc_%d_%s_%p_%t_%D_%M_%Y' delete input;
Starting backup at 08-FEB-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting compressed archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=2 sequence=95 recid=115 stamp=774716519
input archive log thread=2 sequence=96 recid=117 stamp=774716651
channel ORA_DISK_1: starting piece 1 at 08-FEB-12
channel ORA_DISK_1: finished piece 1 at 08-FEB-12
piece handle=/save/CHTDB/rman/arc_CHTDB_50_1_774717063_08_02_2012 tag=TAG20120208T151102 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
channel ORA_DISK_1: deleting archive log(s)
archive log filename=/save/CHTDB/archivelog/CHTDB_2_95_773071625.arc recid=115 stamp=774716519
archive log filename=/save/CHTDB/archivelog/CHTDB_2_96_773071625.arc recid=117 stamp=774716651
Finished backup at 08-FEB-12
Starting Control File and SPFILE Autobackup at 08-FEB-12
piece handle=/save/CHTDB/rman/c-813818505-20120208-0f comment=NONE
Finished Control File and SPFILE Autobackup at 08-FEB-12(adjust the folder '/save/CHTDB/rman' according to your configuration)
Best regards
Phil
Similar Messages
-
Changing the archive destination in standby database?
My DB is running on Oracle 9.2.0.6.0. I have data guard for my primary database.
Now i wanted to change the archive destination only standby database. What is the process? Any response or any link is appreicated. ThanksThe standby database wouldn't generate archivelogs until and unless it is opened (eg in a failover). So, although there is a definition for the log archive destination in the standby's init.ora / spfile, it is used only to read archivelogs shipped from the primary.
If you are talking of the destination that the primary's archivelogs are shipped to on the standby, technically once the archivelogs are applied on the standby, they are not required and can be deleted. You would be able to configure this. -
Full database export hangs (Oracle9i rel2)
I recently migrated successfully from oracle8i rel 8.0. to oracle9i release 2,But now am not able to do a full database export.has anyone experienced this and whats the remedy?.
the text i get is listed below.
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\Administrator>exp system/manager@ORCL file=C:\orclbk\p
oll.dmp full=y
Export: Release 9.2.0.1.0 - Production on Tue Aug 9 18:36:13 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
. exporting directory aliases
. exporting context namespaces
. exporting foreign function library names
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions
EXP-00090: cannot pin type "OE"."CUSTOMER_TYP"
EXP-00056: ORACLE error 22303 encountered
OCI-22303: type "OE"."CUSTOMER_TYP" not found
EXP-00056: ORACLE error 24323 encountered
ORA-24323: value not allowed
EXP-00000: Export terminated unsuccessfully
C:\Documents and Settings\Administrator>You have to run the export with the SYS user. This error may arise on any plattform ranging form 9.0.1 to 10.2.0.
C:\>exp "'sys/oracle as sysdba'" full=y -
DB13 full database online tape backup error
Dear all Experts
I am trying to take online backup of newly installed ECC development system with AIX6.1,Oracle 11g,tape inserted and Initialized successfully in DB13 ,but I have tried to fire the backup of online backup i am getting error
please find the below log and can anyone help me out??
initGDV.sap file setup
is
backup_mode = all
restore_mode = all
backup_type = online
backup_dev_type = tape
backup_root_dir = /oracle/GDV/sapbackup
stage_root_dir = /oracle/GDV/sapbackup
compress_cmd = "compress -c $ > $"
uncompress_cmd = "uncompress -c $ > $"
compress_dir = /oracle/GDV/sapreorg
archive_copy_dir = /oracle/GDV/sapbackup
archive_stage_dir = /oracle/GDV/sapbackup
stage_copy_cmd = rcp
pipe_copy_cmd = rsh
cpio_flags = -ovB
cpio_in_flags = -iuvB
cpio_disk_flags = -pdcu
dd_flags = "obs=64k bs=64k"
dd_in_flags = "ibs=64k bs=64k"
saveset_members = 1
copy_in_cmd = "dd ibs=64k obs=8k if=$"
rewind = "tctl -f $ rewind"
rewind_offline = "tctl -f $ offline"
tape_pos_cmd = "tctl -f $ fsf $"
tape_size = 100G
exec_parallel = 0
tape_address = /dev/rmt0.1
tape_address_rew = /dev/rmt0
expir_period = 30
disk_copy_cmd = copy
tape_copy_cmd = cpio
archive_function = save
compress = no
and error log is below
21.03.2011 17:16:11 Job started
21.03.2011 17:16:11 Step 001 started (program RSDBAJOB, variant &0000000000013, user ID BASIS)
21.03.2011 17:16:11 Execute logical command BRBACKUP On host gulfeccdev
21.03.2011 17:16:11 Parameters:-u / -jid FLL__20110321171610 -c force -t online -m full -p initGDV.sap
21.03.2011 17:16:13 BR0051I BRBACKUP 7.00 (40)
21.03.2011 17:16:13 BR0055I Start of database backup: befmiufr.fnt 2011-03-21 17.16.11
21.03.2011 17:16:13 BR0484I BRBACKUP log file: /oracle/GDV/sapbackup/befmiufr.fnt
21.03.2011 17:16:13 BR0280I BRBACKUP time stamp: 2011-03-21 17.16.12
21.03.2011 17:16:13 BR0301E SQL error -12547 at location BrDbConnect-2, SQL statement:
21.03.2011 17:16:13 'CONNECT /'
21.03.2011 17:16:13 ORA-12547: TNS:lost contact
21.03.2011 17:16:13 BR0310E Connect to database instance GDV failed
21.03.2011 17:16:13 BR0280I BRBACKUP time stamp: 2011-03-21 17.16.13
21.03.2011 17:16:13 BR0301E SQL error -12547 at location BrDbConnect-2, SQL statement:
21.03.2011 17:16:13 'CONNECT /'
21.03.2011 17:16:13 ORA-12547: TNS:lost contact
21.03.2011 17:16:13 BR0310E Connect to database instance GDV failed
21.03.2011 17:16:13
21.03.2011 17:16:13 BR0056I End of database backup: befmiufr.fnt 2011-03-21 17.16.12
21.03.2011 17:16:13 BR0280I BRBACKUP time stamp: 2011-03-21 17.16.13
21.03.2011 17:16:13 BR0054I BRBACKUP terminated with errors
21.03.2011 17:16:13 External program terminated with exit code 3
21.03.2011 17:16:13 BRBACKUP returned error status E
21.03.2011 17:16:13 Job finished
please help me for this error
regards
krishna
Edited by: krishna murthy on Mar 22, 2011 7:20 AMDear aleh
I have set environment variable
oragdv>export MPROTECT_TXT ON
oragdv>brconnect -u / -f dbstate
and executed successfully
but again I am trying with DB13 i am getting same erro
as well as I tried with brtools i am getting following error
Detail log: befmndrc.ant
BR0477I Oracle pfile /oracle/GDV/112_64/dbs/initGDV.ora created from spfile /oracle/GDV/112_64/dbs/spfileGDV.ora
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
BR0319I Control file copy created: /oracle/GDV/sapbackup/cntrlGDV.dbf 19251200
BR0101I Parameters
Name Value
oracle_sid GDV
oracle_home /oracle/GDV/112_64
oracle_profile /oracle/GDV/112_64/dbs/initGDV.ora
sapdata_home /oracle/GDV
sap_profile /oracle/GDV/112_64/dbs/initGDV.sap
backup_mode ALL
backup_type online
backup_dev_type tape
compress no
tape_copy_cmd cpio
cpio_flags -ovB
cpio_in_flags -iuvB
dd_flags obs=64k bs=64k
dd_in_flags ibs=64k bs=64k
rewind tctl -f $ rewind
rewind_offline tctl -f $ offline
tape_size 102400.000 MB
tape_address /dev/rmt0.1
tape_address_rew /dev/rmt0
volume_backup GDVB01,GDVB02,GDVB03,GDVB04,GDVB05,GDVB06,GDVB07,GDVB08,GDVB09,GDVB10,
GDVB11,GDVB12,GDVB13,GDVB14,GDVB15,GDVB16,GDVB17,GDVB18,GDVB19,GDVB20,
GDVB21,GDVB22,GDVB23,GDVB24,GDVB25,GDVB26,GDVB27,GDVB28,GDVB29,GDVB30
expir_period 30
tape_use_count 100
exec_parallel 0
system_info oragdv/oragdv gulfeccdev AIX 1 6 000C870AD400
oracle_info GDV 11.2.0.2.0 8192 8637 72753195 gulfeccdev UTF8 UTF8
sap_info 701 SAPSR3 0002LK0003GDV0011D06565319310015Maintenance_ORA
make_info rs6000_64 OCI_102 Feb 21 2009
command_line /usr/sap/GDV/SYS/exe/run/brbackup -p initGDV.sap -d tape -t online -m all -k no -e 0 -l E -U
BR0116I ARCHIVE LOG LIST before backup for database instance GDV
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination LOCATION=/oracle/GDV/oraarch/GDVarch
Archive format %t_%s_%r.dbf
Oldest online log sequence 8634
Next log sequence to archive 8637
Current log sequence 8637 SCN: 72753195
Database block size 8192 Thread: 1
Current system change number 72763669 ResetId: 742322108
BR0118I Tablespaces and data files
Tablespace TS-Status F-Status File Size Id. Device Link Type MaxSize IncrSize BlkSize
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_1/sr3.data1 3082821632 4 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_10/sr3.data10 3082821632 13 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_11/sr3.data11 3082821632 14 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_12/sr3.data12 3082821632 15 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_13/sr3.data13 2998935552 16 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_14/sr3.data14 2998935552 17 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_15/sr3.data15 2998935552 18 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3701X ONLINE* ONLINE /oracle/GDV/sapdata4/sr3701x_7/sr3701x.data7 104865792 42 2883585 NOLINK FILE 0 0 8192
PSAPSR3701X ONLINE* ONLINE /oracle/GDV/sapdata4/sr3701x_8/sr3701x.data8 12332310528 43 2883585 NOLINK FILE 0 0 8192
PSAPSR3USR ONLINE* ONLINE+ /oracle/GDV/sapdata4/sr3usr_1/sr3usr.data1 52436992 34 2883585 NOLINK FILE 10485760000 20971520 8192
PSAPTEMP ONLINE# ONLINE+ /oracle/GDV/sapdata1/temp_1/temp.data1 1468014592 -1 2686977 NOLINK FILE 10485760000 20971520 8192
PSAPUNDO ONLINE- ONLINE+ /oracle/GDV/sapdata1/undo_1/undo.data1 7822385152 3 2686977 NOLINK FILE 10485760000 20971520 8192
SYSAUX ONLINE* ONLINE+ /oracle/GDV/sapdata1/sysaux_1/sysaux.data1 713039872 2 2686977 NOLINK FILE 10485760000 20971520 8192
SYSTEM ONLINE* SYSTEM+ /oracle/GDV/sapdata1/system_1/system.data1 1478500352 1 2686977 NOLINK FILE 10485760000 20971520 8192
SYSTEM ONLINE* SYSTEM+ /oracle/GDV/sapdata1/system_2/system.data2 209723392 41 2686977 NOLINK FILE 10485760000 20971520 8192
BR0119I Redo log files
File Size Group Device Status Link Type
/oracle/GDV/origlogA/log_g11m1.dbf 52429312 1 2621445 INUSE NOLINK FILE
/oracle/GDV/mirrlogA/log_g11m2.dbf 52429312 1 2621442 INUSE NOLINK FILE
/oracle/GDV/origlogB/log_g12m1.dbf 52429312 2 2621446 INUSE NOLINK FILE
/oracle/GDV/mirrlogB/log_g12m2.dbf 52429312 2 2621443 INUSE NOLINK FILE
/oracle/GDV/origlogA/log_g13m1.dbf 52429312 3 2621445 INUSE NOLINK FILE
/oracle/GDV/mirrlogA/log_g13m2.dbf 52429312 3 2621442 INUSE NOLINK FILE
/oracle/GDV/origlogB/log_g14m1.dbf 52429312 4 2621446 INUSE NOLINK FILE
/oracle/GDV/mirrlogB/log_g14m2.dbf 52429312 4 2621443 INUSE NOLINK FILE
BR0120I Control files
File Size Id. Device Link Type
/oracle/GDV/origlogA/cntrl/cntrlGDV.dbf 19251200 0 2621445 NOLINK FILE
/oracle/GDV/origlogB/cntrl/cntrlGDV.dbf 19251200 0 2621446 NOLINK FILE
/oracle/GDV/sapdata1/cntrl/cntrlGDV.dbf 19251200 0 2686977 NOLINK FILE
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
BR0057I Backup of database: GDV
BR0058I BRBACKUP action ID: befmndrc
BR0059I BRBACKUP function ID: ant
BR0110I Backup mode: ALL
BR0077I Database file for backup: /oracle/GDV/sapbackup/cntrlGDV.dbf
BR0061I 44 files found for backup, total size 210220.695 MB
BR0143I Backup type: online
BR0112I Files will not be compressed
BR0130I Backup device type: tape
BR0102I Following backup device will be used: /dev/rmt0.1
BR0103I Following backup volumes will be used:
GDVB01,GDVB02,GDVB03
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.36
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0208I Volume with name GDVB01 GDVB02 GDVB03 required in device /dev/rmt0.1
BR0210I Please mount BRBACKUP volume, if you have not already done so
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.36
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.37.16
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRBACKUP time stamp: 2011-03-22 14.37.16
BR0226I Rewinding tape volume in device /dev/rmt0 ...
BR0351I Restoring /oracle/GDV/sapbackup/.tape.hdr0
BR0355I from /dev/rmt0.1 ...
BR0241I Checking label on volume in device /dev/rmt0.1
BR0217W Lock period for volume GDVB01 in device /dev/rmt0.1 not expired
BR0218W Checking label on volume in device /dev/rmt0.1 failed
BR0212I Please check the volume or the device
BR0280I BRBACKUP time stamp: 2011-03-22 14.37.30
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
BR0226I Rewinding tape volume in device /dev/rmt0 ...
BR0351I Restoring /oracle/GDV/sapbackup/.tape.hdr0
BR0355I from /dev/rmt0.1 ...
BR0241I Checking label on volume in device /dev/rmt0.1
BR0217W Lock period for volume GDVB01 in device /dev/rmt0.1 not expired
BR0218W Checking label on volume in device /dev/rmt0.1 failed
BR0212I Please check the volume or the device
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.10
BR0257I Your reply: 's'
BR0260E BRBACKUP cancelled by user
BR0056I End of database backup: befmndrc.ant 2011-03-22 14.45.10
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.10
BR0054I BRBACKUP terminated with errors -
Dear,
I am facing most critical problem. Can not connect to a particular schema in a database it becomes hang and also can not enter into the enterprise manager console.
the following alert log is generated.
ARCH: Connecting to console port...
Thu Aug 2 11:38:45 2007
appsrv01; ARC1: Closing local archive destination LOG_ARCHIVE_DEST_1:
'/oradata/appsrv01/archived/1_12311_607638844.dbf'
ARCH: Connecting to console port...
Committing creation of archivelog
'/oradata/appsrv01/archived/1_12311_607638844.dbf'
Thu Aug 2 11:38:46 2007
appsrv01; ARC1: Completed archiving log 2 thread 1 sequence 12311
ARCH: Connecting to console port...
Thu Aug 2 15:24:08 2007
WAITED TOO LONG FOR A ROW CACHE ENQUEUE LOCK! pid=41Thu Aug 2 15:24:14 2007
WAITED TOO LONG FOR A ROW CACHE ENQUEUE LOCK! pid=95Thu Aug 2 15:24:15 2007
sdtcs_getexecname: ignored overriding value [oracleappsrv01]
Thu Aug 2 15:24:22 2007
sdtcs_getexecname: ignored overriding value [oracleappsrv01]
how can I solve this problem please help me.Hi,
It seems that the redo log files sizes are big. There are two options for you to work out.
1. Reduce the size of the online redo log files.
2. Increase the number of archiver process in init.ora file are restart the database.
Regards,
-Praveen. -
Recovery Catalog showing wrong Archive Destination
Hi All,
I am using Oracle 10g on Solaris 10.
The problem I am facing is this, while taking backup using recover catalog..............
Starting backup at 27-JUL-11
current log archived
released channel: ch00
released channel: ch01
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 07/27/2011 11:16:47
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file /u01/oracle/product/10.2.0/db_1/dbs/arch1_56_757089402.dbf
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
This is because of the following reason
RMAN> list archivelog all;
List of Archived Log Copies
Key Thrd Seq S Low Time Name
39401 1 1567 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1567_756523261.dbf
39402 1 1568 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1568_756523261.dbf
39403 1 1569 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1569_756523261.dbf
39404 1 1570 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1570_756523261.dbf
39405 1 1571 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1571_756523261.dbf
39406 1 1572 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1572_756523261.dbf
39407 1 1573 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1573_756523261.dbf
39408 1 1574 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1574_756523261.dbf
39409 1 1575 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1575_756523261.dbf
39410 1 1576 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1576_756523261.dbf
39411 1 1577 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1577_756523261.dbf
39412 1 1578 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1578_756523261.dbf
39413 1 1579 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1579_756523261.dbf
39414 1 1580 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1580_756523261.dbf
39415 1 1581 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1581_756523261.dbf
39416 1 1582 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1582_756523261.dbf
39417 1 1583 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1583_756523261.dbf
39418 1 1584 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1584_756523261.dbf
39419 1 1585 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1585_756523261.dbf
39420 1 1586 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1586_756523261.dbf
39421 1 1587 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1587_756523261.dbf
39422 1 1588 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1588_756523261.dbf
39423 1 1589 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1589_756523261.dbf
39424 1 1590 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1590_756523261.dbf
39425 1 1591 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1591_756523261.dbf
39426 1 1592 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1592_756523261.dbf
39427 1 1593 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1593_756523261.dbf
39428 1 1594 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1594_756523261.dbf
39429 1 1595 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1595_756523261.dbf
39430 1 1596 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1596_756523261.dbf
39431 1 1597 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1597_756523261.dbf
39432 1 1598 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1598_756523261.dbf
39433 1 1599 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1599_756523261.dbf
39434 1 1600 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1600_756523261.dbf
39435 1 1601 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1601_756523261.dbf
39436 1 1602 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1602_756523261.dbf
39437 1 1603 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1603_756523261.dbf
39438 1 1604 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1604_756523261.dbf
39439 1 1605 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1605_756523261.dbf
39440 1 1606 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1606_756523261.dbf
39441 1 1607 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1607_756523261.dbf
39442 1 1608 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1608_756523261.dbf
39443 1 1609 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1609_756523261.dbf
39444 1 1610 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1610_756523261.dbf
39445 1 1611 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1611_756523261.dbf
39446 1 1612 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1612_756523261.dbf
39447 1 1613 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1613_756523261.dbf
39448 1 1614 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1614_756523261.dbf
39449 1 1615 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1615_756523261.dbf
39450 1 1616 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1616_756523261.dbf
39451 1 1617 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1617_756523261.dbf
39452 1 1618 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1618_756523261.dbf
39453 1 1619 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1619_756523261.dbf
39454 1 1620 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1620_756523261.dbf
39455 1 1621 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1621_756523261.dbf
39456 1 1622 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1622_756523261.dbf
39457 1 1623 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1623_756523261.dbf
39458 1 1624 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1624_756523261.dbf
39459 1 1625 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1625_756523261.dbf
39460 1 1626 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1626_756523261.dbf
39461 1 1627 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1627_756523261.dbf
39462 1 1628 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1628_756523261.dbf
39463 1 1629 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1629_756523261.dbf
39464 1 1630 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1630_756523261.dbf
39465 1 1631 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1631_756523261.dbf
39466 1 1632 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1632_756523261.dbf
39467 1 1633 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1633_756523261.dbf
39468 1 1634 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1634_756523261.dbf
39469 1 1635 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1635_756523261.dbf
39470 1 1636 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1636_756523261.dbf
39471 1 1637 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1637_756523261.dbf
39682 1 1638 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1638_756523261.dbf
39689 1 1639 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1639_756523261.dbf
40642 1 1640 A 26-JUL-11 /oradb2/Archive/HCSPRD91/1_1640_756523261.dbf
40643 1 1641 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1641_756523261.dbf
40644 1 1642 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1642_756523261.dbf
40645 1 1643 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1643_756523261.dbf
40646 1 1644 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1644_756523261.dbf
40647 1 1645 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1645_756523261.dbf
40648 1 1646 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1646_756523261.dbf
41310 1 1647 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1647_756523261.dbf
41317 1 1648 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1648_756523261.dbf
41373 1 1649 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1649_756523261.dbf
41374 1 1650 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1650_756523261.dbf
41375 1 1651 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1651_756523261.dbf
41383 1 1652 A 27-JUL-11 /oradb2/Archive/HCSPRD91/1_1652_756523261.dbf
*38725 1 56 A 26-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_56_757089402.dbf*
*38946 1 57 A 26-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_57_757089402.dbf*
*39000 1 58 A 26-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_58_757089402.dbf*
*39022 1 59 A 26-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_59_757089402.dbf*
*39243 1 60 A 26-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_60_757089402.dbf*
*39297 1 61 A 26-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_61_757089402.dbf*
*39703 1 62 A 26-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_62_757089402.dbf*
*39704 1 63 A 26-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_63_757089402.dbf*
*39705 1 64 A 26-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_64_757089402.dbf*
*39933 1 65 A 27-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_65_757089402.dbf*
*39991 1 66 A 27-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_66_757089402.dbf*
*40023 1 67 A 27-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_67_757089402.dbf*
*40024 1 68 A 27-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_68_757089402.dbf*
*40025 1 69 A 27-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_69_757089402.dbf*
*40254 1 70 A 27-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_70_757089402.dbf*
*40308 1 71 A 27-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_71_757089402.dbf*
*40345 1 72 A 27-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_72_757089402.dbf*
*40570 1 73 A 27-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_73_757089402.dbf*
*41329 1 74 A 27-JUL-11 /u01/oracle/product/10.2.0/db_1/dbs/arch1_74_757089402.dbf*
I dont know from where recovery catalog is getting the information in bold.
I have crosschecked and deleted archives and resynced the catalog several times. Immediatly after doing that the backup works fine, but the other day its the same thing all over again.
Can some one tell me from where the catalog is getting this wrong infomation about archivelogs???
By the way here is some more info about my target Database:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /oradb2/Archive/HCSPRD91
Oldest online log sequence 1651
Next log sequence to archive 1653
Current log sequence 1653
NAME TYPE VALUE
archive_lag_target integer 0
log_archive_config string
log_archive_dest string
log_archive_dest_1 string LOCATION=/oradb2/Archive/HCSPR
D91
log_archive_dest_10 string
log_archive_dest_2 string
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
NAME TYPE VALUE
log_archive_dest_7 string
log_archive_dest_8 string
log_archive_dest_9 string
log_archive_dest_state_1 string enable
log_archive_dest_state_10 string enable
log_archive_dest_state_2 string enable
log_archive_dest_state_3 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_dest_state_6 string enable
log_archive_dest_state_7 string enable
NAME TYPE VALUE
log_archive_dest_state_8 string enable
log_archive_dest_state_9 string enable
log_archive_duplex_dest string
log_archive_format string %t_%s_%r.dbf
log_archive_local_first boolean TRUE
log_archive_max_processes integer 2
log_archive_min_succeed_dest integer 1
log_archive_start boolean FALSE
log_archive_trace integer 0
remote_archive_enable string true
standby_archive_dest string ?/dbs/arch
Regards .....Do you have any other DBs with the same DBID as the one you are backing up? Are they connect to the same RMAN catalog?
Iordan Iotzov
http://iiotzov.wordpress.com/ -
Dear Gurus,
I m facing a database hang issue while performing the scheduled offline backup.I m able to take the online backup.When the backup starts , the database starts to shutdown.When checked in the log of backup it shows in tail as shutting down database.When checked for user trace , it shows message as "Attempting to kill pid xxxxxxx" and keeps on retrying for n no. of times.Then I have to manually kill the backup and restart the application.Then again try for an offline backup.This time it happens smoothly.This activity we did for couple of weeks .But now from past 3 days even after restarting the backup, it goes to hang mode.In other words unable to perform the backup activity.
The message had been raised to SAP from almost 15 days at very high.They every time ask the logs , and say that the data in log is nt providing much info for analysing the issue or cause of hang.Also enabled the traces of 10400 for trace level 1 ,10 some more traces also.But still the output is not helping even them to analyse the root cause.
Its my observation that this issue is occuring only on ABAP+JAVA systems(CRM &BIW)not in ECC.We are on oracle database 10.2.0.0.4 with latest patch set as suggested by SAP for the same issue.
This issue is h
Please suggest me at the earliest.As need to resolve this at the earliest.
Bye.
AmitHi,
No "archive process shutdown avoided" message is there in the log file.
In usertrace i get messages as mentioned below.
bslcrmprddb #more bcp_ora_1257502.trc
Dump file /oracle/BCP/saptrace/usertrace/bcp_ora_1257502.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
ORACLE_HOME = /oracle/BCP/102_64
System name: AIX
Node name: bslcrmprddb
Release: 3
Version: 5
Machine: 00C6C4024C00
Instance name: BCP
Redo thread mounted by this instance: 1
Oracle process number: 0
Unix process pid: 1257502, image: oracle@bslcrmprddb
2009-06-05 08:01:36.875
Oracle Instance Startup operation failed. Another process may be attempting to startup or shutdown
Failed to acquire instance startup/shutdown serialization primitive
bslcrmprddb #more bcp_ora_2453676.trc
Dump file /oracle/BCP/saptrace/usertrace/bcp_ora_2453676.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
ORACLE_HOME = /oracle/BCP/102_64
System name: AIX
Node name: bslcrmprddb
Release: 3
Version: 5
Machine: 00C6C4024C00
Instance name: BCP
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
Unix process pid: 2453676, image: oracle@bslcrmprddb
2009-06-06 07:04:22.494
Dynamic strand is set to TRUE
Running with 2 shared and 88 private strand(s). Zero-copy redo is FALSE
bslcrmprddb #more bcp_ora_1495266.trc
Dump file /oracle/BCP/saptrace/usertrace/bcp_ora_1495266.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
ORACLE_HOME = /oracle/BCP/102_64
System name: AIX
Node name: bslcrmprddb
Release: 3
Version: 5
Machine: 00C6C4024C00
Instance name: BCP
Redo thread mounted by this instance: 1
Oracle process number: 213
Unix process pid: 1495266, image: oracle@bslcrmprddb (TNS V1-V3)
ACTION NAME:() 2009-06-06 03:00:22.223
MODULE NAME:(sqlplus@bslcrmprddb (TNS V1-V3)) 2009-06-06 03:00:22.223
SERVICE NAME:(SYS$USERS) 2009-06-06 03:00:22.223
SESSION ID:(517.13229) 2009-06-06 03:00:22.223
ksukia: Starting kill, force = 0
ksukia: killed 274 out of 274 processes.
ksukia: Starting kill, force = 0
ksukia: killed 0 out of 2 processes.
ksukia: Starting kill, force = 0
ksukia: killed 0 out of 1 processes.
ksukia: Starting kill, force = 0
ksukia: killed 0 out of 1 processes.
ksukia: Starting kill, force = 0
Please suggest.
Regards,
Amit -
How to change archive destination folder on oralce 11g
Hi
Im using oralce 11g, linux, 64 bit.
I created new database and imported data.
Im getting this error
ORA-00257: archiver error. Connect internal only, until freed.
I've to change the archive destination to a folder having relatively morespace .
Please let me know how to do.
Thanks
Edited by: praveenb on Oct 17, 2011 9:56 AMORA-10997: another startup/shutdown operation of this instance inprogress
ORA-09968: unable to lock file Linux-x86_64 Error: 11: Resource temporarily unavailableIt looks like you have trying to start instance when it is already running. check for running instances on server.
$ps -ef|grep pmonIf any prorcess related to your instance running, kill or clean them and then start again.
ORA-09817: Write to audit file failed.
Linux-x86_64 Error: 28: No space left on device
ORA-09945: Unable to initialize the audit trail file
Linux-x86_64 Error: 28: No space left on deviceCheck the audit file destination and cleanup all audit files from
SQL> show parameter audit_file_destand use similar commands to change archive destination, to change archive destination no need to bounce .
SQL> show parameter log_archive_dest_1
NAME TYPE VALUE
log_archive_dest_1 string Location=/u01/archvie VALID_FO
R=(ALL_LOGFILES,ALL_ROLES) DB_
UNIQUE_NAME=adg
SQL> alter system set log_archive_dest_1='location=/u01' scope=both;
System altered.
SQL> show parameter log_archive_dest_1
NAME TYPE VALUE
log_archive_dest_1 string location=/u01 -
How to change archive destination folder
Hi,
Im using oracle 11g,
when i run this cmnd, im seeing the following
sql> archive log list
archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /home/oracle/archivelog
Oldest online log sequence 2277
Next log sequence to archive 2279
Current log sequence 2279
the disk space is low on this destination folder
So I need to change the archive destination new folder /u03/arch
Please let me know how to change the destination
Thank you
Edited by: praveenb on Nov 3, 2011 6:22 AM
Edited by: praveenb on Nov 3, 2011 6:24 AMHi TYL,
I run the command
SQL> show parameter log_archive_dest
NAME TYPE VALUE
log_archive_dest string
log_archive_dest_1 string location=/home/oracle/archivel
og
log_archive_dest_10 string
log_archive_dest_2 string
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
log_archive_dest_7 string
log_archive_dest_8 string
NAME TYPE VALUE
log_archive_dest_9 string
log_archive_dest_state_1 string enable
log_archive_dest_state_10 string enable
log_archive_dest_state_2 string enable
log_archive_dest_state_3 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_dest_state_6 string enable
log_archive_dest_state_7 string enable
log_archive_dest_state_8 string enable
log_archive_dest_state_9 string enable
SQL>
Im seeing ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin)
Please let me know how to solve this issue
Thanks
Edited by: praveenb on Nov 3, 2011 7:31 PM -
Hi,
I have Oracle database 10g my database is hanging and i want to check what locks occur on which table how can i work on this database hanging process.Kindly help...because i am new for this i need good procedure to face this problem..If db hangs there could be a lot of possibilities..
eg. no more space for archive log or datafiles
Locks on table are different. You can look on alertlog and start investigating.. -
Question about archive destination.
Hi All,
When we set the archived destination to this parameter log_archive_dest like:
SQL>alter system set LOG_ARCHIVE_DEST_.. = 'location=/archivelogpath reopen';
Could you help me to know about 'reopen' keyword here. Please help me know, what does it mean and whats the use of it. I have failed to get this in oracle documentation.
Best Regards,
Michel.From the documentation:
Rearchiving to a Failed Destination
Use the REOPEN attribute of the LOG_ARCHIVE_DEST_n parameter to specify whether and when ARCn should attempt to rearchive to a failed destination following an error. REOPEN applies to all errors, not just OPEN errors.
REOPEN=n sets the minimum number of seconds before ARCn should try to reopen a failed destination. The default value for n is 300 seconds. A value of 0 is the same as turning off the REOPEN attribute; ARCn will not attempt to archive after a failure. If you do not specify the REOPEN keyword, ARCn will never reopen a destination following an error.
You cannot use REOPEN to specify the number of attempts ARCn should make to reconnect and transfer archived logs. The REOPEN attempt either succeeds or fails.
When you specify REOPEN for an OPTIONAL destination, the database can overwrite online logs if there is an error. If you specify REOPEN for a MANDATORY destination, the database stalls the production database when it cannot successfully archive. In this situation, consider the following options:
Archive manually to the failed destination.
Change the destination by deferring the destination, specifying the destination as optional, or changing the service.
Drop the destination.
When using the REOPEN keyword, note the following:
ARCn reopens a destination only when starting an archive operation from the beginning of the log file, never during a current operation. ARCn always retries the log copy from the beginning.
If you specified REOPEN, either with a specified time the default, ARCn checks to see whether the time of the recorded error plus the REOPEN interval is less than the current time. If it is, ARCn retries the log copy.
The REOPEN clause successfully affects the ACTIVE=TRUE destination state. The VALID and ENABLED states are not changed. -
Full database backup and restore
I have a doubt on the syntax for a full database backup and restore. For a single schema, the syntax for backup & restore is :-
exp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 owner=JISPREPCORBILLINGPRD501 STATISTICS=none
log=JISPREPCORBILLINGPRD501_exp.log grants=y constraints=Y rows=y compress=N
file=JISPREPCORBILLINGPRD501
imp <userid/password> file=<export dump file location> fromuser=<export user name> touser=<import user name>
grants=y constraints=Y rows=y log=<import log file location>
I hope, my question is clear.
Please, help in solving the doubt.
regardshi,
thanks, for your answer. I took a export of one schema of the database. But, when I tried to import the schema to the destination database, it showed
imported with errors with the existence of functions showing. The commands used by me for export and import are as follows:-
exp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 owner=JISPREPCORBILLINGPRD501 STATISTICS=none log=JISPREPCORBILLINGPRD501_exp.log grants=y constraints=Y rows=y compress=N file=JISPREPCORBILLINGPRD501
imp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 file=JISPREPCORBILLINGPRD501 fromuser=JISPREPCORBILLINGPRD501 touser=JISPREPCORBILLINGPRD501 grants=y constraints=Y rows=y log=JISPREPCORBILLINGPRD501_imp.log
Do, we need to drop the existing schema before importing or somethinig else. Please, help.
regards -
How to change the First archive destination????
I want to change the archive destination of one of live Servers?????????
-Can anybody tell me what willl be the exact steps to do that...????
-Do i have to restart my database???????
Thanks
GaganHi,
You can change your archive destination by using
LOG_ARCHIVE_DEST or LOG_ARCHIVE_DEST_n
You have to use either of above two parameters(not both simultaneously).
These both are dynamic parameters(sql> alter system set LOG_ARCHIVE_DEST=......). So It will take affect while server is running. But pls confirm this from other sources also, since I am not sure about this.
Note : If you are using 10g and if recovery area is activated, then default archive location is flash_recovery_area/archiving.
JAI HIND
Darshan -
Next log sequence to archive in Standby Database (RAC Dataguard Issue)
Hi All,
I just had implemented Data Guard in our server. My primary Database is RAC configured, but it is only single node. The other Instance was removed and converted it to Developement Instance. For the reason I kept the primary as RAC is when I will implement dataguard, my Primary Database is RAC with 7 nodes.
The first test is successful, and I was able to "switchover" from my primary to standby. I failed in the 'FAILOVER" test.
I restore my primary server and redo the setup.
BTW, my standby DB is physical standby.
When I try to switchover again and issue archive log list, below is my output.
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 38
*Next log sequence to archive 0*
Current log sequence 38
SQL> select open_mode, database_role from v$database;
OPEN_MODE DATABASE_ROLE
MOUNTED PHYSICAL STANDBY
===============================================
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 38
*Next log sequence to archive 38*
Current log sequence 38
SQL> select open_mode, database_role from v$database;
OPEN_MODE DATABASE_ROLE
READ WRITE PRIMARY
In my first attempt to switchover before I failed in "FAILOVER" test, I also issue +archive log list+ in both primary and standby database, and if I remember it right, next log sequence on both should be identical. Am I right on this?
Thanks in Advance.
Jay AOr Am i just overthinking on this?
Is dataguard only looking for the current and oldest log sequence? -
Archive destination on Logical Standby
Dear colleagues,
A physical standby database writes archivelogs in '/oradata3/iclgstdb/archivelog' destination because a parameter standby_archive_dest set in '/oradata3/iclgstdb/archivelog':
SQL> sho parameter standby
NAME TYPE VALUE
standby_archive_dest string /oradata3/iclgstdb/archivelog
standby_file_management string AUTO
When I switch the physical to a logical standby then archivelogs are written in '$ORACLE_HOME/dbs/arch' destination:
SQL> ARCHIVE LOG LIST
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /ora/OraHome11203/dbs/arch
Oldest online log sequence 1
Next log sequence to archive 2
Current log sequence 2
But I don't see this destination in v$parameter view.
How can I change "Archive destination /ora/OraHome11203/dbs/arch" to '/oradata3/iclgstdb/archivelog'?Hi,
Above answered given by one of our DBA friend is correct...just want to add few things,
We need to update both the parameters related to log_archive_dest_1 and log_archive_dest_2 on primary and standby location,
on primary,
log_archive_dest_1 would be local directory or would be ASM...
log_archive_dest_2 would be standby database service name and archive will generated on standby location location...
Correct ans:-
"If your version of Oracle is 11 then STANDBY_ARCHIVE_DEST parameter is deprecated.
set LOG_ARCHIVE_DEST_1 to '/oradata3/iclgstdb/archivelog on the standby"
Regards,
GRB
Maybe you are looking for
-
Smartform output problem in dunning
Hi I've done a search for this problem in the forums and found what I thought was the answer but it still doesn't work... My dunning FM passes paramter IS_SFPARAM to the smartform (which is a copy of the standard SAP form F150_DUNN_SF). the initialis
-
My iPad 2 is shutting down when I try to email a PDF I have created in pages. Why? Very frustrating....
-
Creating contract with service line items
Hi, My requirement is to create contract with multiple service line item. The issue is my system is ECC5 so i don't have BAPIS like BAPI_CONTRACT_CREATE or BAPI_SERVICE_CREATE .How do we achieve this without writing a bdc. Do we have any equivalent b
-
How to find out whether an object can be converted into a Long?
Hi, I am facing a problem which can be summarized by the following. Let's imagine the following method: public static int MyCompare(Object anyObj) throws Exception { Long X = new Long(3); if (anyObj "can be converted into a Long") { L
-
Cannot sync mail with iPhone after iTunes 11.3 update
Good evening! running mavericks 10.9.3; installed iTunes 11.3; running iOS 7.1.2. I erased my phone; reinstalled software. the iTunes tab no longer has sync iPhone with safari bookmarks or mail accounts. How to fix