Resize online redolog files, make RMAN obsolute backups as usable
Dear Guru's,
I have following doubts, please clarify me on the same. thanks in advance
1. why can not we resize online redolog files instead of re-creating the same with large size and remove the older onces.
2. How can we make RMAN obsolute backups as usable ?
Thanks.
vasuoracledba wrote:
Hi Aman,
Thanks for replay...
Regarding RMAN, plz look into below issue.
I configured RMAN backup recovery window of 15 days. after 15 days the backupsets which were older then 15 days are obsolute. now i have to restore the backup of 15 days older(obsolute backupsets) backupsets to the database. but when i do restore it defaulty takes latest backupsets other then obsolute onces.
how do i restore older(obsolute backupsets) backupsets to the database?
If i used the CHANGE cmd, how to do that.
RMAN> change backupset tag weekly_backup_20052013_02:45 _______________
do i make latest backupsets unavaliable to restore the older once....
RMAN> change backupset tag weekly_backup_20062013_02:00;
Thanks in advance...........
Obsolete backups are always usable, until you delete them with DELETE OBSOLETE.
If you want to restore from a backup other than the latest, use an until clause:
run {set until time = 'sysdate - 15';
restore database;}
Similar Messages
-
Size of an online redolog file member
How to reduce the size of an online redolog file member
You can add a new logfile, then switch logfile, then drop the old one.
You cannot have different members sizes in the same group.
Regards
Laurent Schneider
OCM-DBA -
Hi,
Aftr oracle patch upgradation my oracle 10g Database online redolog files are genrated with ROOT:SYSTEm(group&OWNER) inplace of ora<SID>
Please let me know the possible reson and solution of it.
Thanks
PresuHi,
Its looking like permission issues (s-bit issue) with database executables like BRARCHIVE, BRBACKUP and others.
Please read the following SAP Notes and do the needful.
[ Note 113747 - Permissions for DBA tools BR*Tools and SAPDBA|https://service.sap.com/sap/support/notes/113747]
[Note 651351 - BR tools on UNIX: Error due to executable permissions|https://service.sap.com/sap/support/notes/651351]
Regards,
Bhavik G. Shroff -
Change the Online redolog file
Hi Experts,
Please help me.
For SAP Recommondation we want change Online Redolog file.
How can to change Online Redolog file system .
Change minimal size of online redo log file from 20971520 to 63000000
Please explain what is the procedure.
Regards
S.Prasadreview Note 79341 - Checkpoint not complete available at https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=79341&_NLANG=E
check for section 3.
HTH -
Online Redolog file/group creation date
How to check Online Redolog group/file creation date.
Mano wrote:
How to check Online Redolog group/file creation date.Given that the online redo logs are constantly re-used, I'd have to ask what problem do you think will be solved by knowing the creation date . . .
Personally, I can't think of a more useless piece of information, so perhaps you'd get better information if you told us the real problem you are trying to solve. -
Creation of New Online Redolog File.
Hi,
We are working in SAP 7.0 environment.
My Problem is related to Basis.
In our BI Development system we had schedule AllOffline backup through Brtools.
From last few months backup is geeting finished with warning & the warning is,
BR0335W Status of online redo log file /oracle/BID/mirrlogB/log_g12m2.dbf is INVALID
BR0274W File '/oracle/BID/mirrlogB/log_g12m2.dbf' not found
BR0335W Status of online redo log file /oracle/BID/mirrlogB/log_g14m2.dbf is INVALID
BR0274W File '/oracle/BID/mirrlogB/log_g14m2.dbf' not found.
When i had checked at the O.S level i found that at location /oracle/BID/mirrlogB there is no such file is found.
So i checked in other system at same location files are available.
I think somebody had deleted the respective files; because before the same backup was getting finished successfully.
Now what can i do to remove this warning.
Is it possible to add new file at the same location with same name???????????
please guide me.
Thanks & Regards,
Aasmi.... two log files are exist namely '/oracle/BID/origlogB' & '/oracle/BID/origlogB'.
That's impossible. Probably names are like
'/oracle/BID/origlogB/log_g1m1.dbf' & '/oracle/BID/origlogB/log_g3m1.dbf'
Adding new logfiles or logfile groups will not cause any problems, but take care to keep names different from the names of existing files!
You shouldn't create single logfiles, but logfile groups, with two members, one in origlog, one in mirrlog. The two members aren't copies, but they are used by Oracle in exactly the same way, just in case one of the is lost. That's because they are crucial for keeping data integrity.
Explaining details can't be the objective of a forum thread. I suggest thoroughly studying the manuals.
regards
Edited by: Joe Bo. on Jun 23, 2009 8:29 AM -
Deleted files make Time Machine backup larger
This seems curious to me. I deleted a few large files from my computer. I noticed later that TM was taking a long time to back up. Now, the available space on my TM disk is much smaller. I'm sure there's some logic to this, but I can't figure it out. It seems like it would be the other way around.
Message was edited by: HookshotSince you've changed the contents of your computer, TM needs to create difference directory of the updated hard drive contents. Time Machine has save your old configuration and the back up and your Time Capsule (or whichever back up device you are using) still has a copy of your 'old' setup with all those big files you have now deleted. Remember, TM doesn't delete you previous configuration. In fact, if you think want to recover those big files, it will be available using Time Machine if you go back to the point in time in which those files still exist.
-
Resizing online and standby redo log in dataguard setup.
In 10gr2 dataguard i would like to increase redo logsize from 50M to 100M.
on primary
standby_file_management=manual
added online redo groups with 100M
log switched
drop old one and readded with 100m
deleted log added in step2.
same for standby redo logs.
On standby
was able to resize standby redo logs.
but cannot resize online redologs status is clearing or clearing_current.
please comment. thanks.I assume you just had to wait until the Primary switched out of that online log so it became inactive at the standby as well? We track where the Primary is by marking the online redo log files at the standby as clearing_current so you can tell where the primary was at any given moment.
Make sure you create new standby redo log files at the Primary and Standby to match the new online redo log file size.
Larry -
Best practice online redologs redundant
Oracle dbs on Unix without ASM
Few DBs have only single oracle filesystem available on unix box & have only one online redolog file available, wondering what would be the best practice to redundant them?
I know if i have multiple oracle filesystems , i can spread them there. but with only one filesystem, i can create one more redolog and put on the same filesystem.All right here is my researchwork on this topic, make me right if i miss something, its not RAC, just single instance dbs.
Advantages
Oracle recommends that you mutliplex the online redo log files, store members on separate disk drives, Even if all
copies of the redo log are on the same disk, the redundancy can help protect against I/O errors, file corruption, and
so on.
Disadvantages
Multiplex redo log files. the database must increase the amount of I/O that it performs. Depending on your
configuration, this may impact overall database performance.
Each member in a group must be exactly the same size.
select GROUP#, MEMBER from v$logfile;
select GROUP#, MEMBERS, STATUS , BYTES from v$log;
ALTER DATABASE ADD LOGFILE MEMBER '/oracle/dbs/log2b.rdo' TO GROUP 2;
alter system switch logfile; (few times to make sure all ok)
Backout plan
alter database drop logfile member '/wmbrktst/oradata/wmbrktst/redo01.log'; -
At the time of copying online redologs to STANDBY site.....
hai..
At the time of configureing dataguard manually(without rman) do i need to copy the online redologs to standby site along with *.dbf files and standby controlfile after clena shutdown? bcaz some procdeures guide me to copy all files with online redolog files to the stanndby environment.but some procedures guide me to only copy the *.dbf files to the standby environment along with init.ora,standby controlfile from the primary site.whcih one is correct? and which one is better?
please guide me.What is better is to use RMAN.
Why violate "best practice" guidelines.
RMAN knows what to copy and does it correctly.
Hint: If you don't copy the online redologs ... how will they be created? Magic rarely works. -
DB copy- re-using online redo files of target database
Hello again,
One question regarding DB copy from PRD to TST database (both are existing and running DBs). Can it cause problems when you don't remove online redolog files on TST database (e.g. log_g11m1.dbf...) during the copy ? Can those files be reused when stating 'alter database open resetlogs'? or could be any redolog files (even from totally other database) be reused - with same size, of course.
If you don't delete it , can it cause an error ORA-00305: log 4 of thread 1 inconsistent; belongs to another database ?
I am bit wondering, because I don't see any reuse in control trace file:
LOGFILE
GROUP 1 (
'/oracle/XXX/origlogA/log_g11m1.dbf',
'/oracle/XXX/mirrlogA/log_g11m2.dbf'
) SIZE 250M,
GROUP 2 (
'/oracle/XXX/origlogB/log_g12m1.dbf',
'/oracle/XXX/mirrlogB/log_g12m2.dbf'
) SIZE 250M,
GROUP 3 (
'/oracle/XXX/origlogA/log_g13m1.dbf',
'/oracle/XXX/mirrlogA/log_g13m2.dbf'
) SIZE 250M,
GROUP 4 (
'/oracle/XXX/origlogB/log_g14m1.dbf',
'/oracle/XXX/mirrlogB/log_g14m2.dbf'
) SIZE 250M
Thx a lot for explanations in advance!Hello,
I dont want to share them. I just meant, I have TST database running and I want to replace it's content from PRD database. So I delete all datafiles and do restore. BUT I do not delete online redolog files, I keep the files . Can these files be reused once I restore datafiles from PRD to TST? -
Restore hot online backup without redolog file
Dear
I had taken a online backup (begin / end tablespace) of all datafiles. Before end backup I had taken backup of current controlfile with O/S command.
Now, I want to restore this backup.
I have only :
datafiles (taken with begin / end backup)
controlfile (taken during begin / end backup)
Archive Log (from backup to up till now)
What steps I have to take for recovery with missing redolog files.
regards;Thanks dears its worked
SQL> startup mount
ORACLE instance started.
Total System Global Area 289406976 bytes
Fixed Size 1248576 bytes
Variable Size 96469696 bytes
Database Buffers 184549376 bytes
Redo Buffers 7139328 bytes
Database mounted.
SQL> recover database until cancel using backup controlfile
ORA-00279: change 643381 generated at 03/26/2009 15:59:06 needed for thread 1
ORA-00289: suggestion : E:\ORACLE\ARCHIVE\ARC00008_0682335852.001
ORA-00280: change 643381 for thread 1 is in sequence #8
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
auto
ORA-00279: change 644479 generated at 03/26/2009 16:01:31 needed for thread 1
ORA-00289: suggestion : E:\ORACLE\ARCHIVE\ARC00009_0682335852.001
ORA-00280: change 644479 for thread 1 is in sequence #9
ORA-00278: log file 'E:\ORACLE\ARCHIVE\ARC00008_0682335852.001' no longer
needed for this recovery
ORA-00308: cannot open archived log 'E:\ORACLE\ARCHIVE\ARC00009_0682335852.001'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
*Database altered.
*----------------------------- -
I can't make a DVD backup copy of my Adobe Online Storage
I can't make a DVD backup copy of my Adobe Online Storage File. How do you do it?
DavidHello David,
I would suggest to use the Adobe Media Downloader to download your images
Click here to archive your Photoshop.com library so you do not lose any files.
You will be asked to download an Adobe Air application called Media Downloader.
Then you can use your Dvd buring software to make a back up of your images
Thanks
Scott -
How to make rman to execute remaining cmds in file when one cmd failed
Hi All,
I have couple of commands to execute in a file, meanwhile if one command fails with error then rman terminates and did not executing remaining commands in file. How can I make rman to execute remaining commands even when one command failed with errors.
Thanks and Regards,
Sandeep.Write a shell script for Linux or batch for Windows. For example;
ORACLE_HOME=/oracle/ora11g
ORACLE_SID=TEST
TMPDIR=/tmp
TMPLOG=${TMPDIR}/RMANtmplog.$$
$ORACLE_HOME/bin/rman log=$TMPLOG << EOF1
connect target /
run
crosscheck backup of database ;
exit
EOF1
RESULT=$?
if [ $RESULT -ne "0" ]; then
echo "FAILED RMAN crosschek command"
else
$ORACLE_HOME/bin/rman log=$TMPLOG << EOF2
connect target /
run
delete noprompt expired backup of database ;
exit
EOF2
fi
Talip Hakan Ozturk
http://taliphakanozturken.wordpress.com/ -
I migrated info from a hard drive to a new mac under time machine. It says I have shared files, but I don't see the old info on the new machine. Where do I look for it ? How do I make the old backup the basis for my new macbook ?
The old OS was Mac X 10.5.8. I think the new one is 10.7.2 Lion.Have a read here How do I set up a new Mac from an old one, its backups, or a PC?
Stefan
Maybe you are looking for
-
Itunes 10.5 will not download on windows 64bit
im seeing lots of this. 10.5 will not download onto my comp. i have 64bit windows 7. tryed everything. keep getting same error message, There is a problem with the windows installer package. A program for this install to complete could not be run. I
-
Authenticate Oracle Userid & Password
I have a requirement wherein i need to authenticate the oracle username & password similar authentication functionality (maybe using PL/SQL or check using SQL query) is required as when a user connects to DB using sqlplus or any tool. ANy leads/sugge
-
Error 22, can't save Quicktime stream setting?
Pretty new to macs and trying to chat with iChat. Getting the error 22 like alot of others. I've tried to read and go through every step I can but the thing that is bugging me is the Quicktime steaming setting. Specifically I click the drop down box
-
Hello Trouble In Photoshop CS4 Windows 7 build 7100 Proved when Photoshop opens and closes the window Is there a solution Trouble Proved Photoshop CS4 when Opens the window and disappear in less than a sec This problem in Photoshop CS4 Only Program I
-
Just got a new computer and trying to transfer my music using the same account. My songs are displayed, but I have to "authorize" the computer to play them. How do I do that?