Redo file question
As written in Oracle documents.
oracle records each and every tranjaction in redo buffer and as soon as writes to redo file.
As redo file is full it switches to another redo file.
While switching redo file it archives the the current redo file and the new redo file will be the current redo
if it is in archive log mode and the archival process is started.
And also written that in the event failure the redo file is needed to recover database when the
database starts. Now I want to know I have a transaction which is not fit in a redo file and it goes to another redo file.
What will happen if again failuer occured and I have restarted the database.Does it recovere from both of the redo files?
If Yes: What will happen if my transaction doesn't fit in all of the redofiles?
if no: How does it rollback up to last commited transaction if it is not in current redo logfile?
thank You very much.
Perhaps you should try to learn by both reading and doing (testing!), since this a quite vital "concept".
I think Oracle9i Backup and Recovery Concepts A96519-01, Chapter 1 - the basic concepts adn explanation of the involved structures, is a good place to start.
Similar Messages
-
We recently got an HP disk array, and I was in the process of moving my redo files to the new volumn when I accidently moved the active file. Needless to say my database will not open. ORA-0322, However when I try to RESETLOGS on the open command it says that I can not because the database has not be restored.
Suggestions would be helpful..Perhaps you should try to learn by both reading and doing (testing!), since this a quite vital "concept".
I think Oracle9i Backup and Recovery Concepts A96519-01, Chapter 1 - the basic concepts adn explanation of the involved structures, is a good place to start. -
How to change the size of redo file
Deal all,
I finish installed the db,and the size of redo file is 50m by default. I found many "checkpoint not complete" events in alert.log file.
Now i want to change it to 100M and try to avoid the event appear again ,how can i do?As Sb has already correct reply that size of redo logs can not be changed. We have to create new bigger/smaller size of redo logs and then 'alter system switch logfile' to inactivate older logs. Now you can drop older logs. Redo logs are something a glass of water. We can not change the size of glass, if we wish to dring more/less water, we will take that sized glass and we will get that sized water.
Remember to consider the multiplexing/grouping when doing any maintenance like this. And there may be archive log & backup space considerations.
Hans @ http://dbaspot.com/oracle-server/33231-changing-redo-log-file-size.html
Regards
Girish Sharma -
CGI map file questions, help !!!
I am trying to use the CGI map file to open web reports. I got two questions at this time.
1. How to refresh the report to reflect resent edits ? I used the CGI map to open a report. Later, I made some edits to the report and opened it again. However, the browser showed the report before the edit. I had to save the report to different file name and edited the key in the map file to show the edited report. This should not be the right way.
2. How to open a report on a separated screen which is on top of the original one ?
Any suggestions? Thanks!
nullHi Kate.
As far as a find and replace tool is concerned, most of us
here prefer using some tool such as FAR or BkReplacem as they offer
more features to help in this kind of scenario. The simple answer
is however that these tools, as indeed does the inbuilt tool, bases
it's search on the HTML. Therefore if there are specific instances
of HTML strings you will have to analyse carefully them before you
replace anything. It sounds like you are already some down down
this line. Take a backup of your project and test out your theory.
As far as your map file question is concerned, you can safely
reimport your map file PROVIDED that no changes have been made to
the mapids in the meantime. Personally I wouldn't do this unless
you are 100% sure of this. If it is a case of having 100s of topics
that are not mapped and never have been but could be, I'd just
create a new map file and map away. -
How to recover database without controlfile and redo files?
Hi all,
If I just have datafiles using hot backup saving in another machine, and all files in current database were lost including data files,control files and redo log files .
How can I recover database just using hot backup datafiles? without control file, without redo files.
Your help is greatly appreciated.alter database backup control file to trace
SQL> alter database backup controlfile to trace;
Go to udump folder in oracle home folder check the trace file copy these lines
CREATE CONTROLFILE REUSE DATABASE "O10G1 NORESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 454
LOGFILE
GROUP 1 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO01.LOG' SIZE 10M,
GROUP 2 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO02.LOG' SIZE 10M,
GROUP 3 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO03.LOG' SIZE 10M
-- STANDBY LOGFILE
DATAFILE
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\SYSTEM01.DBF',
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\UNDOTBS01.DBF',
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\SYSAUX01.DBF',
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\USERS01.DBF'
CHARACTER SET WE8MSWIN1252
Change the new database name abc
and REUSE replaced by SET and NORESTLOGS replaced by RESTLOGS above lines.
Save as C1.sql
C:\ set oracle_sid=instance name
C:\>sqlplus /nolog
SQL*Plus: Release 10.1.0.2.0 - Production on Tue Apr
11 06:44:28 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba;
Connected to an idle instance.
SQL> startup nomount
pfile='C:\oracle\product\10.1.0\admin\jeeno\pfile\jeenoinit.ora'
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145750508 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
SQL> @c1.sql
Control file created.
SQL> alter database open resetlogs;
Database altered -
Capture WAITING FOR DICTIONARY REDO: FILE
Hi Experts,
Based on a large transaction, source A1 database archive action was auto switch for redlog files.
After this event, we destination A2 DB capture get a state---WAITING FOR DICTIONARY REDO: FILE G:\ORACLE\ORADATA\VMSDBSEA\ARCHIVE\ARC10201_0639211808.001.
we use bi-direction stream at oracle10GR4 in 32 bit windoe 2003.
I think that is a capture problem in A2 only. last weekend, stream stop capture process due low SGA.
I restart A2 capture thsi morning.
What do I need to do? just add a new first SCN or register redo file?
Please help me in detail.
I find this case at http://stanford.edu/dept/itss/docs/oracle/10g/server.101/b10727/capture.htm#1006565
1. A capture process is configured to capture changes to tables.
2. A database administrator stops the capture process. When the capture process is stopped, it records the SCN of the change it was currently capturing.
3. User applications continue to make changes to the tables while the capture process is stopped.
4. The capture process is restarted three hours after it was stopped.
However, I do not see how to set new SCN for restart capture.
Thanks,
Jim
Edited by: user589812 on Dec 29, 2008 12:11 PMi try to register archivelog file and got message as
SQL> ALTER DATABASE REGISTER LOGICAL LOGFILE 'ARC23250_0621282506.001' FOR 'STREAM_CAPTURE';
ALTER DATABASE REGISTER LOGICAL LOGFILE 'ARC23250_0621282506.001' FOR 'STREAM_CAPTURE'
ERROR at line 1:
ORA-01284: file cannot be opened
So what issue?
Thanks
JIm -
Backup failed while copying the redo files due to previous errors
Backup failed while copying the redo files due to previous errors. DATA file backup is successfull. Please suggest what measures we can take to avoid this.. This is a daily online backup.
logs
BR0001I ******************************____________________
BR0202I Saving /oracle/ECQ/sapdata2/sr3700_7/sr3700.data7
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data7 ...
#FILE..... /oracle/ECQ/sapdata2/sr3700_7/sr3700.data7
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data7 #1/29
BR0280I BRBACKUP time stamp: 2010-11-03 20.01.36
BR0063I 29 of 45 files processed - 92344.227 MB of 147448.352 MB done
BR0204I Percentage done: 62.63%, estimated end time: 20:20
BR0001I *******************************___________________
BR0202I Saving /oracle/ECQ/sapdata2/sr3700_8/sr3700.data8
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data8 ...
#FILE..... /oracle/ECQ/sapdata2/sr3700_8/sr3700.data8
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data8 #1/30
BR0280I BRBACKUP time stamp: 2010-11-03 20.03.34
BR0063I 30 of 45 files processed - 98044.234 MB of 147448.352 MB done
BR0204I Percentage done: 66.49%, estimated end time: 20:20
BR0001I *********************************_________________
BR0202I Saving /oracle/ECQ/sapdata3/sr3700_10/sr3700.data10
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data10 ...
#FILE..... /oracle/ECQ/sapdata3/sr3700_10/sr3700.data10
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data10 #1/31
BR0280I BRBACKUP time stamp: 2010-11-03 20.04.51
BR0063I 31 of 45 files processed - 102064.242 MB of 147448.352 MB done
BR0204I Percentage done: 69.22%, estimated end time: 20:20
BR0001I ***********************************_______________
BR0202I Saving /oracle/ECQ/sapdata3/sr3700_11/sr3700.data11
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data11 ...
#FILE..... /oracle/ECQ/sapdata3/sr3700_11/sr3700.data11
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data11 #1/32
BR0280I BRBACKUP time stamp: 2010-11-03 20.06.09
BR0063I 32 of 45 files processed - 106024.250 MB of 147448.352 MB done
BR0204I Percentage done: 71.91%, estimated end time: 20:20
BR0001I ************************************______________
BR0202I Saving /oracle/ECQ/sapdata3/sr3700_12/sr3700.data12
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data12 ...
#FILE..... /oracle/ECQ/sapdata3/sr3700_12/sr3700.data12
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data12 #1/33
BR0280I BRBACKUP time stamp: 2010-11-03 20.07.27
BR0063I 33 of 45 files processed - 110024.258 MB of 147448.352 MB done
BR0204I Percentage done: 74.62%, estimated end time: 20:20
BR0001I *************************************_____________
BR0202I Saving /oracle/ECQ/sapdata3/sr3700_9/sr3700.data9
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data9 ...
#FILE..... /oracle/ECQ/sapdata3/sr3700_9/sr3700.data9
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data9 #1/34
BR0280I BRBACKUP time stamp: 2010-11-03 20.08.45
BR0063I 34 of 45 files processed - 114124.266 MB of 147448.352 MB done
BR0204I Percentage done: 77.40%, estimated end time: 20:20
BR0001I ***************************************___________
BR0202I Saving /oracle/ECQ/sapdata4/sr3700_13/sr3700.data13
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data13 ...
#FILE..... /oracle/ECQ/sapdata4/sr3700_13/sr3700.data13
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data13 #1/35
BR0280I BRBACKUP time stamp: 2010-11-03 20.10.02
BR0063I 35 of 45 files processed - 118284.273 MB of 147448.352 MB done
BR0204I Percentage done: 80.22%, estimated end time: 20:19
BR0001I ****************************************__________
BR0202I Saving /oracle/ECQ/sapdata4/sr3700_14/sr3700.data14
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data14 ...
#FILE..... /oracle/ECQ/sapdata4/sr3700_14/sr3700.data14
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data14 #1/36
BR0280I BRBACKUP time stamp: 2010-11-03 20.11.30
BR0063I 36 of 45 files processed - 122764.281 MB of 147448.352 MB done
BR0204I Percentage done: 83.26%, estimated end time: 20:19
BR0001I ******************************************________
BR0202I Saving /oracle/ECQ/sapdata4/sr3700_15/sr3700.data15
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data15 ...
#FILE..... /oracle/ECQ/sapdata4/sr3700_15/sr3700.data15
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data15 #1/37
BR0280I BRBACKUP time stamp: 2010-11-03 20.12.58
BR0063I 37 of 45 files processed - 127124.289 MB of 147448.352 MB done
BR0204I Percentage done: 86.22%, estimated end time: 20:19
BR0001I *******************************************_______
BR0202I Saving /oracle/ECQ/sapdata4/sr3700_16/sr3700.data16
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data16 ...
#FILE..... /oracle/ECQ/sapdata4/sr3700_16/sr3700.data16
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data16 #1/38
BR0280I BRBACKUP time stamp: 2010-11-03 20.14.15
BR0063I 38 of 45 files processed - 131284.297 MB of 147448.352 MB done
BR0204I Percentage done: 89.04%, estimated end time: 20:19
BR0001I *********************************************_____
BR0202I Saving /oracle/ECQ/sapdata4/sr3700_17/sr3700.data17
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data17 ...
#FILE..... /oracle/ECQ/sapdata4/sr3700_17/sr3700.data17
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data17 #1/39
BR0280I BRBACKUP time stamp: 2010-11-03 20.15.23
BR0063I 39 of 45 files processed - 135380.305 MB of 147448.352 MB done
BR0204I Percentage done: 91.82%, estimated end time: 20:19
BR0001I **********************************************____
BR0202I Saving /oracle/ECQ/sapdata4/sr3700_18/sr3700.data18
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3700.data18 ...
#FILE..... /oracle/ECQ/sapdata4/sr3700_18/sr3700.data18
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3700.data18 #1/40
BR0280I BRBACKUP time stamp: 2010-11-03 20.15.40
BR0063I 40 of 45 files processed - 136404.312 MB of 147448.352 MB done
BR0204I Percentage done: 92.51%, estimated end time: 20:19
BR0001I **********************************************____
BR0202I Saving /oracle/ECQ/sapdata1/sr3usr_1/sr3usr.data1
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sr3usr.data1 ...
#FILE..... /oracle/ECQ/sapdata1/sr3usr_1/sr3usr.data1
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sr3usr.data1 #1/41
BR0280I BRBACKUP time stamp: 2010-11-03 20.15.44
BR0063I 41 of 45 files processed - 136424.320 MB of 147448.352 MB done
BR0204I Percentage done: 92.52%, estimated end time: 20:19
BR0001I **********************************************____
BR0202I Saving /oracle/ECQ/sapdata3/undo_1/undo.data1
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/undo.data1 ...
#FILE..... /oracle/ECQ/sapdata3/undo_1/undo.data1
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/undo.data1 #1/42
BR0280I BRBACKUP time stamp: 2010-11-03 20.18.02
BR0063I 42 of 45 files processed - 145284.328 MB of 147448.352 MB done
BR0204I Percentage done: 98.53%, estimated end time: 20:18
BR0001I *************************************************_
BR0202I Saving /oracle/ECQ/sapdata1/sysaux_1/sysaux.data1
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/sysaux.data1 ...
#FILE..... /oracle/ECQ/sapdata1/sysaux_1/sysaux.data1
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/sysaux.data1 #1/43
BR0280I BRBACKUP time stamp: 2010-11-03 20.18.11
BR0063I 43 of 45 files processed - 145564.336 MB of 147448.352 MB done
BR0204I Percentage done: 98.72%, estimated end time: 20:18
BR0001I *************************************************_
BR0202I Saving /oracle/ECQ/sapdata1/system_1/system.data1
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/system.data1 ...
#FILE..... /oracle/ECQ/sapdata1/system_1/system.data1
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/system.data1 #1/44
BR0280I BRBACKUP time stamp: 2010-11-03 20.18.39
BR0063I 44 of 45 files processed - 146424.344 MB of 147448.352 MB done
BR0204I Percentage done: 99.31%, estimated end time: 20:18
BR0001I **************************************************
BR0202I Saving /oracle/ECQ/sapdata1/system_2/system.data2
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/system.data2 ...
#FILE..... /oracle/ECQ/sapdata1/system_2/system.data2
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/system.data2 #1/45
BR0280I BRBACKUP time stamp: 2010-11-03 20.18.56
BR0063I 45 of 45 files processed - 147448.352 MB of 147448.352 MB done
BR0204I Percentage done: 100.00%, estimated end time: 20:18
BR0001I **************************************************
BR0280I BRBACKUP time stamp: 2010-11-03 20.19.00
BR0340I Switching to next online redo log file for database instance ECQ ...
BR0321I Switch to next online redo log file for database instance ECQ successful
BR0280I BRBACKUP time stamp: 2010-11-03 20.19.04
BR0319I Control file copy created: /oracle/ECQ/sapbackup/cntrlECQ.dbf 12894208
BR0085I 1 offline redo log file found for backup, size 27.933 MB
BR0202I Saving /oracle/ECQ/sapbackup/cntrlECQ.dbf
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/cntrlECQ.dbf ...
#FILE..... /oracle/ECQ/sapbackup/cntrlECQ.dbf
#SAVED.... /oracle/ECQ/sapbackup/beemiuvh/cntrlECQ.dbf #1/46
BR0280I BRBACKUP time stamp: 2010-11-03 20.19.04
BR0063I 1 of 2 files processed - 12.297 MB of 40.230 MB done
BR0204I Percentage done: 30.57%, estimated end time: 20:19
BR0001I ***************___________________________________
BR0202I Saving /oracle/ECQ/oraarch/ECQarch1_9046_685558507.dbf
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/ECQarch1_9046_685558507.dbf ...
BR0278E Command output of 'LANG=C cp /oracle/ECQ/oraarch/ECQarch1_9046_685558507 .dbf /oracle/ECQ/sapbackup/beemiuvh/ECQarch1_9046_685558507.dbf':
cp: /oracle/ECQ/oraarch/ECQarch1_9046_685558507.dbf: Invalid argument
BR0280I BRBACKUP time stamp: 2010-11-03 20.19.04
BR0279E Return code from 'LANG=C cp /oracle/ECQ/oraarch/ECQarch1_9046_685558507. dbf /oracle/ECQ/sapbackup/beemiuvh/ECQarch1_9046_685558507.dbf': 1
BR0222E Copying /oracle/ECQ/oraarch/ECQarch1_9046_685558507.dbf to/from /oracle/ ECQ/sapbackup/beemiuvh/ECQarch1_9046_685558507.dbf failed due to previous errors
BR0056I End of database backup: beemiuvh.and 2010-11-03 20.19.04
BR0280I BRBACKUP time stamp: 2010-11-03 20.19.04
BR0054I BRBACKUP terminated with errors
srva0004:oraecq 59>
Thanks
Preeti
Edited by: Preeti Sharma on Nov 4, 2010 1:54 PMBR0202I Saving /oracle/ECQ/oraarch/ECQarch1_9046_685558507.dbf
BR0203I to /oracle/ECQ/sapbackup/beemiuvh/ECQarch1_9046_685558507.dbf ...
BR0278E Command output of 'LANG=C cp /oracle/ECQ/oraarch/ECQarch1_9046_685558507 .dbf /oracle/ECQ/sapbackup/beemiuvh/ECQarch1_9046_685558507.dbf': cp: /oracle/ECQ/oraarch/ECQarch1_9046_685558507.dbf: Invalid argument
see above error.
Whats your setting for disk copy command in your init<SID>.sap
I think you are using cp command
>disk_copy_cmd copy -
Only a cold datafile backup. No control files, redo files, archived redo
Hi everyone,
I made a stupid mistake and am in a bad condition with only a cold database backup without control files, redo files and archived redo files. My oracle database is oracle 9i. Is there any way to get my data back?
Thanks,
YanpingHi,
Have you a backup trace of a Control File ??
You can try perform this:
eg:
oracle@linux:/u01> cp -a /backup/*.dbf /u01/oradata/DB01
oracle@linux:~> sqlplus
SQL*Plus: Release 9.2.0.4.0 - Production on Mon Sep 18 21:35:04 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name: / as sysdba
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 93394180 bytes
Fixed Size 451844 bytes
Variable Size 67108864 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
SQL>CREATE CONTROLFILE REUSE DATABASE "DB01" RESETLOGS ARCHIVELOG
MAXLOGFILES 3
MAXLOGMEMBERS 2
MAXDATAFILES 10
MAXINSTANCES 1
MAXLOGHISTORY 226
LOGFILE
GROUP 1 '/u01/oradata/DB01/redo01.log' SIZE 500K,
GROUP 2 '/u01/oradata/DB01/redo02.log' SIZE 500K,
GROUP 3 '/u01/oradata/DB01/redo03.log' SIZE 500K
DATAFILE
'/u01/oradata/DB01/system01.dbf',
'/u01/oradata/DB01/undotbs01.dbf',
'/u01/oradata/DB01/indx01.dbf',
'/u01/oradata/DB01/tools01.dbf',
'/u01/oradata/DB01/users01.dbf'
CHARACTER SET WE8ISO8859P1;
Control file created.
SQL> alter database open resetlogs;
Database altered.
SQL> ALTER TABLESPACE TEMP ADD TEMPFILE '/u01/oradata/BDRPS/temp01.dbf' SIZE 5242880 REUSE AUTOEXTEND OFF;
Tablespace altered.
SQL> select * from v$controlfile;
STATUS NAME
/u01/oradata/DB01/control01.ctl
/u01/oradata/DB01/control02.ctl
/u01/oradata/DB01/control03.ctl
SQL> select * from v$logfile;
GROUP# STATUS TYPE MEMBER
3 ONLINE /u01/oradata/DB01/redo03.log
2 ONLINE /u01/oradata/DB01/redo02.log
1 ONLINE /u01/oradata/DB01/redo01.logCheers
Message was edited by:
Legatti -
WAITING FOR DICTIONARY REDO: FILE
Hi all ,
I am getting WAITING FOR DICTIONARY REDO: FILE NAME state
SELECT STATE FROM V$STREAMS_CAPTURE ;
I tried to resolve it and found that some redo log file is missing.
Can anybody please let me know what could be the cause of missing redo log file?
If the cause for this is that some redo log file is not registered then how would i register it ?
I already have queried the DBA_REGISTERED_ARCHIVED_LOG and DBA_CAPTURE data dictionary views and i am getting some rows.
Thanks to all.
Regards
NickHello Nick,
What you would need to check is find out if there is any archived log sequence missing in DBA_REGISTERED_ARCHIVED_LOG. If you find any archived log sequence is missing then you can register against the capture logminer session using:
CONNECT / AS SYSDBA
ALTER DATABASE REGISTER LOGICAL LOGFILE '<complete file name>' FOR '<capture name>';
Thanks,
Rijesh -
If temp and redo files are deleted
if temp and redo files are deleted what is the impact on database
sb92075 wrote:
moreajays wrote:
Redo Deleted : Db will crash if its current redo , please post proof since you are simply WRONG!
on Windows, you can not delete open file.
on *NIX, the directory entry will be removed, but Oracle will continue to hold the file open & use it!
disk space will be reclaimed by the OS after final process closes the file.And then (on *nix) the fun will begin the next time they try to start the db! ;-) -
Esx 2.5.3 sticky redo files unable to committ
Hi Guys,
I know I am using a very old and outdated version of ESX (2.5.3 build 22981 specifically) but we will be slowly moving towards ESXi 4.1 and vSphere technologies soon.In saying that I was unable to find any resources, and am hoping someone will be able to help me with this.
Every few weeks\months or so our ESX server is unable to commit the created REDO logs and they can grow to be in excess of 5GB if not spotted early. For disaster recovery I have created a custom shell script that:
1 - runs vmAddRedo.pl script to add a REDO file (vmAddRedo.pl -c /root/vmware/server_name/server_name.vmx)
2 - FTP transfers the VMDK files to another DR server
3 - runs vmCommit.pl to commit the REDO files (vmCommit.pl -c /root/vmware/server_name/server_name.vmx)
Occasionally even though the script runs the files are not commited. There are no visible errors, however even if I run the vmCommit.pl script it reports that there are no REDO files present. The way I get around is to either:
1 - Restart the guest OS and then I get a prompt via the MUI whether I want to commit the logs (sometimes this doesn't work)
2 - Restart the whole ESX server - I do have to force a reboot (reboot -f ) as even though shutdown event is called, some process appears to hang and server never restarts
We are not running anything fancy, just a couple of servers with their own drives (no fancy SAN environment)
Has anyone had this issue before and how have they resolved it? Ideally I'd like to resolve this issue as we still have our core components running in this environment (exchange 2003, DC etc).
Regards,
PeteMOved to ESX 2.5 Forum
If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful -
Skip Missing Redo File in oracle streaming
Is it possible to skip a Missing/corrupt Redo File in oracle streaming. If it is possible, then how.
Hi,
If your are facing missing archive logs in Oracle streams , the STATE column in V$STREAMS_CAPTURE view will show you WAITING FOR REDO.
during this you can run below QUERY to find sequence of missing archive logs:
1)
SELECT THREAD, seq + 1 first_seq_missing, next_seq - 1 last_seq_missing,
next_seq - seq - 1 missing_count
FROM (SELECT thread# THREAD, sequence# seq,
LEAD (sequence#, 1, sequence#) OVER (PARTITION BY thread# ORDER BY sequence#)
next_seq
FROM dba_registered_archived_log, dba_capture
WHERE capture_name = '&capture_name'
AND consumer_name = capture_name)
WHERE next_seq - seq > 1
ORDER BY 1, 2;
2)Once you get list of missing archive logs , you can check them physically by checking on archive log path.
3) if the archived log is not in location then, it is missing.
4) if archived log is present in location, means it is not registered, then register them manually for CAPTURE process to pick them up.
Thanks,
Ajay -
Multiplexing Redo Log Files question
If you are running RAC on ASM on a RAID system, is this required? We are using an HP autoraid which mirrors at the block level and in the documentation about Multiplexing Redo Log Files it says that you do it to protect against media failure. The autoraid that we are using gives us multiple levels of redundancy against media failure so I was wondering if Multiplexing would be adding more overhead than is needed. Thanks for your input.
ASM is quite compex and I'm not going to outline all the advantages or reasons for ASM, but under ASM you can drop and add devices to maintain your capacity needs online without loosing data, which you cannot do using RAID, which requires a re-initialize, for example, regardless of redundancy. Please see the documentation. ASM, like pretty much everything Oracle will add complexity and you will have to check your requirements. ASM is however pretty much the standard. If you use external RAID, make sure your storage is not using RAID 5 or 0. Regarding logical errors, you could for example overwrite or delete a file by mistake, in which case file redundancy does not protect you. If you are looking for reasons or ways not to use ASM, I'm sure you will find them, but what's the point?
-
Flat File and Control Files Questions
Greetings,
I've worked with Oracle for about 10 years, but have little experience with using sql-loader.
I have data from Visual FoxPro tables going into Oracle 10g via a Perl script. I am having issues and therefore have a couple questions.
1) If the data from my foxpro table is basically everything in the table as in 'Select * from table-name', does the control file have to list every column that is in the FoxPro table?
-- I have a case where a FoxPro table has 15 columns but we are trying to upload only 10 columns. The script is dynamic. It selects * from each FoxPro table and creates a Flat File for each on the fly. Then sql-loader uploads the data to Oracle. The Flat File for this one table has data from all 15 columns, but the Control File only lists 10 of the columns to be uploaded into Oracle.
2) Do the column names in the control file 'have' to match both the column names in the FoxPro table and the Oracle table, or only the Oracle table?YankeeFan wrote:
Greetings,
I've worked with Oracle for about 10 years, but have little experience with using sql-loader.
I have data from Visual FoxPro tables going into Oracle 10g via a Perl script. I am having issues and therefore have a couple questions.
1) If the data from my foxpro table is basically everything in the table as in 'Select * from table-name', does the control file have to list every column that is in the FoxPro table?
-- I have a case where a FoxPro table has 15 columns but we are trying to upload only 10 columns. The script is dynamic. It selects * from each FoxPro table and creates a Flat File for each on the fly. Then sql-loader uploads the data to Oracle. The Flat File for this one table has data from all 15 columns, but the Control File only lists 10 of the columns to be uploaded into Oracle.
Yes - use the FILLER spec to ignore columns you do not care about - http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_field_list.htm#sthref946
2) Do the column names in the control file 'have' to match both the column names in the FoxPro table and the Oracle table, or only the Oracle table?Only the Oracle table.
HTH
Srini -
I believe that all the examples I've seen of nib/xib files have been connections to the corresponding controller or view files, or to the app delegate and the main window,
Please correct me if I'm wrong, I might just be tired and missing an important clue
I'm using a Utility Application template, and have most of my work done using the MainView and MainViewController. I'd like to now work on the FlipsideView and FlipsideViewController to display and/or manipulate status and options, which is already in instances/classes in the MainView and MainViewController type.
How do I access data in the other View, ViewController, or app delegate by connecting buttons and fields from my FlipsideView?
This may be a "duh! Oh Yeah" question/answer, as in just examine how the FlipsideView is connected to the MainViewController. However, I could use a little leading and pointing here.
In my test app, I've already created a number of labels for static info, or to hold the value of a field in the other class instances. I'm just trying to figure out how to make the connections. I do have a few of the data elements setup with IBOutlets already.When the controllers of separate nibs need to communicate with each other, the best solution depends on the structure of the program and how many controllers are involved. Luckily the discussion gets much easier if we restrict it to the nibs in the Utility template. However, the Utility template that came with SDK 3.0 is quite different from the 2.x version. I'll start with 3.0.
With the 3.0 Utility template you have a built in communication channel because the flipside view controller is the modal child of the main view controller. That means flipsideViewController.parentController points to mainViewController. And mainViewController.modalViewController points to flipsideViewController.
So for example, if textField1 is in the main view, and label1 is in the flipside view:
// in FlipsideViewController.m
self.label1.text = parentViewController.textField1.text;
Note however that communication in the other direction is limited to the time the flipside view is active. While mainViewController will always exist when the flipside view covers it, the flipsideViewController is released when its view is dismissed. So in order to export info from flipside to main, you might have the flipside controller save the data ahead of time. For example if the mainViewController needs the text from label2 which is on the flipside:
// in FlipSideController.m
parentViewController.copyOfLabel2 = self.label2.text;
You also mentioned getting data from the app delegate. The app delegate is accessible from any object in the program precisely because it's "the shared application object's delegate". So for example, if mainViewController is an instance variable (with a matching property) of the app delegate, a method of any object in the program could obtain a pointer to the mainViewController, and thus any objects in its view:
// in AnyClass.m
#include "MyAppDelegate.h"
#include "MainViewController.h"
- (NSString*)getTextField1 {
myAppDelegate *delegate = [UIApplication sharedApplication].delegate;
MainViewController *mainViewController = delegate.mainViewController;
return mainViewController.textField1.text;
The solution for the 2.x version of the Utility template is based on the fact that both the main and flipside controllers are children of a root view controller. I'll wait to find out which version you have before dealing with the 2.x template.
Hope that helps!
- Ray
Maybe you are looking for
-
Why is the spreadsheet empty when users download to Excel from ALV grid?
Users are seeing SAP GUI transaction results display in the ALV Grid when running an SAP Report; however, when they click the Download to Excel icon the spreadsheet is empty. When they use List...Export...Spreadsheet, the spreadsheet is filled. This
-
Mapping Header Values to Item Nodes
Using the graphical mapping editor, I need to map values from a source header level node to a target item level node for each item in the source structure. eg. <b>Source</b> <HEADER> <H1>HeaderValue1</H1> </HEADER> <ITEM> <I1>Item1Value</I1> </IT
-
Authorization No view of prizes in orders and information record
Hello, I have got another problem in an ECC 6.0 system. The users should not be able to see the prices in orders and information records for certain suppliers. For me that sounds strange because a person who orders material should be able to see the
-
Cell Phone Camera Downloading Software
Is there any software that will allow me to download photos and other info from a Nokia 6101 to my Mac using 10.4.7 using a USB cable since 6101s don't seem to have bluetooth?
-
Can anyone describe how to/many/which parameter can be passed to Application Server 10g Report Server in-process server. Thanks