Appliance of redo logs in heterogenous systems
Hello all,
I have two SAP 4.7 systems. Both are on Oracle 9i. One system is in HP UX and the other system is in SUN Solaris. Rest all the configuarations are same. I want to use UX as the production system and Solaris as Disaster Recovery Software (DRS). Suppose UX system went down and I want to use Solaris as the main production box. In this scenerio is it possible to apply the redo logs in Solaris system which are originally generated in UX system. In a nutshell my query :- can I to apply redo logs generated in one system to another system where only difference between the two systems is the OS rest everything same.
Kindly do reply me as I m in a quandary.
Regards,
Tapan
it should work, but test it first. as long as both system use the same endian, it should work.
Similar Messages
-
Reads on redo logs when on file system
I was concentrated on redo tuning problems and am surprised by the fact that when I have the redo logs on file system (jfs2, aix 5.3, Oracle 10.1.0.4) I see in IOSTAT reads on the device. I have verified that there's no other process to touch these drives except LGWR.
If I move the redo logs on raw devices I do not have these reads - they are zero.
How can we explain this?
There's no archiving or replication going on at all.
Is there something I could do to prevent the reads on FS?
I did not find anything on the web or in Metalink for this issue.
Thanks a lot,mjProbably because using raw devices bypasses any operating system handling. Oracle accesses the files on raw devices directly, therefore iostat doesn't know about it. In fact I'd be surprised if iostat knows much of anything about raw devices at all. Try looking for info on using raw devices on AIX. It's more of an operating system issue than an Oracle issue. In a nutshell, if you're using cooked files, the operating system has to get involved in order for any application to access the files.
-
Redo log space requests and Enqueue Waits
Hi all,
I am seeing an increase on the Enqueue Waits and Redo Log Space Request from 58, 274 to 192, 1245 in two weeks time respectively.
The DB is a production database and runs on an HP cluster with 4X1G ram and 550mghz cpu.
There are four Redo Log files with 200M (2 members each)which I have increased to 400M over this past weekend.
I have included below the memory structure details:
Redo Log Summary
Total System Global Area 1646094824 bytes
Fixed Size 104936 bytes
Variable Size 408989696 bytes
Database Buffers 1228800000 bytes
Redo Buffers 8200192 bytes
My question is that, who do I stop it from growing further and passing the 1:5000 ratio ?
At the moment the ratio is in the range of 1:186194.
Your input is much appreciated.
Cheers,
Seyoum.Here is some information from Oracle's Peformance Tuning Guide.
The V$SYSSTAT statistic redo log space requests indicates how many times a server process had to wait for space in the online redo log, not for space in the redo log buffer. A significant value for this statistic and the wait events should be used as an indication that checkpoints, DBWR, or archiver activity should be tuned, not LGWR. Increasing the size of log buffer does not help. -
How do I manually archive 1 redo log at a time?
The database is configured in archive mode, but automatic archiving is turned off.
For both Oracle 901 and 920 on Windows, when I try to manually archive a single redo log, the database
archives as many logs as it can up to the log just before the current log:
For example:
SQL> select * from v$log order by sequence#;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
1 1 14 104857600 1 NO INACTIVE 424246 19-JAN-05
2 1 15 104857600 1 NO INACTIVE 425087 28-MAR-05
3 1 16 104857600 1 NO INACTIVE 425088 28-MAR-05
4 1 17 512000 1 NO INACTIVE 425092 28-MAR-05
5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
6 rows selected.
SQL> alter system archive log next;
System altered.
SQL> select * from v$log order by sequence#;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
1 1 14 104857600 1 YES INACTIVE 424246 19-JAN-05
2 1 15 104857600 1 YES INACTIVE 425087 28-MAR-05
3 1 16 104857600 1 YES INACTIVE 425088 28-MAR-05
4 1 17 512000 1 YES INACTIVE 425092 28-MAR-05
5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
See - instead of only 1 log being archive, 4 of them were. Oracle behaves the same way if I use the "sequence" option:
SQL> select * from v$log order by sequence#;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
1 1 14 104857600 1 NO INACTIVE 424246 19-JAN-05
2 1 15 104857600 1 NO INACTIVE 425087 28-MAR-05
3 1 16 104857600 1 NO INACTIVE 425088 28-MAR-05
4 1 17 512000 1 NO INACTIVE 425092 28-MAR-05
5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
6 rows selected.
SQL> alter system archive log next;
System altered.
SQL> select * from v$log order by sequence#;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
1 1 14 104857600 1 YES INACTIVE 424246 19-JAN-05
2 1 15 104857600 1 YES INACTIVE 425087 28-MAR-05
3 1 16 104857600 1 YES INACTIVE 425088 28-MAR-05
4 1 17 512000 1 YES INACTIVE 425092 28-MAR-05
5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
Is there some default system configuration property telling Oracle to archive as many logs as it can?
Thanks,
DGRThanks Yoann (and Syed Jaffar Jaffar Hussain too),
but I don't have a problem finding the group to archive or executing the alter system archive log command.
My problem is that Oracle doesn't work as I expect it.
This comes from the Oracle 9.2 online doc:
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_23a.htm#2053642
"Specify SEQUENCE to manually archive the online redo log file group identified by the log sequence number integer in the specified thread."
This implies that Oracle will only archive the log group identified by the log sequence number I specify in the alter system archive log sequence statement. However, Oracle is archiving almost all of the log groups (see my first post for an example).
This appears to be a bug, unless there is some other system parameter that is configured (by default) to allow Oracle to archive as many log groups as possible.
As to the reason why - it is an application requirement. The Oracle db must be in archive mode, automatic archiving must be disabled and the application must control online redo log archiving.
DGR -
Error during Heterogeneous System Copy - Phase 18 Import ABAP
Hello gurus,
I´m facing an error during the Target Installation in a Heterogeneous System Copy (Migration). The system SAP is a SAP ECC 6.0 SR3 (Unicode and Abap+Java).
Source server:
Operation System: Windows 2003 Server x64
Database: SQL Server 2008 SP01
Target server:
Operation System: Red Hat Enterprise Linux (RHEL) X64
Database: Oracle DB 10.2g (10.2.0.4)
I already did the all procedures in export database and all that looks fine!
At this point I´m running the system copy procedure through SAPInst on target server (RHEL / Oracle) but in phase 18 - Import ABAP the sapinst stops... (by the way in procedure bar, I can see "Import Monitor jobs: running 0, waiting 1, completed 0, failed 18, total 19")
I checked three log files (sapinst_dev.log ; sapinst.log ; SAPSDIC.log):
SAPSDIC.log:
/usr/sap/QAS/SYS/exe/run/R3load: START OF LOG: 20100820145140
/usr/sap/QAS/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
/usr/sap/QAS/SYS/exe/run/R3load: version R7.00/V1.4 [UNICODE]
Compiled Jan 23 2008 17:39:05
/usr/sap/QAS/SYS/exe/run/R3load -ctf I /software/export_preparation/ABAP/DATA/SAPSDIC.STR /tmp/sapinst_instdir/NW04S/LM/COPY/ORA/SYSTEM/CENTRAL/AS/DDLORA.TPL SAPSDIC.TSK ORA -l SAPSDIC.log
(TPL) ERROR: unknown template variable "compress"
/usr/sap/QAS/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/QAS/SYS/exe/run/R3load: END OF LOG: 20100820145140Hi Volker,
> (TPL) ERROR: unknown template variable "compress"
> This message looks like the DDLORA.TPL contains stuff that should not belong there.
> Can you attach the DDLORA.TPL.
> There are some bugs with SMIGR_CREATE_DDL, but they are mostly not related to oracle.
prikey: AFTER_LOAD ORDER_BY_PKEY
seckey: AFTER_LOAD
cretab: CREATE TABLE &tab_name&
( /{ &fld_name& &fld_desc& /-, /} )
TABLESPACE &tablespace&
&compress&
&lob_cache&
STORAGE (INITIAL &init&
NEXT &next&
MINEXTENTS &minext&
MAXEXTENTS &maxext&
PCTINCREASE &pctinc& )
drptab: DROP TABLE &tab_name&
crepky: CREATE UNIQUE INDEX &pri_key&
ON &tab_name&
( &key_fld& /-, )
TABLESPACE &tablespace&
STORAGE (INITIAL &init&
NEXT &next&
MINEXTENTS &minext&
MAXEXTENTS &maxext&
PCTINCREASE &pctinc& )
NOLOGGING
COMPUTE STATISTICS ;
ALTER INDEX &pri_key& LOGGING
drppky: DROP INDEX &pri_key&
creind: CREATE &unique& INDEX &ind_name&
ON &tab_name&
( /{ &fld_name& /-, /} )
TABLESPACE &tablespace&
STORAGE (INITIAL &init&
NEXT &next&
MINEXTENTS &minext&
MAXEXTENTS &maxext&
PCTINCREASE &pctinc& )
NOLOGGING
COMPUTE STATISTICS ;
ALTER INDEX &ind_name& LOGGING
drpind: DROP INDEX &ind_name&
crevie: CREATE VIEW &view_name&
( /{ &fld_name& /-, /} )
AS &query&
drpvie: DROP VIEW &view_name&
trcdat: TRUNCATE TABLE &tab_name&
deldat: DELETE FROM &tab_name& &where&
negtab: LICHECK MLICHECK
negdat: LICHECK MLICHECK
negind: LICHECK0 MLICHECK0 LICHECK0 MLICHECK0
negvie:
negcpr:ARFCSSTATE ARFCSDATA ARFCRSTATE TRFCQDATA TRFCQIN TRFCQOUT TRFCQSTATE QRFCTRACE QRFCLOG
table storage parameters
loc: APPL0 PSAPSR3 0000
APPL1 PSAPSR3 0000
APPL2 PSAPSR3 0000
CLUST PSAPSR3 0000
DDIM PSAPSR3 0000
DFACT PSAPSR3 0000
DODS PSAPSR3 0000
POOL PSAPSR3 0000
SDIC PSAPSR3 0
SDOCU PSAPSR3 0000
SLDEF PSAPSR3700 0000
SLEXC PSAPSR3700 0000
SLOAD PSAPSR3 0000
SPROT PSAPSR3 0000
SSDEF PSAPSR3700 0000
SSEXC PSAPSR3700 0000
SSRC PSAPSR3 0000
TEMP PSAPSR3 0000
USER PSAPSR3USR 0000
USER1 PSAPSR3USR 0000
sto: 0 0000000016K 0000000040K 0000000001 2147483645
1 0000000016K 0000000160K 0000000001 2147483645
10 0000000016K 0000655360K 0000000001 2147483645
11 0000000016K 0001310720K 0000000001 2147483645
12 0000000016K 0002621440K 0000000001 2147483645
13 0000000016K 0005242880K 0000000001 2147483645
14 0000000016K 0010485760K 0000000001 2147483645
2 0000000016K 0000000640K 0000000001 2147483645
3 0000000016K 0000002560K 0000000001 2147483645
4 0000000016K 0000010240K 0000000001 2147483645
5 0000000016K 0000020480K 0000000001 2147483645
6 0000000016K 0000040960K 0000000001 2147483645
7 0000000016K 0000081920K 0000000001 2147483645
8 0000000016K 0000163840K 0000000001 2147483645
9 0000000016K 0000327680K 0000000001 2147483645
index storage parameters
loc: APPL0 PSAPSR3 0000
APPL1 PSAPSR3 0000
APPL2 PSAPSR3 0000
CLUST PSAPSR3 0000
DDIM PSAPSR3 0000
DFACT PSAPSR3 0000
DODS PSAPSR3 0000
POOL PSAPSR3 0000
SDIC PSAPSR3 0
SDOCU PSAPSR3 0000
SLDEF PSAPSR3700 0000
SLEXC PSAPSR3700 0000
SLOAD PSAPSR3 0000
SPROT PSAPSR3 0000
SSDEF PSAPSR3700 0000
SSEXC PSAPSR3700 0000
SSRC PSAPSR3 0000
TEMP PSAPSR3 0000
USER PSAPSR3USR 0000
USER1 PSAPSR3USR 0000
sto: 0 0000000016K 0000000040K 0000000001 2147483645
1 0000000016K 0000000080K 0000000001 2147483645
10 0000000016K 0000163840K 0000000001 2147483645
11 0000000016K 0000327680K 0000000001 2147483645
12 0000000016K 0000655360K 0000000001 2147483645
13 0000000016K 0001310720K 0000000001 2147483645
14 0000000016K 0002621440K 0000000001 2147483645
2 0000000016K 0000000160K 0000000001 2147483645
3 0000000016K 0000000640K 0000000001 2147483645
4 0000000016K 0000002560K 0000000001 2147483645
5 0000000016K 0000005120K 0000000001 2147483645
6 0000000016K 0000010240K 0000000001 2147483645
7 0000000016K 0000020480K 0000000001 2147483645
8 0000000016K 0000040960K 0000000001 2147483645
9 0000000016K 0000081920K 0000000001 2147483645 -
Symbolic link error when exporting during heterogeneous system copy
My enviroment is ECC6.0/Oracle 10.2.0.2/SUN Solaris 10 . I'm performing heterogeneous system copy to Oracle 10.2.0.2/AIX 6.1 enviroment.
I've succesfully exported & imported two systems ie DEV & Solutin Manager , but PRD system has an OS problem with symbolic links ie Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
I want to export both ABAP & JAVA stack but only the java stack is getting picked.
Below is part of the resultng sapinst.log
Thanks
INFO 2011-09-05 10:44:30.573
Execute step verifyJavaHome of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
INFO[E] 2011-09-05 10:44:33.851
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:44:33.851
FSL-02061 Link /._ is invalid: Unable to link a link to itself.
INFO 2011-09-05 10:44:46.118
Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar com.sap.ins.j2ee.GetSystemProperty" finished with return code 0. Output: #
#Mon Sep 05 10:44:45 EAT 2011
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc
java.vm.version=1.4.2_09-b05
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http\://java.sun.com/
path.separator=\:
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=US
sun.os.patch.level=unknown
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/oracle/PRD/INSTDIR/sapinst_dir
java.runtime.version=1.4.2_09-b05
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.endorsed.dirs=/usr/j2sdk1.4.2_09/jre/lib/endorsed
os.arch=sparc
java.io.tmpdir=/var/tmp/
line.separator=\n
java.vm.specification.vendor=Sun Microsystems Inc.
os.name=SunOS
sun.java2d.fontpath=
java.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc/client\:/usr/j2sdk1.4.2_09/jre/lib/sparc\:/usr/j2sdk1.4.2_09/jre/../lib/sparc\:/tmp/sapinst_exe.29247.1315208256\:/usr/openwin/lib\:/usr/lib
java.specification.name=Java Platform API Specification
java.class.version=48.0
java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
os.version=5.10
user.home=/
user.timezone=Africa/Nairobi
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=ISO8859-1
java.specification.version=1.4
java.class.path=/tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar
user.name=root
java.vm.specification.version=1.0
java.home=/usr/j2sdk1.4.2_09/jre
sun.arch.data.model=32
user.language=en
java.specification.vendor=Sun Microsystems Inc.
java.vm.info=mixed mode
java.version=1.4.2_09
java.ext.dirs=/usr/j2sdk1.4.2_09/jre/lib/ext
sun.boot.class.path=/usr/j2sdk1.4.2_09/jre/lib/rt.jar\:/usr/j2sdk1.4.2_09/jre/lib/i18n.jar\:/usr/j2sdk1.4.2_09/jre/lib/sunrsasign.jar\:/usr/j2sdk1.4.2_09/jre/lib/jsse.jar\:/usr/j2sdk1.4.2_09/jre/lib/jce.jar\:/usr/j2sdk1.4.2_09/jre/lib/charsets.jar\:/usr/j2sdk1.4.2_09/jre/classes
java.vendor=Sun Microsystems Inc.
file.separator=/
java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding=UnicodeBig
sun.cpu.endian=big
sun.cpu.isalist=sparcv9vis2 sparcv9vis sparcv9 sparcv8plusvis2 sparcv8plusvis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
INFO 2011-09-05 10:44:47.076
Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar:/tmp/sapinst_exe.29247.1315208256/JAR/sapxmltoolkit.jar -d64 com.sap.ins.j2ee.TestClassLoader" finished with return code 0. Output: CORRECT
INFO 2011-09-05 10:44:47.572
Execute step verifyPolicy of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
INFO 2011-09-05 10:44:47.715
Execute step setNWOption of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
WARNING 2011-09-05 10:44:47.944
Could not determine a valid JAVA_HOME directory from the environment.
INFO 2011-09-05 10:44:48.86
Execute step assignUsersToSapinstGroup of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:48.890
Account sapinst already exists.
INFO 2011-09-05 10:44:48.894
Account prdadm already exists.
INFO 2011-09-05 10:44:48.917
Account oraprd already exists.
INFO 2011-09-05 10:44:49.73
Execute step useDatabaseMethod of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.217
Execute step setDatabaseMethodOra of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.341
Execute step setDatabaseMethodDB6 of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.480
Execute step mainExportParameters of component |NW_Export|ind|ind|ind|ind|0|0
INFO[E] 2011-09-05 10:44:52.251
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:44:52.252
FSL-02061 Link /._ is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.760
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/cntrl), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.761
FSL-02061 Link /oracle/PRD/cntrl is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.762
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.762
FSL-02061 Link /oracle/PRD/._ is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.763
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sdubhibq), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.764
FSL-02061 Link /oracle/PRD/sdubhibq is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.765
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sduccayx), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.765
FSL-02061 Link /oracle/PRD/sduccayx is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.766
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/inventory), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.767
FSL-02061 Link /oracle/PRD/inventory is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.768
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/OPatch), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.768
FSL-02061 Link /oracle/PRD/OPatch is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.769
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/assistants), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.770
FSL-02061 Link /oracle/PRD/assistants is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.771
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/bin), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.772
FSL-02061 Link /oracle/PRD/bin is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.773
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/clone), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.773
FSL-02061 Link /oracle/PRD/clone is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.774
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/crs), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.775
FSL-02061 Link /oracle/PRD/crs is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.776
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/css), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.777
FSL-02061 Link /oracle/PRD/css is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.778
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/ctx), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.778
FSL-02061 Link /oracle/PRD/ctx is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.779
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/dbs), line (346) in file (syuxclink.cpp).Hi,
In PRD system, u might have craeted many symbolic links in /oracle/PRD fileystem . This should be avoided. Symbolic link should not be created in /oracle/PRD ...
Please check why symbolic links are created and get help from System Operation team . Please becareful to unlink symbolic links that are created by non-SAP. Make sure to perform full offline backup .
Please get the help from Unix System Operation team. Also it does not makes any sense to increase value of Unix parameter for maximum symbolic links.
Regards
APR -
Best way to move redo log from one disk group to another in ASM?
Hi All,
Our db is 10.2.0.3 RAC db. And database servers are window 2003 server.
We need to move more than 50 redo logs (some are regular and some are standby) which are not redundant from one disk group to another. Say we need to move from disk group 1 to 2. Here are the options we are thinking about but not sure which one is the best from easiness and safety prospective.
Thank you very much for your help in advance.
Shirley
Option 1:
1) shutdown immediate
2) copy log files from disk group 1 to disk group2 using RMAN (need to research on this)
3) startup mount
4) alter database rename file ….
5) Open database open
6) delete the redo files from disk group 1 in ASM (how?)
Option 2:
1) create a set of redo log groups in disk group 2
2) drop the redo log groups in disk group 1 when they are inactive and have been archived
3) delete the redo files associated with those dropped groups from disk group 1 (how?) (According to Oracle menu: when you drop the redo log group the operating system files are not deleted and you need to manually delete those files)
Option 3:
1) create a set of redo members in disk group 2 for each redo log group in disk group 1
2) drop the redo log memebers in disk group 1
3) delete the redo files from disk group 1 associated with the dropped membersAbsolutely not, they are not even remotely similar concepts.
OMF: Oracle Managed Files. It is an RDMBS feature, no matter what your storage technology is, Oracle will take care of file naming and location, you only have to define the size of a file, and in the case of a tablespace on an OMF DB Configuration you only need to issue a command similar to this:
CREATE TABLESPACE <TSName>; So the OMF environment creates an autoextensible datafile at the predefined location with 100M by default as its initial size.
On ASM it should only be required to specify '+DGroupName' as the datafile or redo log file argument so it can be fully managed by ASM.
EMC. http://www.emc.com No further commens on it.
~ Madrid
http://hrivera99.blogspot.com -
Hi Experts,
I want to remove a wrong redo log file from 10G R2 database in window.
how to do that without loss data?
my steps as
1. alter system switch logfile;
2. select * from v$log;
which ARC and sataus do I can drop redo log file based on above SQL
no archive and active status?
ALso Which account should I do above action?
fExamp, system account added redo log file, i only
can drop by system? how about sys?
Thanks help in detail steps
Jim
Edited by: user589812 on Dec 23, 2008 4:35 PMJim,
Check this link out for how to drop a redo log file
Make sure a redo log group is archived (if archiving is enabled) before dropping it. To see whether this has happened, use the V$LOG view.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/onlineredo.htm#i1006489
SELECT GROUP#, ARCHIVED, STATUS FROM V$LOG;
GROUP# ARC STATUS
1 YES ACTIVE
2 NO CURRENT
3 YES INACTIVE
4 YES INACTIVE
Drop a redo log group with the SQL statement ALTER DATABASE with the DROP LOGFILE clause.
The following statement drops redo log group number 3:
ALTER DATABASE DROP LOGFILE GROUP 3; -
Best practice - online redo logs and virtualization
I have a 10.1.0.4 instance (soon to be migrated to 11gr2) running under Windows Server 2003.
We use a non-standard disk distribution scheme -
on the c: drive we have oracle_home as well as directories for control files and online redo logs.
on the d: drive we have datafiles
on the e: drive we have archive log files and another directory with online redo logs and another copy of control file
my question is this:
is it smart practice to have ANY online redo logs or control file on the same spindle with archive logs?
Our setup works fairly well but we are in the process of migrating the instance first to ESX server and SAN and then secondly to 11gtr2 64bit under server 2008 64 and when we bring up our instance on the VM for testing we find that benchmarking the ESX server (dual Xeon 3.4ghz with 48gb RAM running against FalconStor NSS SAN with 15k SAS disks over iSCSI) against the production physical server (dual Xeon 2.0ghz with 4gb RAM using direct attached SATA 7200rpm drives) we find that some processes run faster on the ESX box and some run 40-100% slower. Running Statspack seems to identify lots of physical read waits as well as some waits for redo and controlfiles.
Is it possible that in addition to any overhead introduced by ESX and iSCSI (we are running Jumbo Frames over 1gb) we may have contention because the archive logs are on the same "spindle" (virtual) as the online redo and control files?
We're looking at multiple avenues to bring the 2 servers in line from a performance standpoint - db configuration, memory allocation, possible move to 10gb network, possible move to SSD storage tray, possible application rewrites. But from the simplest low hanging fruit idea, if these files should not be on the same spindle thats an easy change to make and possibly eke out an improvement.
Ideas?
MikeHi,
"Old" Oracle standard is to use as many spindles as possible.
It looks to me, you have only 1 disk with several partitions on it ??
In my honest opinion you should anyway start by physically seperating OS from Oracle, so let the C: drive to the Windows OS
Take another physical seperate D: drive to install you application.
Use yet another set of physical drives, preferably in RAID10 setup, for your database and redo logs
And finally yet another disk for the archive logs.
We have recently configured a Windows 2008 server with an 11G Db, which pretty much follows the above setup.
All non RAID10 disks are RAID1 ( mirror ) and we even have some SSD's for hot tables and redo-logs.
The machine, or must I say the database, operates like a high speed train, very, very fast.
Ofcourse keep in mind the number of cores ( not only for licensing ) and the amount of memory.
Try to prevent the system from swapping, because that is a performance killer!
Edit: And even if you put a virtual layer in between, try to seperate the virtual disks as much as possible over physical disks
Success!
FJFranken
Edited by: fjfranken on 7-okt-2011 7:19 -
Hi,
We are using Oracle 7.3 and we had a system crash. After i boot up the system and tried to open the database, i got a message that one of the redo log(current) was corrupted and hence the database cannot opened. We are in nonarchived mode and since we are using raid5, we haven't multiplexed the files. I cannot drop the log (As i cannot open the database,i cannot switch the logfile, drop and rebuild again). Now is there any methord to drop the log, and rebuild the log again? (The final option is to restore the whole system through "UFSRESTORE" since total storage of all HDD is only 16gb and then take a import of the schema).
thanks
ArunCitizen_2 wrote:
How can i force the archiving of a redo log group 2?How could you archive a log group when you have lost all members of that group?
Have you checked out this documentation: [Recovering After the Loss of Online Redo Log Files|file://///castle/1862/Home%20Directories/Vaillancourt/Oracle%2010gR2%20Doc/backup.102/b14191/recoscen008.htm#sthref1872]
More specifically:
If the group is . . . Current
Then . . .
It is the log that the database is currently writing to.
And you should . . .
Attempt to clear the log; if impossible, then you must restore a backup and perform incomplete recovery up to the most recent available redo log.
>
HTH! -
Can we use online redo log to recover lost datafile in NOARCHIVE mode?
I am working on OCA exam and confued about these 2 sample questions. (similar questions with totally different answer)
Please give me hint about the different between these 2 questions.
** If the database is in NOARCHIVELOG mode, and one of the datafile for tablespace USERS is lost, what kind of recovery is possible? (answer: B)
A. All transactions except those in the USERS tablespace are recoverable up to the loss of the datafile.
B. Recovery is possible only up to the point in time of the last full database backup.
C. The USERS tablespace is recoverable from the online redo log file as long as none of the redo log files have been reused since the last backup.
D. Tablespace point in time recovery is available as long as a full backup of the USERS tablespace exists.
** The database of your company is running in the NOARCHIVELOG mode. You perform a complete backup of the database every night. On Monday morning, you lose the USER1.dbf file belonging to the USERS tablespace. Your database has four redo log groups, and there have been two log switches since Sunday night's backup.
Which is true (answer: B)
A. The database cannot be recovered.
B. The database can be recovered up to the last commit.
C. The database can be recovered only up to the last completed backup.
D. The database can be recovered by performing an incomplete recovery.
E. The database can be recovered by restoring only the USER!.dbf datafile from the most recent backup.I think Gaurav is correct, you can recover to the last commit even in NOARCHIVELOG, as long as all the changes in the redo logs have not been overwritten. So answer should be B for question 2.
Here is my test:
SQL> select log_mode from v$database;
LOG_MODE
NOARCHIVELOG
SQL> select tablespace_name, file_name from dba_data_files;
TABLESPACE_NAME
FILE_NAME
USERS
C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\USERS01.DBF
SYSAUX
C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\SYSAUX01.DBF
UNDOTBS1
C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\UNDOTBS01.DBF
SYSTEM
C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\SYSTEM01.DBF
DATA
C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\DATA01.DBF
SQL> create table names
2 ( name varchar(16))
3 tablespace users;
Table created.
so this segment 'names' is created in the datafile users01.
At this point I shut down and mount the DB, then:
RMAN> backup database;
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:29
Finished backup at 06-OCT-07
SQL>alter database open
SQL> insert into names values ('pippo');
1 row created.
SQL> commit;
Commit complete.
SQL>shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
At this point I delete datafile users01 and restart:
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 67110244 bytes
Database Buffers 96468992 bytes
Redo Buffers 2945024 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\USERS01.DBF'
restoring the backup taken before inserting the value 'pippo' in table names:
RMAN> restore database;
Starting restore at 06-OCT-07
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\SYSTEM01.D
BF
restoring datafile 00002 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\UNDOTBS01.
DBF
restoring datafile 00003 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\SYSAUX01.D
BF
restoring datafile 00004 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\USERS01.DB
F
restoring datafile 00005 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA101RC\DATA01.DBF
channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\DB_1\DATA
BASE\0AITR52K_1_1
channel ORA_DISK_1: restored backup piece 1
piece handle=C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\0AITR52K_1_1 tag=TAG20071006
T181337
channel ORA_DISK_1: restore complete, elapsed time: 00:02:07
Finished restore at 06-OCT-07
RMAN> recover database;
Starting recover at 06-OCT-07
using channel ORA_DISK_1
starting media recovery
media recovery complete, elapsed time: 00:00:05
Finished recover at 06-OCT-07
SQL> alter database open;
Database altered.
SQL> select * from names;
NAME
pippo
SQL>
enrico -
How to recover from one corrupted redo log file in NOARCHIVE mode?
Oracle 10.2.1.
The redo log file was corrupted and Oracle can't work.
When I use STARTUP mount, I got no error msg.
SQL> startup mount
ORACLE instance started.
Total System Global Area 1652555776 bytes
Fixed Size 1251680 bytes
Variable Size 301991584 bytes
Database Buffers 1342177280 bytes
Redo Buffers 7135232 bytes
Database mounted.
But I have some applications which are depended on Oracle can't be started.
So, I tried STARTUP open. But I got error msg.
SQL> startup open
ORACLE instance started.
Total System Global Area 1652555776 bytes
Fixed Size 1251680 bytes
Variable Size 301991584 bytes
Database Buffers 1342177280 bytes
Redo Buffers 7135232 bytes
Database mounted.
ORA-00368: checksum error in redo log block
ORA-00353: log corruption near block 497019 change 42069302 time 11/07/2007
23:43:09
ORA-00312: online log 4 thread 1:
'G:\ORACLE\PRODUCT\10.2.0\ORADATA\NMDATA\REDO04.LOG'
So, how can I restore and recover my database?
If use RMAN, how to do that?
Any help will be appreciated.
Thanks.Hi, Yingkuan,
Thanks for the helps.
Actually, I have 10 redo log files exists. All of them are here.
I tried your suggestion:
alter database clear unarchived logfile group 4;
The error msg I got is the same as before:
SQL> alter database clear unarchived logfile group 4;
alter database clear unarchived logfile group 4
ERROR at line 1:
ORA-01624: log 4 needed for crash recovery of instance nmdata (thread 1)
ORA-00312: online log 4 thread 1:
'G:\ORACLE\PRODUCT\10.2.0\ORADATA\NMDATA\REDO04.LOG'
Compared to losing all the data, it is OK for me lose some of them.
I have more than 1 TB data stored and 99.9% of them are raster images.
The loading of these data were the headache. If I can save them, I can bear the lost.
I want to grasp the last straw.
But I don't know how set the parameter: allowresetlogs_corruption
I got the error msg:
SQL> set allowresetlogs_corruption=true;
SP2-0735: unknown SET option beginning "_allow_res..."
I have run the command:
Recover database until cancel
Alter database open resetlogs
The error msg I got is the following:
SQL> recover database until cancel
ORA-00279: change 41902930 generated at 11/05/2007 22:01:48 needed for thread 1
ORA-00289: suggestion :
D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\NMDATA\ARCHIVELOG\2007_11_09\O1_MF_
1_1274_%U_.ARC
ORA-00280: change 41902930 for thread 1 is in sequence #1274
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\NMDATA\SYSTEM01.DBF'
ORA-01112: media recovery not started
SQL>
From the log file, I got the following:
ALTER DATABASE RECOVER database until cancel
Fri Nov 09 00:12:48 2007
Media Recovery Start
parallel recovery started with 2 processes
ORA-279 signalled during: ALTER DATABASE RECOVER database until cancel ...
Fri Nov 09 00:13:20 2007
ALTER DATABASE RECOVER CANCEL
Fri Nov 09 00:13:21 2007
ORA-1547 signalled during: ALTER DATABASE RECOVER CANCEL ...
Fri Nov 09 00:13:21 2007
ALTER DATABASE RECOVER CANCEL
ORA-1112 signalled during: ALTER DATABASE RECOVER CANCEL ...
Thank you very much. and I am looking forward to your followup input. -
ORA-00333: redo log read error block
ORA-01033: ORACLE initialization or shutdown in progress ...
/ as sysdba
SQL> shutdown immediate;
SQL> startup nomount;
SQL> alter database mount;
SQL> alter database open;
ORA-00333: redo log read error block 8299 count 8192
SQL> SELECT * FROM V$VERSION;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL> select group#,members,THREAD, STATUS,ARCHIVED,BYTES,FIRST_TIME,FIRST_CHAGE#,SEQUENCE# from v$log;
GROUP# MEMBERS,THREAD,STATUS,ARCHIVED,BYTES,FIRST_TIME,FIRST_CHAGE#,SEQUENCE#
1 1 1 CURRENT NO 52428800 29-FEB-12 1597643 57
2 1 1 INACTIVE NO 52428800 29-FEB-12 1573462 56
Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
Wed Feb 29 19:46:38 2012
Recovery of Online Redo Log: Thread 1 Group 1 Seq 56 Reading mem 0
Mem# 0 errs 0: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_7LZYZK8S_.LOG
Wed Feb 29 19:46:40 2012
Completed redo application
Wed Feb 29 19:46:40 2012
Completed crash recovery at
Thread 1: logseq 56, block 6568, scn 1597642
270 data blocks read, 270 data blocks written, 1460 redo blocks read
Wed Feb 29 19:46:43 2012
Thread 1 advanced to log sequence 57
Thread 1 opened at log sequence 57
Current log# 2 seq# 57 mem# 0: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_7LZYZL5V_.LOG
Successful open of redo thread 1
Wed Feb 29 19:46:43 2012
SMON: enabling cache recovery
Wed Feb 29 19:46:55 2012
Successfully onlined Undo Tablespace 1.
Wed Feb 29 19:46:55 2012
SMON: enabling tx recovery
Wed Feb 29 19:46:56 2012
Database Characterset is AL32UTF8
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=19, OS id=3024
Wed Feb 29 19:47:09 2012
Completed: alter database open
Wed Feb 29 19:47:14 2012
db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Wed Feb 29 20:33:30 2012
MMNL absent for 1537 secs; Foregrounds taking over
Wed Feb 29 20:33:31 2012
MMNL absent for 1540 secs; Foregrounds taking over
Wed Feb 29 20:33:31 2012
MMNL absent for 1540 secs; Foregrounds taking over
MMNL absent for 1540 secs; Foregrounds taking over
Wed Feb 29 20:33:32 2012
MMNL absent for 1540 secs; Foregrounds taking over
Wed Feb 29 20:33:33 2012
MMNL absent for 1540 secs; Foregrounds taking over
Wed Feb 29 21:45:24 2012
MMNL absent for 4318 secs; Foregrounds taking over
MMNL absent for 4318 secs; Foregrounds taking over
MMNL absent for 4322 secs; Foregrounds taking over
Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
Wed Feb 29 22:30:01 2012
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows XP Version V5.1 Service Pack 3, v.3244
CPU : 2 - type 586, 2 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:3097M/3546M, Ph+PgF:5143M/5429M, VA:1943M/2047M
Wed Feb 29 22:30:01 2012
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
__shared_pool_size = 201326592
__large_pool_size = 8388608
__java_pool_size = 4194304
__streams_pool_size = 0
spfile = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
sga_target = 805306368
control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
__db_cache_size = 587202560
compatible = 10.2.0.1.0
db_recovery_file_dest = C:\oraclexe\app\oracle\flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=winsp3ue)(PORT=1522))
job_queue_processes = 4
audit_file_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
background_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
user_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
core_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 268435456
PMON started with pid=2, OS id=2176
PSP0 started with pid=3, OS id=2204
MMAN started with pid=4, OS id=2208
DBW0 started with pid=5, OS id=2212
LGWR started with pid=6, OS id=2220
CKPT started with pid=7, OS id=2240
SMON started with pid=8, OS id=2460
RECO started with pid=9, OS id=2464
CJQ0 started with pid=10, OS id=2480
MMON started with pid=11, OS id=2484
Wed Feb 29 22:30:02 2012
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=2492
Wed Feb 29 22:30:02 2012
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Wed Feb 29 22:30:02 2012
alter database mount exclusive
Wed Feb 29 22:30:06 2012
Setting recovery target incarnation to 2
Wed Feb 29 22:30:06 2012
Successful mount of redo thread 1, with mount id 2657657770
Wed Feb 29 22:30:06 2012
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Wed Feb 29 22:30:07 2012
alter database open
Wed Feb 29 22:30:07 2012
Beginning crash recovery of 1 threads
Wed Feb 29 22:30:07 2012
Started redo scan
Wed Feb 29 22:30:15 2012
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2544.trc:
ORA-00333: redo log read error block 10347 count 6144
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_7LZYZL5V_.LOG'
ORA-27070: async read/write failed
OSD-04016: Error queuing an asynchronous I/O request.
O/S-Error: (OS 23) Data error (cyclic redundancy check).
Waiting for Help
RegardsErrors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2544.trc:
ORA-00333: redo log read error block 10347 count 6144
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_7LZYZL5V_.LOG'
ORA-27070: async read/write failed
OSD-04016: Error queuing an asynchronous I/O request.
O/S-Error: (OS 23) Data error (cyclic redundancy check).Might your redo log file is corrupted or not exist, check physically. -> C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_7LZYZL5V_.LOG
is it archivelog mode?
perform fake recovery and open resetlogs. -
Hoping for a quick response : EXP and Archived REDO log files
I apologize in advance if this question has been asked and answered 100 times. I admit I didn't search, I don't have time. I'm leaving on vacation tomorrow, and I need to know if I'm correct about something to do with backup / restore.
we have 10g R2 running a single instance on a single server. The application vendor has "embedded" oracle with their application. The vendor's backup is a batch file using EXP - thus:
exp system/xpwdxx@db full=y file=D:\Orant\admin\db\EXP\db_full.dmp log=D:\Orant\admin\db\EXP\db_full.txt direct=y compress=y
This command is executed nightly at midnight. The files are then backed up by our nightly backup to offsite storage media.
Te database is running in autoarchive mode. The problem is, the archived redo files filled the drive they were being stored on, and it is the drive the database is on. I used OS commands to move 136G of archived redo logs onto other storage media to free the drive.
My question: Since the EXP runs at midnight, when there is likely NO activity, do I need to run in AutoArchive Mode? From what I have read, you cannot even apply archived redo log files to this type of backup strategy (IMP) Is that true? We are ok losing changes since our last EXP. I have read a lot of stuff about restoring consistent vs. inconsistent, and just need to know: If my disk fails, and I have to start with a clean install of Oracle and nothing else, can I IMP this EXP and get back up and running as of the last EXP? Or do I need the autoarchived redo log files back to July 2009 (136G of them).
Hoping for a quick response
Best Regards, and thanks in advance
Bruce DavisBruce Davis wrote:
Amardeep Sidhu
Thank you for your quick reply. I am reading in the other responses that since I am using EXP without consistent=y, I might not even have a backup. The application vendor said that with this dmp file they can restore us to the most recent backup. I don't really care for this strategy as it is untested. I asked them to verify that they could restore us and they said they tested the dmp file and it was OK.
Thank you for taking the time to reply.
Best Regards
BruceThe dump file is probably ok in the sense it is not corrupted and can be used in an imp operation. That doesn't mean the data in it is transactionally consistent. And to use it at all, you have to have a database up and running. If the database is physically corrupted, you'll have to rebuild a new database from scratch before you can even think about using your dmp file.
Vendors never understand databases. I once had a vendor tell me that Oracle's performance would be intolerable if there were more than 5 concurrent connections. Well, maybe in HIS product ..... Discussions terminated quickly after he made that statement. -
Hi,
I have problem with one of the redo log file i issued the ALTER DATABASE CLEAR LOGFILE GROUP 3; command. the status right now is clearing since last some hours.
Can i create new redo log and assign to group 3. will the status will be inactive or active? how to add redo log and group please explain!
Thanksuser12020966 wrote:
Hi,
I have problem with one of the redo log file i issued the ALTER DATABASE CLEAR LOGFILE GROUP 3; command. the status right now is clearing since last some hours.
Can i create new redo log and assign to group 3. will the status will be inactive or active? how to add redo log and group please explain!
Thanksafer you create redo log group it wil be inactive because nothing has been written to it after you apply alter system switch file the new group will start to write the redo record and it status will be active but if the circule in group 3
Maybe you are looking for
-
Transferring movie from Itunes to new ipod touch..will not sync
Hi I have an ipod touch and want to load movies. I have downloaded a digital copy of Ice age 3 using the serial number provided from my computer to my itunes folder but it will not sync to my ipod with an error saying 'you are not authorised to play
-
US localization. Select 2 Sales orders in one down payment invoice
US Localization. I need to create a Sales Down payemnt invoice selecting 2 sales order but is not possibile to select more than one SO. In Other localization I see that it is possible. There is some set up or on the US localization it is not possible
-
Hi, I've copied and pased the DOM example from the java's tutorials section, but when I try to run it I'm getting the following exception: Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange Any ideas???? Thank
-
Unable to Create New Folder 8.1
When I right click in the file explorer I do not have the option to create a new folder, also when pressing the button I cannot make a new folder.
-
Javascript to close an application
I'm trying to close my application using 'button'. Here's the steps which I followed http://kb.adobe.com/selfservice/viewContent.do?externalId=238f7842 but when I publish and view the .swf file it opens Adobe Flash Player Security dialog box and when