Stop CIF queues always during online Backup on SCM system
Hello,
On Upgrade Guide "SAP SCM 5.1 ABAP UNIX Oracle Version 1.00" under
chapter 3.4 --> Backup before prepare JAVA we found this :
"Before performing a database backup, you have to stop the CIF queues in your
SAP SCM system in order to ensure a consistent recovery state."
Is this relevant for every online backups (also outside from Upgrading)?
Should we stop the CIF queues on daily online backups too? Or is this a special-feature during Upgrade?
BR
Ray Purucker
Hello,
Do you have above said log file available ?
Instead of the option 'Overflow log path', did you try rollforward with the option of timestamp (point in time) (till the time you have the log files) Or with the option overflow log path but with 'NORETRIEVE' as well ?
For the query status command, Last committed transaction time stamp is not what you thought.
Please revise the command options,
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/core/r0001978.htm
'It is looking for log file S0000XXX.LOG whose time stamp is older than the time stamp of online backup.'
If you want to restore only until the online backup, then use the option End of Backup and stop - to rollforward until the last log when backup was in progress
Thanks
Similar Messages
-
Status of online redo log file INVALID warning appears during online backup
Hi All,
I have a peculiar problem in one of the SAP ECC 6.0 systems. The daily online backup is getting completed with warnings.
Please find below the warnings in DB12 logs:
BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g18m2.dbf is INVALID
BR0274W File '/oracle/AS0/mirrlogB/log_g18m2.dbf' not found
BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g50_m2.dbf is INVALID
BR0274W File '/oracle/AS0/mirrlogA/log_g50_m2.dbf' not found
BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g51_m2.dbf is INVALID
BR0274W File '/oracle/AS0/mirrlogB/log_g51_m2.dbf' not found
BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g52_m2.dbf is INVALID
BR0274W File '/oracle/AS0/mirrlogA/log_g52_m2.dbf' not found
BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g53_m2.dbf is INVALID
BR0274W File '/oracle/AS0/mirrlogA/log_g53_m2.dbf' not found
BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g54_m2.dbf is INVALID
BR0274W File '/oracle/AS0/mirrlogA/log_g54_m2.dbf' not found
BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g55_m2.dbf is INVALID
BR0274W File '/oracle/AS0/mirrlogA/log_g55_m2.dbf' not found
BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g56_m2.dbf is INVALID
BR0274W File '/oracle/AS0/mirrlogA/log_g56_m2.dbf' not found
BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g57_m2.dbf is INVALID
BR0274W File '/oracle/AS0/mirrlogB/log_g57_m2.dbf' not found
BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g58_m2.dbf is INVALID
BR0274W File '/oracle/AS0/mirrlogA/log_g58_m2.dbf' not found
BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g59_m2.dbf is INVALID
BR0274W File '/oracle/AS0/mirrlogB/log_g59_m2.dbf' not found
For the above mentioned alerts I followed the recommendations of SAP Note 491160. I dropped and recreated the mirrorlog files. But the next day again when I checked the backup it finished with warnings. At the database level there is no problem
SQL> select * from v$logfile;
GROUP# STATUS TYPE
MEMBER
IS_
59 ONLINE
/oracle/AS0/origlogB/log_g59_m1.dbf
NO
59 ONLINE
/oracle/AS0/mirrlogB/log_g59_m2.dbf
NO
GROUP# STATUS TYPE
MEMBER
IS_
58 ONLINE
/oracle/AS0/origlogA/log_g58_m1.dbf
NO
58 ONLINE
/oracle/AS0/mirrlogA/log_g58_m2.dbf
GROUP# STATUS TYPE
MEMBER
IS_
NO
57 ONLINE
/oracle/AS0/origlogB/log_g57_m1.dbf
NO
57 ONLINE
GROUP# STATUS TYPE
MEMBER
IS_
/oracle/AS0/mirrlogB/log_g57_m2.dbf
NO
56 ONLINE
/oracle/AS0/origlogA/log_g56_m1.dbf
NO
GROUP# STATUS TYPE
MEMBER
IS_
56 ONLINE
/oracle/AS0/mirrlogA/log_g56_m2.dbf
NO
55 ONLINE
/oracle/AS0/origlogA/log_g55_m1.dbf
NO
54 ONLINE
/oracle/AS0/origlogA/log_g54_m1.dbf
GROUP# STATUS TYPE
MEMBER
IS_
NO
54 ONLINE
/oracle/AS0/mirrlogA/log_g54_m2.dbf
NO
53 ONLINE
GROUP# STATUS TYPE
MEMBER
IS_
/oracle/AS0/origlogA/log_g53_m1.dbf
NO
53 ONLINE
/oracle/AS0/mirrlogA/log_g53_m2.dbf
NO
GROUP# STATUS TYPE
MEMBER
IS_
52 ONLINE
/oracle/AS0/origlogA/log_g52_m1.dbf
NO
52 ONLINE
/oracle/AS0/mirrlogA/log_g52_m2.dbf
NO
GROUP# STATUS TYPE
MEMBER
IS_
51 ONLINE
/oracle/AS0/origlogB/log_g51_m1.dbf
NO
51 ONLINE
/oracle/AS0/mirrlogB/log_g51_m2.dbf
GROUP# STATUS TYPE
MEMBER
IS_
NO
50 ONLINE
/oracle/AS0/origlogA/log_g50_m1.dbf
NO
50 ONLINE
GROUP# STATUS TYPE
MEMBER
IS_
/oracle/AS0/mirrlogA/log_g50_m2.dbf
NO
8 ONLINE
/oracle/AS0/origlogB/log_g18m1.dbf
As you can see from the above output at the database level everything is fine. So why during backup it is giving me warnings in DB12. Any help with this regard will be appreciated.
Regards
Mitesh NairHi Joe,
My OS is HP-UX. I dont think its a permission problem. Please find below the contents of origlogA and mirrlogA
predbci2:/oracle/AS0/origlogA#ls -rtl
total 1433712
drwxrwxrwx 2 oraas0 dba 96 Oct 15 03:27 cntrl
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 01:50 log_g52_m1.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 03:51 log_g50_m1.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 05:51 log_g54_m1.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 07:52 log_g53_m1.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 09:50 log_g55_m1.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 10:50 log_g56_m1.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 12:41 log_g58_m1.dbf
predbci2:/oracle/AS0/mirrlogA#ls -rtl
total 1433728
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 01:50 log_g52_m2.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 03:51 log_g50_m2.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 05:51 log_g54_m2.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 07:52 log_g53_m2.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 09:50 log_g55_m2.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 10:50 log_g56_m2.dbf
-rw-rw---- 1 oraas0 dba 104858624 Dec 4 12:41 log_g58_m2.dbf
Regards
Mitesh -
Online backups on BIW systems, every update is logged?
Some years ago I was at an SAP BIW installation, they performed Oracle online backups dayly.
For some reason, they had to restore and recover DB, and after using an online backup as a restore basis, some indexes were not usable, because they had been updated without archive log information.
Finally, the easiest way for the system administator was using an offline backup.
I got to know there were some updates (not critical) not being logged in the DB, so online backups, as well as standby DB would not be as useful as on OLTP systems.
Does somebody know if this is or this is not the same nowadays? Is everything logged on a BW system? Is that a tunable configuration for some indexes? Is an online backup really useful after restoring and recovering?
Thanks very much for your experience and answers !!
EvaHello Eva,
> For some reason, they had to restore and recover DB, and after using an online backup as a restore basis, some indexes were not usable, because they had been updated without archive log information.
This behaviour is absolutely normal.
In a BW system the indexes are created / rebuild with the NOLOGGING clause, because of some performance reasons.
> Finally, the easiest way for the system administator was using an offline backup.
The easiest yes - but concurrently the worst one. He can identify the "new" indexes since the last online backup and only recreate this ones.
> Does somebody know if this is or this is not the same nowadays?
Yes the NOLOGGING clause is still used nowadays.
> Is everything logged on a BW system?Is that a tunable configuration for some indexes?
You can "deactivate" the NOLOGGING clause.. but then you can have some performance impacts in your BW load processes.
Check sapnote #442763 for the customizing.
> Is an online backup really useful after restoring and recovering?
Yes, of course .. the ONLINE backup is the preferred method.
If you recover your database with the BR*Tools .. your unusable indexes are automatically rebuild.
Check sapnote #849485 for that feature.
Regards
Stefan -
Hi
After an online backup, if there is no checkpoint, there is no need for recovery, true?
beacuse CHECKPOINT_CHANGE# of the datafiles are not modified therefore no need to recovery..nop during online backup the controlfile chekpoint and datafile checkpoint header is not synced.Upon restoration it will require recovery.
Khurram -
Online backup and the Redolog mechanism
Hello,
During a backup I understand that the redolog mechanism changes, so that when a block is changed for the first time after the backup commences, it's entire content is copied to the redolog files, rather than just the change vector.
My question is, does this happen even when the oracle block size is the same as the operating system block size?
My understanding is that the change in redolog mechanism is because a single oracle block can be made up multiple operating system blocks, so that within an oracle block a change can be done to a few blocks, then a read by the online backup, so that the oracle block read by the backup is inconsistent.
But if the oracle block size was the same as the operating system block size, each change would be atomic, so the problem of having inconsistent oracle blocks would not arise. So the change in redolog mechanism would no longer be necessary. Does the redolog mechanism change anyway?
Kind regards,
PeterHi Peter,
I will try to make the issue more clear eventhough so much useful has been written and said in this thread !!
During Online Backup the tablespaces enter the backup mode this has following effects:
1) A checkpoint on TS level is triggered before the backup of this TS starts and DBWR writes all corresponding dirty blocks of this TS to data files.
2) The SCN corresponding to TS Checkpoint remains Frozen in the headrers of all TS files until the end of backup mode.
3) Every change in this TS is logged in the redolog on data block level instead of data record level ; not only the redo info for a modified record is written into the redolg but the whole 8 KB block containing this record ( immaterial whether OS block size is 8 KB or not). The reason for this granual logging is the possibility that
CPIO or DD may copy an oracle block to the backup medium in smaller units than 8 KB while the block is being changed by DBWR which can lead to inconsistencies whithin such a block.
Now When the backup later used for restoring the TS, all blocks written to the redo log during the backup mode overwrite therir "suspicious"versions saved directly in the backup of the data files.
Hope this useful
Regards
Umesh -
Offline & online backups????
Hi all,
Why are the advantages & disadvantages of offline & online backups??Hi Ravi,
Joydeep has described it very well.
Just to add a bit:
If you are wondering what happens to the online redo log files while the online backup is running:
<i>During online backup, BRBACKUP does not backup the online redo log files. Instead, BRBACKUP generates online redo log switches so that all the online redo log files written during the online backup are copied into the archive directory. These offline redo log files then need to be backed up, since an online backup is consistent only in conjunction with these redo log files. The BRARCHIVE program backs up the offline redo log files.</i>
So the idea that during an online backup some redo files might be missed, is explained from the above paragraph.
Regards,
Loukas -
Online Backup error in QA server
Dear all,
AIX ,Oracle 10g ,ECC6.0
Online backup has been finished with error .
Kindly check the belog logs
BR0063I 14 of 43 files processed - 72560.109 MB of 182799.625 MB done
BR0204I Percentage done: 39.69%, estimated end time: 16:14
BR0001I ********************______________________________
BR0280I BRBACKUP time stamp: 2010-06-01 15.43.44
BR0301E SQL error -600 at location BrDbConnect-2, SQL statement:
'CONNECT /'
ORA-00600: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]
BR0310E Connect to database instance IRQ failed
BR0311E Connect to database instance IRQ during online backup failed
BR0278I Command output of '/usr/sap/IRQ/SYS/exe/run/brconnect':
BR0801I BRCONNECT 7.00 (34)
PID=1589294
2515030 : map : Permission Denied
3264560 : map : Permission Denied
1233032 : map : Permission Denied
BR0280I BRCONNECT time stamp: 2010-06-01 15.43.45
#SIGNAL CAUGHT: 15
BR0074W BRCONNECT call failed
BR0280I BRBACKUP time stamp: 2010-06-01 15.43.47
BR0301E SQL error -600 at location BrDbConnect-2, SQL statement:
'CONNECT /'
ORA-00600: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]
BR0310E Connect to database instance IRQ failed
BR0056I End of database backup: bediybrd.ant 2010-06-01 15.43.44
BR0280I BRBACKUP time stamp: 2010-06-01 15.43.47
BR0054I BRBACKUP terminated with errors
Kindly suggest
RegardsHi,
It is funny that Ora-600 is not passing any valid arguments. For checking it on metalink, you will atleast need the first two arguments. Please check the alert log for any more details..
Also is your system working fine now? and are the offline backups taken successfully? If the backup is failing at a particular datafile then I would suggest to check that file for any possibl block corruptions using RMAN check of DBV..
Regards,
Anup -
Actions to be performed after a online backup restore
Hello Guru's,
I have an online backup of a system.
(AIX - ORACLE)
If I restore the backup using Tivoli Storage Manager I still have to perform some actions to recover the database.
I have read through the SAP documentation and it seems I can restore the logs using brtools (brrecover).
My questions actually is, which option do I have to take if I want to apply the offline archive logs as far as possible ?
"Complete database recovery" of "database point in time recovery" ?
I want to make sure that only the archivelogs are being applied and that the database restore is not peformed again.
Thank you all !
bye
BUDHello Hans,
> and it seems I can restore the logs using brtools (brrecover).
If you only want to restore your archivelogs, then use brrestore.
brrecover is for recovering the database, not for restoring.
Take a look at here:
http://help.sap.com/saphelp_nw04/helpdata/en/88/cadaca94734ae5b8ea3491f615741b/content.htm
and here:
http://help.sap.com/saphelp_nw04/helpdata/en/0d/d3077b4a0c11d182b80000e829fbfe/content.htm
> My questions actually is, which option do I have to take if I want to apply the offline archive logs as far as possible ?
> "Complete database recovery" of "database point in time recovery" ?
In this case you have to do an incomplete database recovery or in other words called "point in time recovery". For the difference between these two restore types take a look at the oracle documentation:
http://download-uk.oracle.com/docs/cd/B19306_01/backup.102/b14192/intro004.htm#i1016863
After you have restored your archive logs you can perform the recovery manually:
> SQL> recover database using backup controlfile until cancel;
> SQL> cancel;
> SQL> alter database open resetlogs;
Btw.as you are using TDP for SAP you can use backfm to restore only some several files.
Regards
Stefan -
Online backup getting failed with error BR0278E - Invalid Argument
Hi All,
Online backup in Production system is getting failed when taken using DB13. Last week the SAP Production Server was migrated to SAN and it was up & running fine.
SAP System - ECC 6
OS - AIX 5.3
Database - Oracle 10g
Even the Archive log backup has been successful, but Online backup is failing. Following is the error log:
BR0280I BRBACKUP time stamp: 2009-09-10 12.00.46
BR0057I Backup of database: RTP
BR0058I BRBACKUP action ID: bebkzprw
BR0059I BRBACKUP function ID: ant
BR0110I Backup mode: ALL
BR0077I Database file for backup: /oracle/RTP/sapbackup/cntrlRTP.dbf
BR0061I 41 files found for backup, total size 97416.297 MB
BR0143I Backup type: online
BR0112I Files will not be compressed
BR0130I Backup device type: tape
BR0102I Following backup device will be used: /dev/rmt3.1
BR0103I Following backup volume will be used: RTPB01
BR0289I BRARCHIVE will be started at the end of processing
BR0134I Unattended mode with 'force' active - no operator confirmation allowed
BR0208I Volume with name RTPB01 required in device /dev/rmt3.1
BR0280I BRBACKUP time stamp: 2009-09-10 12.00.46
BR0226I Rewinding tape volume in device /dev/rmt3 ...
BR0351I Restoring /oracle/RTP/sapbackup/.tape.hdr0
BR0355I from /dev/rmt3.1 ...
BR0241I Checking label on volume in device /dev/rmt3.1
BR0242I Scratch volume in device /dev/rmt3.1 will be renamed to RTPB01
BR0280I BRBACKUP time stamp: 2009-09-10 12.00.46
BR0226I Rewinding tape volume in device /dev/rmt3 ...
BR0202I Saving /oracle/RTP/sapbackup/.tape.hdr0
BR0203I to /dev/rmt3.1 ...
We have checked using different tapes, restarted SAP, etc but could not resolve it.
Please suggest further.
Thanks
VamsiHi Vamsi
Please go through below link
Re: onLine backup fails with error BR0278E
There is similar problem with the exact error you are facing for online backup and its solution is given in above link.
Let us know if this information was useful to you.
with regards,
Parin Hariyani -
CIF Queue gettign stuck in 'ready' state
Hi,
I am facing a problem in using CIF functionality while transferrting Master data and transaction data from R/3 to APO.
I have selected inbound queue processing for APO system and have also registered the queue in APO.
But when I actually CIF any data, it gets stuck in the outbound queue of the R/3 system in 'Ready' state.
Then I always need to manually activate the queue in SMQ1 to transfer the data to APO.
The same thing happens during online transfer of transaction data.
I want the data to be transferred automatically rather tahn activating the CIF queue each time.
Please help.
Thanks,
AmeetHi Ameet
Please following setting.
1. User setting
-R/3 T-CD CFC2 (For debuf Area, please check whether your user has "R" or not)
-APO T-CD /SAPAPO/C4 (For debug, please check whether your user has "R : debug on" or not)
2. Queue scheduler setting in both system
Inbound scheduler
T-CD SMQR please make sure whether you have inbound scheduler setting.
If there is not, you can create it by hitting Registration button.
"Registration" => Queue Name CF*, and lest of it can be leave as default.
Outbound scheduler
T-CD SMQS
Please make sure you have entry to your SCM system.
Type should be "R". If it is not R, outbound scheduler is not activated.
So please select entry and and hit registration button again. Then type will change
to "R".
I hope this help your problem.
Keiji Mishima -
How does recovery work after an online backup
Hello,
While trying to conceptually understand how backup and recovery works, I came accross a question concerning hot (online) backup.
This is a conceptual question (I am trying to understand how things work), it is not a "how should I proceed/ what should I do step by step" question.
As far as I understand, an online backup of a tablespace can be performed by copying the OS files making up a tablespace while the database is up and being used (i.e. transactions are modifying data in the database). Before the copying of the OS files starts, the Oracle RDMS must be notified that an online backup is being taken via "ALTER...BEGIN BACKUP" (such that some additional information is written to the Redo Log, which may be required for subsequent recovery using the online backup). During recovery the Oracle RDBMS uses the copies of the OS files together with the online and archived redo logs in order to reconstruct all committed transactions and it further uses the UNDO tablespace to rollback open (uncommitted) transactions.
Thinking about this, it seems to me, that in order for this to work in all possible scenarios the undo information from the time the backup was taken may be required. Therefore backup of the UNDO tablespace should be taken as well (see the explanation for this assumption below). However browsing the internet (including the Oracle online documentation) I did not find any statements concerning the backup of the UNDO tablespace when an online backup is taken. Moreover I couldn't figure out when exactly such a backup of the UNDO tablespace must be done, to ensure that the database can be recovered in all scenarios.
I believe that undo information from the time the hot backup was taken may be required e.g. in the following scenario:
Assume we are taking a hot backup of a given tablespace, i.e. we are copying all OS files that make up this tablespace, while the database is potentially being used. Let D1 be one of the datafiles in our tablespace and let transaction T1 modify datafile D1. Let transaction T1 further be uncommitted while the copy of datafile D1 is being made and let (at least some of) the changes from T1 be included in the backup copy D1' of D1 (because DBWR has already written the modified blocks at the time they were being copied to the backup). Let transaction T1 be rolled back after the copy is completed. D1' will thus contain modifications from T1, while D1 will not.
Now some time later the datafile D1 is lost. When recovering D1 from the copy D1', the (archived) redo logs will be applied to D1'. Before that, transaction T1 should be rolled back in the copy D1', because modifications from T1 must not appear in the recovered version of the database.
I do however not understand, where the information to rollback transaction T1 exactly comes from. It may still be in the current UNDO tablespace. I do however assume that rollback information is not kept in the UNDO tablespace forever. I see three possible answers to this
(a) There are some requirements which I missed so far to backup the UNDO tablespace whenever a hot backup is made.
(b) Since the Oracle "RDBMS" has to be notified that an online backup is being done, it might store all relevant undo information (e.g. write it to the redo log) when the tablespace is put in backup mode.
(c) There are situations when recovery is not possible due to "missing old UNDO information".
Answer (b) seems the most plausible to me. I did however not find any confirmation of this and if (b) really is the answer, I would be interested to understand what information is stored where by the Oracle RDMBS and how it is used for recovery.
To summarize I have the following questions:
(I) Is there any requirement to backup the UNDO tablespace together with an online backup of a tablespace, and if so, where is this stated in the Oracle documentation?
(II) What mechanisms ensure that uncommitted transactions can be cleared from the online copy of a tablespace (potentially a long time after the copy was taken)?
(III) Do you know any links (Oracle documentation or other online resources) explaining these datails?
Thank you for any hints and answers
kind regards
MartinIts a highly technical question and I can be completely wrong due to my very less knowledge but I would attempt to answer still. Hope I say something sensible so bear with me.
As far as I understand, an online backup of a tablespace can be performed by copying the OS files making up a tablespace while the database is up and being used (i.e. transactions are modifying data in the database).Correct. But it would depend on the tool you are going to use to do so.Using o/s level commands like CP and all would require you to manually copy the files to the backup location. Using RMAN, it would be lot easier and RMAN would take care of everything.
Before the copying of the OS files starts, the Oracle RDMS must be notified that an online backup is being taken via "ALTER...BEGIN BACKUP" (such that some additional information is written to the Redo Log, which may be required for subsequent recovery using the online backup). Again, this is a requirement only in the case of user-managed backup . In that case, because of the fractured block issue , its important that the corresponding older information/image of the buffer is also copied in the redo stream and that's done when the begin backup command is used. Using RMAN, this is not needed as RMAN can read the consistent image which it would store in the backup piece, exactly in the same way in which select request is fulfilled by oracle for a dirty buffer which is yet to be made consistent.
During recovery the Oracle RDBMS uses the copies of the OS files together with the online and archived redo logs in order to reconstruct all committed transactions and it further uses the UNDO tablespace to rollback open (uncommitted) transactions.Correct!
Thinking about this, it seems to me, that in order for this to work in all possible scenarios the undo information from the time the backup was >taken may be required. Therefore backup of the UNDO tablespace should be taken as well (see the explanation for this assumption below). >However browsing the internet (including the Oracle online documentation) I did not find any statements concerning the backup of the UNDO >tablespace when an online backup is taken. Moreover I couldn't figure out when exactly such a backup of the UNDO tablespace must be done, to >ensure that the database can be recovered in all scenarios.The reason that its not a must to do so is that if the transaction is yet active, there is no way that Oracle would overwrite the Undo information of it, even if you may come after 100 years, it would be there. The Undo segment would mark those blocks as active undo blockswhich contains the information of that transaction whose status within the transacton table of that undo segment is still marked as active. So its there all the time in the undo tablespace. Now, for an instance, let's assume that the undo is not there as well( it would be but let's assume), the changes made to the undo segment's blocks are also recored in the redo as its just a change happening to any other segment like EMP,DEPT except with the difference that its not done by you but by oracle. So using that information, in the future , if there would be a need to replay those changes, necessary information to do so can be brought up from the redo blocks stored in the redo/archive logs. Yes, if there would be pending transactions that would require Undo information to get them rolled back and you have lost Undo tablespace and have no backup of it , you wont be able to bring back the database as it would be inconsistent and oracle would not let you to do it. In that case, you may require to use hacks to get it up and that would be really tricky situation.
(I) Is there any requirement to backup the UNDO tablespace together with an online backup of a tablespace, and if so, where is this stated in the Oracle documentation?As I said above, it must be there if you are anticipating loss of Undo tablespace. If you have lost it, you would need a backup and all the archive logs and redo logs to recover and get it back to the point where the current database is . Rest, oracle would take care as it would reapply the redo contents of the undo segments over the undo segment and get it consitent.
(II) What mechanisms ensure that uncommitted transactions can be cleared from the online copy of a tablespace (potentially a long time after the copy was taken)?As I said , pending transaction's undo is never overwritten by Oracle. Its always kept and marked as active undo . Only a transaction end would make it elgible to get overwritten and that too won't happen immediately(undo_retention would kick in) .
(III) Do you know any links (Oracle documentation or other online resources) explaining these datails?I have to see if its there some where step by step mentioned and I shall update the reply once I shall find the link. Hoep someone else in the meantime finds it .
HTH
Aman.... -
Online backup client eats CPU!
I have an online backup client from Mozy installed on my Mac Mini, and the actual backup process is scheduled to run daily at 23:00. The automatic backup is switched off. However, the backup client process is running at all times, and sometimes takes 50 - 60% of the CPU even when the scheduled daily backup is not being taken. This is not always momentary, and seems to continue for minutes, not just a few seconds. As you may imagine, this has a serious effect on the performance of the machine and is very frustrating.
An additional problem is that it seems impossible to stop the process from the Activity Monitor. It can be force quit, but restarts almost immediately. Repeating the force quit does not seem to help.
I have referred this to Mozy support several times, but they appear unable to resolve the issue. This is unfortunate, as the backup itself is useful, and works well. I am therefore wondering if there is anything that I can do within OS X to bring this process under control? I was thinking of possibly setting up a cron job to start and stop the backup client process?
Any thoughts and suggestions would be of interest and gratefully received!
NigelThanks for that.
Unfortunately, it seems my thinking was not quite the best idea, as I have now received the following advice from Mozy Support:-
"I spoke with on of our senior support agents about the idea of quiting the Mozy client when not needed and he told me if you were to do that, Mozy wont know when files are changed and so wont back them up when you run a backup. Even when you aren't running a backup the Mozy client is watching all of the files on the machine and noting when a file needs to be backed up.
If you like, however, I can still provide you with the commands to effectively quit the Mozy backup daemon and launch it on demand. Alternatively, if the older Mozy client was better on resources and works for you, by all means use that version instead. To avoid having to re-select all of your files while changing the Mozy client version, when you select Uninstall from the MozyHome icon in the menubar, make sure the checkbox for Keep settings and log files is checked.
I know the Mozy Mac engineers are working towards reducing the resource footprint as much as possible, but Mozy is first committed to provide the most advanced and feature rich products. As such there will be a performance degradation as subsequent versions are released and ran on legacy hardware."
So switching the daemon off is clearly not a good idea; and the implication of the other comment is that Mozy don't care how much processor their system uses. Having researched elsewhere, it seems that this problem has been identified a couple of years ago, and Mozy don't seem to have made any serious effort to resolve it. From my perspective, I just want a reliable backup, the other bells and whistles are not interesting, and I would have thought that other users of a budget product would have similar requirements. However, Mozy seem content to leave us out in the cold. Fortunately, there are now other similar products, and a recent review in Macworld identified one called CrashPlan which seems to offer similar prices to Mozy (or slightly less).
For the time being I have reinstated an old version of Mozy that did not give this trouble, but will be looking seriously at CrashPlan, as reviews seem quite favourable.
Nigel -
Online backup fail through DB13
Dear experts,
I am using sap BW 7.4 under oracle 11.0.2.4
I am trying to take online backup on disk
I select action whole database online backup + redo file backup as will as
Full database online backup and BRACHIVE function is -sd
but backup was failed I am unable to resolve it following are logs generated during backup
#SAVED.... /oracle/online/beokvzrl/system.data1 #1/17
BR0280I BRBACKUP time stamp: 2014-08-02 10:58:20
BR0063I 17 of 17 files processed - 51610.133 of 51610.133 MB done
BR0204I Percentage done: 100.00%, estimated end time: 10:58
BR0001I **************************************************
BR0280I BRBACKUP time stamp: 2014-08-02 10:58:20
BR0317I 'Alter tablespace SYSTEM end backup' successful
BR0252W Function kill() failed for '17891582:15' at location BrKill-3
BR0253W errno 3: No such process
BR0278I Command output of '/usr/sap/BWD/SYS/exe/run/brconnect':
BR0801I BRCONNECT 7.40 (6)
PID=17891582
BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location global_set-1
BR0253E errno 13: Permission denied
BR0074W BRCONNECT call failed
BR0280I BRBACKUP time stamp: 2014-08-02 10:58:22
BR0530I Cataloging backups of all database files...
BR0278E Command output of 'SHELL=/bin/sh /oracle/BWD/112_64/bin/rman nocatalog':
Recovery Manager: Release 11.2.0.4.0 - Production on Sat Aug 2 10:58:23 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN>
RMAN> connect target *
connected to target database: BWD (DBID=2340275772)
using target database control file instead of recovery catalog
RMAN> **end-of-file**
RMAN>
host command complete
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of catalog command on default channel at 08/02/2014 10:58:25
ORA-19564: error occurred writing 8192 bytes at block number 1
ORA-27091: unable to queue I/O
ORA-27041: unable to open file
IBM AIX RISC System/6000 Error: 13: Permission denied
Additional information: 3
Additional information: 4
Additional information: 4194434
RMAN>
Recovery Manager complete.
BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
BR0279E Return code from 'SHELL=/bin/sh /oracle/BWD/112_64/bin/rman nocatalog': 1
BR0536E RMAN call for database instance BWD failed
BR0200I BR_TRACE: location BrRmanCall-56, commands for RMAN in: /oracle/BWD/sapbackup/.beokvzrl.cmd
@/oracle/BWD/sapbackup/..beokvzrl..cmd
host '/usr/sap/BWD/SYS/exe/run/brtools -f delete /oracle/BWD/sapbackup/..beokvzrl..cmd';
catalog datafilecopy
'/oracle/online/beokvzrl/sr3.data1',
'/oracle/online/beokvzrl/sr3.data2',
'/oracle/online/beokvzrl/sr3.data3',
'/oracle/online/beokvzrl/sr3.data4',
'/oracle/online/beokvzrl/sr3.data5',
'/oracle/online/beokvzrl/sr3.data6',
'/oracle/online/beokvzrl/sr3740.data1',
'/oracle/online/beokvzrl/sr3740.data2',
'/oracle/online/beokvzrl/sr3740.data3',
'/oracle/online/beokvzrl/sr3740.data4',
'/oracle/online/beokvzrl/sr3740.data5',
'/oracle/online/beokvzrl/sr3740x.data1',
'/oracle/online/beokvzrl/sr3740x.data2',
'/oracle/online/beokvzrl/sr3usr.data1',
'/oracle/online/beokvzrl/undo.data1',
'/oracle/online/beokvzrl/sysaux.data1',
'/oracle/online/beokvzrl/system.data1'
level 0 tag beokvzrl;
exit;
BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
BR0532E Cataloging backups of all database files failed
BR0056I End of database backup: beokvzrl.fnd 2014-08-02 10:58:25
BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
BR0054I BRBACKUP terminated with errors
BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
I am unable to understand why RMAN is use ?
and what parameters are used when I will take backup on tape
Kindly guide me
RegardsDear Srivastava for your reply,
I download latest brtools patch and apply it and change authorization profile parameters is also OK ( I run whole database online backup from brtools using same profile it done successfully )
full permission ( 777) in sapbackup folder and sub folder but through db13 backup is successfully with warning
BR0204I Percentage done: 100.00%, estimated end time: 11:57
BR0001I **************************************************
BR0252W Function kill() failed for '10420324:15' at location BrKill-3
BR0253W errno 3: No such process
BR0278I Command output of '/usr/sap/BWD/SYS/exe/run/brconnect':
BR0801I BRCONNECT 7.40 (10)
PID=10420324
BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location global_set-1
BR0253E errno 13: Permission denied
BR0074W BRCONNECT call failed
BR0280I BRBACKUP time stamp: 2014-08-04 11:57:59
BR0340I Switching to the next online redolog file for database instance BWD ...
BR0321I Switch to the next online redolog file for database instance BWD successful
BR0117I ARCHIVE LOG LIST after backup for database instance BWD
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /oracle/BWD/oraarch/BWDarch
Archive format %t_%s_%r.dbf
Oldest online log sequence 838
Next log sequence to archive 841
Current log sequence 841 SCN: 28074154
Database block size 8192 Thread: 1
Current system change number 28074155 ResetId: 842452156
BR0202I Saving space_log
BR0203I to /oracle/bck/online/BWD ...
BR0202I Saving /oracle/BWD/sapbackup/beolgapq.and
BR0203I to /oracle/bck/online/BWD ...
BR0202I Saving /oracle/BWD/sapbackup/backBWD.log
BR0203I to /oracle/bck/online/BWD ...
BR0056I End of database backup: beolgapq.and 2014-08-04 11:58:01
BR0280I BRBACKUP time stamp: 2014-08-04 11:58:01
BR0053I BRBACKUP completed successfully with warnings or non-fatal errors
1. BR0252W Function kill() failed for '10420324:15' at location BrKill-3
BR0253W errno 3: No such process
2. BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location global_set-1
BR0253E errno 13: Permission denied
BR0074W BRCONNECT call failed
why it backup not open file .user.pas ( it is not exist in this folder )
Kindly guide me
Regards -
Hi all,
We are using mssql database for our one of the BWP sysem. I am trying to take online backup through DB13. But i am not getting the online/offline options in DB13 callender. May i know the proper steps to schedule online backup through DB13.
Advance thanks.
with regards
HarishHello,
backups through db13 are always online. A online backup is created through the execution of a backup database or backup log command during the runtime of the SQL Server. And this is exactly what the db13 is doing, it schedules a job (for later or immediately execution) with a backup database/log command.
A offline backup can be done, when you shutdown the SQL Server (and of course the SAP system) and do a filecopy on system level. This can't be done through db13, as the SAP system is down in that time.
Regards
Clas -
Open resetlogs is not working when creating clone db with online backup
Hi All,
I am trying to create a clone database using hot backup of a database .
STEPS THAT I FOLLOWED
LET ----- >CURRENT_DB NAME=DEV
CLONE DATABASE NAME=DEVCLONE
steps PERFORMED FORM DEV DB
- put the database in backup mode using 'alter database begin backup'
- copy all the data files to a different folder
- during copy i have performed some operations on the DB (creating users, tables, dmls etc...)
- in between copying i also performed log switch
- after completion of copy , "alter database end backup"
- created a backup control file in a human readable format (alter database backup controlfile to trace as ........)
steps performed for clone DB side ((DEVCLONE)
- created a parameter file for the database .
- modified the backup control file so that it will point to the location of copied destination of datafiles
- set the ORACLE_SID
- then 'sqlplus / as sysdba
- starup nomount
- run the modified control file ( created a control file for the clone database)
- recover the database using "recover database using backup controlfile"
I have provided the archive files that it was asking for (archive logs that has been generated in DEV DB)
then i canceled the recovery by typing "cancel"
- recover database using backup controlfile until cancel;
then typed "cancel"
- then try to open the database with open resetlogs but it showed below error
alter database open resetlogs
ERROR at line 1:
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\DATA_GUARD\DEVHOT\SYSTEM01.DBF'
please help me on this ......
ThanksThanks , now i am able to open the DB in open reset logs mode .
Previously , when i had not taken the archive log after "alter database end backup" , i was not able to open the db with open resetlogs because the
fuzzy status of all the datafile headers were YES .
But after taking the archive log that got generated after "alter database end backup" and applying it on the clone db(Created with HOT backup ) the datafile_header status got changed from YES to NO .
So for that i am able to open the clone db with open resetlogs .
Can you please help me with a small description why this is happening ?
Thanks.......
Maybe you are looking for
-
Line item confirmation and goods reciept number of a shopping cart
Hi All , I am waiting for any response from u guys to my below post .... I have developed an end to end report in SRM which gives us an end to end report of a shopping cart . I have got the Shopping Cart details using FM : BBP_PD_SC_GETDETAIL for ea
-
I have an Ipad 2. My wife has an Ipad mini. When we plug in to Itunes (at different times) it synchs the apps from one Ipad on to the other. We don't want this. I have uncheked the box for Automatically synch apps, but it still does this. How do I ge
-
HOW TO CREATE A EVENT IN WORKFLOW THROUGH ORACLE APPS 11i Application
Dear all, I am un able to create a Business Event in Oracle Work flow Version 2.6.3 through Oracle Apps11i " Workflow Administrator Responsibility" .. In Workflow Administrator Responsibility, I could search the Business Events bUT i cannot create th
-
Cisco Aironet 1262N stuck during boot process
I am banging my head against the wall trying to figure out why my AIR-AP1262N-A-K9 will not boot all the way. It will get all the way to initiating the interfaces and stop. I can never get to controlling the cli. This is my first time with a cisco ap
-
Bluetooth and Leopard Screen Sharing
Is it possible to use the Screen Sharing feature in Leopard between a MBP and a Mac Mini using Bluetooth? The area where we will be using the two computers will be in a remote environment with no internet or cellphone service to connect with. The oth