Control file and spfile auto backup backup is failing
Hello All,
I am using Oracle RAC 11gR2 with ASM. My database is 2 nodes RAC1 and RAC2.
I am taking RMAN database backups to ASM diskgroup (FRA) and to a Network File System mounted on both RAC1 and RAC2. I have this requirement to take backup also outside ASM.
I have set: CONFIGURE CONTROL FILE AUTOBACKUP ON;
I am runing the RMAN backup job from node 2 (RAC2)
I am facing the below error when taking a backup to the Network File system;
Starting Control File and SPFILE Autobackup at 08-SEP-12
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 09/08/2012 18:20:06
ORA-00245: control file backup failed; target is likely on a local file systemHow could I solve that ?
Regards,
NB wrote:
Is that general configuration ? or i can only do it for the sessions that RMAN to NFS?at rman
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'location_of_shared_storage%F';
Similar Messages
-
I can only backup the datafiles but not the control files and SPFiles
Hello, all,
I am using the Oracle 10g on a linux server which runs redhat 9. I want to backup the whole database to the disk, but not the flash recovery area. It is /rawdata. I will show how I configure the backup part in EM. Is there anything wrong?
1. the ARCHIVELOG is on
2. under Administration, in the All Initialization Parameters, I remove the string value of “log_archive_dest_1”. After that, I go to the SPFile and remove the string value of “log_archive_dest_1”
3. configure backup settings and policies. The Disk Backup Location field is set to /rawdata. Select Image Copy for Disk Backup type. Test Disk backup is successful.
4. go to Policy page. Select “Automatically backup the control file and server parameter file (SPFile) with every backup and database structural change.) input /rawdata into the filed: Autobackup Disk Location
Select “Optimize the whole database backup by skipping unchanged files such as read-only and offline datafiles that have been backed up”
Select “Retain backups that are necessary for a recovery to any time whin the specified number of days (point-in-time recovery)
Accept the default of 31days
5. go to Schedul Backup
6. select customized from the backup Strategy drop-down menu. Select the Whole Database
7. in the Options page, select “Full backup” in the Backup Type section. Select “Online Backup” in the Backup Mode section. Select “back up all archived logs on disk” in the Advanced section.
8. in the Setting page, select “Disk”
9. in the Schedule page, accept the default job name and description. Select Immediately to execute the job immediately.
10. just submit the job.
After several minutes, the job is failed while the Prebackup and Postbackup are succeeded. The log says:
Recovery Manager: Release 10.1.0.2.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
RMAN>
connected to target database: ORCL10G (DBID=770753237)
using target database controlfile instead of recovery catalog
RMAN>
Starting backup at 11-OCT-06
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=268 devtype=DISK
channel ORA_DISK_1: starting datafile copy
input datafile fno=00001 name=+DATADG/orcl10g/system01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSTEM_FNO-1_68hvin50 tag=BACKUP_ORCL10G_000_101106111844 recid=108 stamp=603544772
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting datafile copy
input datafile fno=00003 name=+DATADG/orcl10g/sysaux01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSAUX_FNO-3_69hvin6d tag=BACKUP_ORCL10G_000_101106111844 recid=109 stamp=603544813
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:35
channel ORA_DISK_1: starting datafile copy
input datafile fno=00005 name=+DATADG/orcl10g/example01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-EXAMPLE_FNO-5_6ahvin7g tag=BACKUP_ORCL10G_000_101106111844 recid=110 stamp=603544829
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15
channel ORA_DISK_1: starting datafile copy
input datafile fno=00002 name=+DATADG/orcl10g/undotbs01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-UNDOTBS1_FNO-2_6bhvin7v tag=BACKUP_ORCL10G_000_101106111844 recid=111 stamp=603544835
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:08
channel ORA_DISK_1: starting datafile copy
input datafile fno=00004 name=+DATADG/orcl10g/users01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-USERS_FNO-4_6chvin87 tag=BACKUP_ORCL10G_000_101106111844 recid=112 stamp=603544841
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
Finished backup at 11-OCT-06
Starting Control File and SPFILE Autobackup at 11-OCT-06
piece handle=/rawdata/c-770753237-20061011-05 comment=NONE
Finished Control File and SPFILE Autobackup at 11-OCT-06
RMAN>
Starting backup at 11-OCT-06
current log archived
using channel ORA_DISK_1
archived log /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_cqhvf270 not found or out of sync with catalog
trying alternate file for archivelog thread 1, sequence 1062
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 10/11/2006 11:20:54
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_puhkv41f
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
RMAN>
Recovery Manager complete.
It seems the system tries to find a file “arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_cqhvf270” in /rawdata. I just can not understand.
What should I do? Any advice is highly appreciated!
Qianthe string value in the field of 'log_archive_dest_1" under "All Initialization parameters" is "LOCATION=+DATADG/orcl10g/". The same value was in the field under SPFile.
I reset these values and tried to backup the whole database. The same error appeared. The log says:
Recovery Manager: Release 10.1.0.2.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
RMAN>
connected to target database: ORCL10G (DBID=770753237)
using target database controlfile instead of recovery catalog
RMAN>
Starting backup at 11-OCT-06
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=245 devtype=DISK
channel ORA_DISK_1: starting datafile copy
input datafile fno=00001 name=+DATADG/orcl10g/system01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSTEM_FNO-1_6ghvj9rd tag=BACKUP_ORCL10G_000_101106043753 recid=114 stamp=603563922
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting datafile copy
input datafile fno=00003 name=+DATADG/orcl10g/sysaux01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSAUX_FNO-3_6hhvj9sq tag=BACKUP_ORCL10G_000_101106043753 recid=115 stamp=603563963
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:35
channel ORA_DISK_1: starting datafile copy
input datafile fno=00005 name=+DATADG/orcl10g/example01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-EXAMPLE_FNO-5_6ihvj9tu tag=BACKUP_ORCL10G_000_101106043753 recid=116 stamp=603563977
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15
channel ORA_DISK_1: starting datafile copy
input datafile fno=00002 name=+DATADG/orcl10g/undotbs01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-UNDOTBS1_FNO-2_6jhvj9ud tag=BACKUP_ORCL10G_000_101106043753 recid=117 stamp=603563984
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting datafile copy
input datafile fno=00004 name=+DATADG/orcl10g/users01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-USERS_FNO-4_6khvj9uk tag=BACKUP_ORCL10G_000_101106043753 recid=118 stamp=603563990
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
Finished backup at 11-OCT-06
Starting Control File and SPFILE Autobackup at 11-OCT-06
piece handle=/rawdata/c-770753237-20061011-07 comment=NONE
Finished Control File and SPFILE Autobackup at 11-OCT-06
RMAN>
Starting backup at 11-OCT-06
current log archived
using channel ORA_DISK_1
archived log /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_cqhvf270 not found or out of sync with catalog
trying alternate file for archivelog thread 1, sequence 1062
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 10/11/2006 16:40:05
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_puhkv41f
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
RMAN>
Recovery Manager complete.
Why the system keeps trying to find files under /rawdata? It is the destination, not the source.
Any help is appreciated!
Qian
Message was edited by:
QianChen -
Control File and SPFILE Autobackup command struck
O.S Version:
Linux Version "Red Hat Enterprise Linux Server release 6.2 (Santiago)
Linux version 2.6.32-220.13.1.el6.x86_64 ([email protected]) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Thu Mar 29 11:46:40 EDT 2012
2.6.18-308.16.1.el5 x86_64
Tape Archiver : HP Data Protector
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Problem :
In one of our environment, OEM grid 11g scheduled Level 0 backup struck at the Control File and SPFILE Autobackup.
RMAN Script:
run {
2> backup format '<%d_%s:%t:%p:%f>.df' incremental level 0 cumulative database;
3> sql 'alter system archive log current';
4> backup format '<%d_%s:%t:%p>.al' archivelog all not backed up;
5> }
RMAN Configuration
RMAN> show all;
RMAN configuration parameters for database with db_unique_name TestDB are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 45 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO 'TestDB_%F';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'TestDB_%F';
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=TestDB,OB2BARLIST=Siv_ORA_TESTSrvr1_TestDB_DB,OB2BARHOSTNAME=TESTSrvr1)';
CONFIGURE MAXSETSIZE TO UNLIMITED;
CONFIGURE ENCRYPTION FOR DATABASE OFF;
CONFIGURE ENCRYPTION ALGORITHM 'AES128';
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DG_TestDB_UAT_DATA_01/TestDB/TEMPFILE/snapcf_TestDB.f';
RMAN Log:
1. Backup started at 07-SEP-2013 07:09:46
Finished backup at 07-SEP-2013 07:16:38
Wherein the Control file backup started at 07-SEP-2013 07:16:38 failed at 09/07/2013 12:44:38. It kept struck for 5 Hours.
Starting backup at 07-SEP-2013 07:09:46
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=250 instance=TestDB device type=SBT_TAPE
channel ORA_SBT_TAPE_1: Data Protector A.06.20/370
allocated channel: ORA_SBT_TAPE_2
Finished backup at 07-SEP-2013 07:16:38
Starting Control File and SPFILE Autobackup at 07-SEP-2013 07:16:38
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_SBT_TAPE_1 channel at 09/07/2013 12:44:38
ORA-19506: failed to create sequential file, name="TestDB_c-2078060264-20130907-ff", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
Vendor specific error: Cannot find requested element ERR(-2)
ORACLE error from recovery catalog database: ORA-03113: end-of-file on communication channel
Process ID: 2045
Session ID: 89 Serial number: 36509
RMAN> delete noprompt archivelog all backed up 1 times to sbt;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 09/07/2013 13:00:07
RMAN-06004: ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE
RMAN> **end-of-file**
Why does the RMAN Backup struck at Controlfile , SPFile autobackup?Hello;
I believe the issue is caused by your media management software. You should contact your media management vendor.
Try the same operation to disk and I bet it works.
Best Regards
mseberg -
APO Livecache DB Backup and Livecache Auto Log Backup
Hi Guys,
Could you please help me here which tranaction code we use to check APO Livecache DB Backup and Livecache Auto Log Backup
Thank youHi,
Livecache DB and log back up looks like can not be accessed from SAP. Database Manager GUI is used.
Please check the below link for helpful information.
http://help.sap.com/saphelp_nw04/helpdata/en/f7/499e3c1fbe8c15e10000000a114084/content.htm
Regards,
Saravanan V -
In 10g can we dump control file and get SCN info.
Hi,
I have a question can any one help me on this.
In 9.2.0.5 we could dump the control file and get the SCN using the command :
alter session set events 'immediate trace name CONTROLF level 10';
In 10.1.0.4.0 the output of the dump has changed and we do not get the SCN. or any of the following information :
DATABASE ENTRY
CHECKPOINT PROGRESS RECORDS
EXTENDED DATABASE ENTRY
REDO THREAD RECORDS
LOG FILE RECORDS
DATA FILE RECORDS
RMAN CONFIGURATION RECORDS
LOG FILE HISTORY RECORDS
OFFLINE RANGE RECORDS
ARCHIVED LOG RECORDS
BACKUP SET RECORDS
BACKUP PIECE RECORDS
BACKUP DATAFILE RECORDS
Can I get similar output in 10g as 9i ?
with regards,
Dilip.Hi.
What are you trying to achieve here? If you just want the current SCN, you can get it using one of these:
SQL> select current_scn from v$database;
CURRENT_SCN
8058824527
1 row selected.
SQL>or
SQL> select dbms_flashback.get_system_change_number from dual;
GET_SYSTEM_CHANGE_NUMBER
8079317404
1 row selected.
SQL>Cheers
Tim... -
I exported an archive of iCal from a computer running the last OS X. On a new computer running OS X (10.7.4), I tried to import the .icbu file and got a message "The calendar failed to restore". How do I fix this/get my calendar?
I exported an archive of iCal from a computer running the last OS X. On a new computer running OS X (10.7.4), I tried to import the .icbu file and got a message "The calendar failed to restore". How do I fix this/get my calendar?
-
I'm concerned that my iMac, purchased 5 years ago, is about the crash and I can't back up my files and programs to an external hard drive via Time Machine because the computer freezes after only a couple hundred MB and gets nowhere near the required amount.
How can I save these files and programs if the computer hard drive fails or has to be replaced without the backup being able to be done? I need to do something quickly, but I'm not sure what I can or should be doing.Get an external hard drive, some good ones that I like are the OWC, http://www.macsales.com Mercury Elite Pro drives...they are very good and reasonably priced.
Get the drive, connect via USB or FireWire, then use Disk Utility to format the new drive as Mac OS X Extended (Journaled), and then use Disk Utility to Restore the current drive to the new drive. Restore actually clones the drive so you will have a bootable backup on the external drive.
After you have formatted and named the external drive, click Restore in the main Disk Utility window, drag the name of the old hard drive to the Source box, and drag the name of the new external drive to the Destination box. DU will make an exact clone of the internal drive on the external drive.
That clone will be a complete backup of the operating system and all of your data.
You can test it by restarting the iMac and hold the Option key. That will give you a grey screen showing all bootable drives. Just click the external drive, then click the upward pointing arrow under it and the iMac will boot from that drive. -
Hello All,
The disk failure caused our production data on the disk to be resotred with the backup data available and recovered through RMAN with cotrolfile , and no catalog DB is configured.
I had the restored the spfile and control file then recovered the database,
startup nomount;
RESTORE SPFILE FROM ' path ' ;
Shutdown immediate;
startup nomount
Restore controfile from autobackup;
restore database;
[AT POINT , A MESSAGE PROMPTED LIKE " failur of restored command - some targets not found" (thinking may be few archives are not found, i proceeded to incomeplete recovery of DB) ]
recover database;
Finished reocvery .
Now in the Grid control i see that 60 blocks of a particular datafile are corrupted and needs recovery. Do i need to get the data file resotred again and recover it or any simple way to recover this data file
When i perform the block recovery , it says recovery failed and when i run the data file recovery it succeeds. Please provide you inputs to recover the database as it is production BI database and pretty critical to our client.
Thanks for your valuable time in advance.
Regards,
Ran G.These is a common problem if the object are created due to NOLOGGIN option. If you check most of the object which are facing block corruption is indexes .
Use the below query to check the objects :
It will map each block from v$database_block_corruption to either a segment or if the block is free.
$ sqlplus / as sysdba
set pagesize 2000
set linesize 250
SELECT e.owner, e.segment_type, e.segment_name, e.partition_name, c.file#
, greatest(e.block_id, c.block#) corr_start_block#
, least(e.block_id+e.blocks-1, c.block#+c.blocks-1) corr_end_block#
, least(e.block_id+e.blocks-1, c.block#+c.blocks-1)
- greatest(e.block_id, c.block#) + 1 blocks_corrupted
, null description
FROM dba_extents e, v$database_block_corruption c
WHERE e.file_id = c.file#
AND e.block_id <= c.block# + c.blocks - 1
AND e.block_id + e.blocks - 1 >= c.block#
UNION
SELECT s.owner, s.segment_type, s.segment_name, s.partition_name, c.file#
, header_block corr_start_block#
, header_block corr_end_block#
, 1 blocks_corrupted
, 'Segment Header' description
FROM dba_segments s, v$database_block_corruption c
WHERE s.header_file = c.file#
AND s.header_block between c.block# and c.block# + c.blocks - 1
UNION
SELECT null owner, null segment_type, null segment_name, null partition_name, c.file#
, greatest(f.block_id, c.block#) corr_start_block#
, least(f.block_id+f.blocks-1, c.block#+c.blocks-1) corr_end_block#
, least(f.block_id+f.blocks-1, c.block#+c.blocks-1)
- greatest(f.block_id, c.block#) + 1 blocks_corrupted
, 'Free Block' description
FROM dba_free_space f, v$database_block_corruption c
WHERE f.file_id = c.file#
AND f.block_id <= c.block# + c.blocks - 1
AND f.block_id + f.blocks - 1 >= c.block#
order by file#, corr_start_block#;
Below oracle support note will help you :
ORA-1578 / ORA-26040 Corrupt blocks by NOLOGGING - Error explanation and solution (Doc ID 794505.1)
The Gains and Pains of Nologging Operations (Doc ID 290161.1)
SQL> select d.NAME as DBF_NAME, t.NAME as TS_NAME, d.UNRECOVERABLE_CHANGE# as NOLOG_CHNG#, to_char(d.UNRECOVERABLE_TIME, 'Dy DD-Mon-YYYY HH24:MI:SS') as NOLOG_TIME from V$DATAFILE d join V$TABLESPACE t on d.TS# = t.TS# order by t.NAME;
Thanks,
gssdba.wordpress.com -
Hello,
I have 2 disctinct servers.
oracle 10gr2 in each one with the same linux red hat 4 version.
the second server is just to TEST if the backup create with the first one, works fine.
So the install in each server is exactlly the same...
same files, same path etc.
Scenario:
1 from srv one I execute a full backup with RMAN
2 I copy the file in server 2
3 I move a datafile in order to create an error
4 I test : restore database in server 2...
I get the followin error:
RMAN-03002: failure of restore command at 02/24/2008 21:15:37
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 8 found to restore
and this command return no result:
RMAN> list backupset;
RMAN>
the file created with server 1 have been copied in the declared path into server 2...
I have execute a crosscheck backup too
RMAN> crosscheck backup;
using channel ORA_DISK_1
RMAN>
Must I copy the controle file too? in this case will I have an inconsistent error?
Thanks to help
CheersYou must have
controlfile autobackup on
(If you don't change the format it will be in $ORACLE_HOME/dbs, and the format will be c-<database id>-<yyyymmdd>_<piece>.ctl).
You must copy that file, as it has information about your most recent backup, the backup you just made.
Hth
Sybrand Bakker
Senior Oracle DBA -
Recover from missing files(redo log file/control file) and state of the DB
Hello,
i hv go through the doc. as well. But have some doubts what will happen in each on these situations.
Pls help me to clarify these!
Scenario is like this;
hv 3 redo log files - multiplxed
hv 3 control files - multiplxed
- What will happen if 1 redo log file missing when starting the DB?
- What will happen if 1 redo log file missing when using(performing operations) the DB?
(will it recover automatically/db abort/even redo log lost will the DB run as usual... ?)
-How to recover this lost redo log?
- What will happen if 1 control file missing when starting the DB?
- What will happen if 1 control file missing when using(performing operations) the DB?
(will it recover automatically/db abort/even control file lost will the DB run as usual... ?)
-How to recover this lost redo log?
thanks- What will happen if 1 redo log file missing when starting the DB?IF you have multiplexed the members you can drop the lost file and will be able to open the DB
What will happen if 1 redo log file missing when using(performing operations) the DB?Again if multiplexed it will drop a warinign in the alert log and contnue to write on othere members
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/recoscen.htm#sthref1385
- What will happen if 1 control file missing when starting the DB?Just remove the entry from the init.ora and start the DB
What will happen if 1 control file missing when using(performing operations) the DB?Will shutdown -
Hi all,
I want to multiplex my control file to another volume. I have an spfile (no init.ora file). Do I just use an alter system with scope = SPFILE?
i.e. ALTER SYSTEM SET CONTROL_FILES=... scope=SPFILE"
Thanks for any feedback.geeter wrote:
Hi all,
I want to multiplex my control file to another volume. I have an spfile (no init.ora file). Do I just use an alter system with scope = SPFILE?
i.e. ALTER SYSTEM SET CONTROL_FILES=... scope=SPFILE"
Thanks for any feedback.Change spfile while database running
Close the db
Start it and it will use new settings for CONTROL_FILES
Kamran Agayev A.
Oracle ACE
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/ -
Restore control file and openresetlogs
hi
When I restore controlfile from autobackup
and than restore database and recover database;
I can only open the database with openresetlogs option.
why?1-)
Does all datafiles and control files have scn or
checkpoint scn?
and Does all redolog groups have same scn?
what is SCN?
Any changes i.e DML in a database is assigned a system change number (SCN) ,SCN is assigned for changes that is why its called system change number.Both SCN and changes are written to redo log files.
SQL> select current_scn from v$database
2 /
CURRENT_SCN
756124
SQL> /
CURRENT_SCN
756125
SQL> /
CURRENT_SCN
756136
SQL> /
CURRENT_SCN
756138
SQL> /
CURRENT_SCN
756140
SQL> /
CURRENT_SCN
756394
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
SQL> select current_scn from v$database
2 /
CURRENT_SCN
0
SQL> /
CURRENT_SCN
0
SQL> /
CURRENT_SCN
0
SQL> /
CURRENT_SCN
0
SQL> When yours database in mount state no activity either from user ends ,background process or foreground process no scn is going to assigned.
whats the use of SCN why it is inremented?
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#CNCPT221
2-)
Does checkpoint scn changes every checkpoint(log switch,etc....).not every second.
checkpoint scn changes after every logswitch cause after log switch an event occur for chekpoint ,this event starts writing dirty buffer from database buffer cache to datafile for which redo log file contains data.After flusing alls dirty buffer from database buffer to datafile an SCN is assigned (system change number assigned) this chekpoint is also a change thats why it is also assigned SCN which is checkpoint SCN,CKPT process gives the database a timestamp/SCN by incrementing a number in controlfile header and broadcast that same SCN to alls datafiles.
CKPT can occur for the number of reason one for is log switch when yours redo log filled , you can also manually trigger checkpoint by issuing alter system command or you may set parameters like log_checkpoint_timeout etc.
3-)
What about scn?? Does it the one that I see from
select current_scn from v$database? which changes every one second?
Check first question reply.
Khurram -
Forgot to mention I'm using Firefox V.4
Hey Jorge,
I've checked Reader, and there are no updates. I've run a Windows version compatibility test - although it only goes up to Vista, and not Windows 7.
Anyway, it appears I can now open Adobe files - but I've found another issue: when I right-click on a file and scroll down to the 'send to email recipient', it doesn't automatically open an Outlook email with the file as an attachment - in fact it doesn't open Outlook at all, let alone automatically?
Any clues? -
Maximum number of files and sizes to be Backup
Hi all,
I read somewhere saying that Windows Server Backup 2012 is limited to 2TB (MBR partitions), but can be more for GPT partitions.
What i want to know is, is there limitation on number of files/folder?
Thanks.Hi,
I assume you are a little confused by partition limitation and backup size limitation.
Here MBR and GPT are for "partition limitation", which means with MBR the largest partition size is 2TB. In GPT, with larger sector size, it supports larger in partition size.
The limitation of Windows Server Backup (WSB) is caused by single file size limitation - WSB creates a VHD(x) file for saving backups. Currently a single file size is limited in 2TB which causes the WSB limitation. See:
Backup Version and Space Management in Windows Server Backup
http://blogs.technet.com/b/filecab/archive/2009/06/22/backup-version-and-space-management-in-windows-server-backup.aspx -
Migrating files and accounts via Firewire Transfer method fails
We just bought a new Powerbook and I'm trying to migrate our old pics and docs to the new machine from a G3 iBook.
During the account setup process, I'm asked if I would like to transfer the files..I go through the process of rebooting the iBook in target disk mode (and connecting the firewire cable) and check off the accounts and folders I'd like to move. It says it will take 4 hours for to move the 20+Gb of data. That seems like a long time..but I'm fine with that.
Now for the problem
I hit the Continue button and nothing gets migrated to the new machine - it just hangs there with the status bar looking like a blue candy cane. I've left it like that for 6+ hours hoping something may happen but no luck. I've rebooted both machines numerous times, and it consistantly hangs at the same point.
Any ideas? My guess is the G3 iBook is about to die and having trouble keeping the connection but thats only a guess.
Thanks in advance for the help.Hi lndshk, Welcome to Apple Discussions.
It may well be a problem with the directory on your G3. Have you run repair disk on the G3:
Repair Disk:
Steps for using Disk Utility
1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.) Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
3. Click the First Aid tab.
4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
5. Select your Mac OS X volume.
6. Click Repair.
If you repair errors run it until no errors found.
If it cannot be be repaired and you need to migrate by hand, here is a list of where your important data is stored ("~" stands for "Home"):
Your data in ~/Documents
~/Library/Application Support/AddressBook (copy the whole folder)
~/Library/Application Support/iCal(copy the whole folder)
Also in ~/Library/Application Support (copy whatever else you need)
~ /Library/Keychains (copy the whole folder)
~/Library/Mail (copy the whole folder)
~/Library/Preferences/com.apple.mail.plist *This is a very important file which contains all email account settings and general mail preferences.
~ /Library/iTunes (copy the whole folder)
~/Library/Application Support/Safari (copy the whole folder)
~/Library/Application Support/iMovie (copy the whole folder)
~/Pictures/iPhoto library
~/Music/iTunes
~/Movies/iMovie
If you want cookies:
~/Library/Cookies/Cookies.plist
~/Library/Application Support/Webfoundation/HTTPcookies.plist
For Entourage users:
Entourage is in Documents/Microsoft user data
Also in ~ /Library/Preferences/Microsoft
internet explorer favorites are in ~/Library/Preferences/Explorer/favorites.html
As for third party applications, you'll have to install them fresh and don't try to change the name of the Home directory without specific instructions.
-mj
[email protected]
Maybe you are looking for
-
Multiple Message Processors in IB52 for partner determination rule 13200137
Hello Experts, Can anyone please help me out in one of my issues? I am configuring service desk wherein I need to have only one layer of support team. One consultant for each module. I am using SLFN0001_ADVANCED. I am using rule 13200137 for partner
-
after my hard drive crashed, i had to copy my entire library over to a new drive. in doing so, i ended up with duplicate files of most of my music. so, for example, on my hard drive (not in itunes)i have "don't funk with my heart" next to "don't funk
-
Hi guru How to clear the noted item ? Thanks shivaji
-
I downloaded an album from itunes but track 1 has not downloaded apart from the first few seconds. All other tracks are fine. How do i get track 1 back?
-
All of these steps were followed corectly. But a warning popped up and said that it could not be restored because it is locked with a pascode, and it said we must enter a pascode before we can use it with itunes. What should I do?