Interesting scenario, is there a need to reset logs periodically?

10.2.0.2 Ent Ed -- Rman 10.2.0.2 -- aix 5.3
Is there a possible need to perform a reset logs periodically? This question initially came to me at the worst of times, during a recovery of a fairly important database.
If / when you have to perform an spfile or controlfile restore without a recovery catalog, if your log sequence is above 255 and your last backup was more than a day ago, is it possible your latest autobackup wont be found? In our scenario we had a day old controlfile snapshot that we used, but I'm not sure if we would have been able to recover had it not been there. From reading the 10g Recovery Manager Reference manual:
"FROM AUTOBACKUP
[autoBackupOptionList]
Restores a control file autobackup. You can only specify this option on the RESTORE CONTROLFILE and RESTORE SPFILE commands. When restoring either type of file in NOCATALOG mode, the FROM AUTOBACKUP clause is required.
RMAN begins the search on the current day or on the day specified with the SET UNTIL. If no autobackup is found in the current or SET UNTIL day, RMAN checks the previous day starting with sequence 256 (or the sequence specified by MAXSEQ) until it reaches 0. The search continues up to MAXDAYS days (default of 7, maximum of 366) from the current or SET UNTIL day. If no autobackup is found within MAXDAYS days, then RMAN signals an error and the command stops. "
The doc doesn't mention it but if you haven't ever tried setting MAXSEQ > 256, you'll get an error if you do. 256 is the upper bound for the MAXSEQ parameter. This is a snippet from my test of that:
<code>
oracle_sandbox1> rman target /
Recovery Manager: Release 10.2.0.2.0 - Production on Fri Nov 21 09:16:36 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: WEBDEV (DBID=1965364971)
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 5;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/10.2/dbs/snapcf_webdev.f'; # default
RMAN> run {
2> allocate channel t1 type 'SBT_TAPE';
3> restore spfile to pfile '/app/oracle/product/10.2/dbs/webdev_pfile.tst' from autobackup maxseq=300;
4> }
allocated channel: t1
channel t1: sid=256 devtype=SBT_TAPE
channel t1: Veritas NetBackup for Oracle - Release 6.5 (2007111606)
Starting restore at 21-NOV-08
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/21/2008 09:23:46
RMAN-06494: MAXSEQ = 300 is out of range (0-255)
RMAN>
</code>

The "sequence" here is not the Log Sequence Number that is assigned when LGWR switches from one Redo Log to another, and the previous one is archived out as an Archivelog (if running in ARCHIVELOG mode).
The "sequence" here is the sequence of the controlfile autobackup that was created. In AUTOBACKUP mode every change to the database structure (eg adding a new datafile) causes an Autobackup. Similarly, every Database Backup causes an Autobackup. Since multiple such autobackups can occur within a single day, Oracle assigns a SEQUENCE to differentiate beteween the backups created on the same day. It is this sequence that is limited to 255 .
Hemant K Chitale
http://hemantoracledba.blogspot.com

Similar Messages

  • Is there a way to resort an ipod touch to the point before a restore was done on it? It is telling me there is nothing in the icloud and I need to reset it back up.

    s there a way to resort an ipod touch to the point before a restore was done on it? It is telling me there is nothing in the icloud and I need to reset it back up. The reset was done before I could backup the icloud and itunes to the computer and it wasn't done with my permission.

    You may be able to get some info off the restored iPod by:
    via How to perform iPad recovery for photos, videos
    Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official     
    http://www.amacsoft.com/ipod-data-recovery.html
    iPod recovery software to restore lost music files      
    http://www.pcrecoverytools.com/ipod-data-recovery.html
    You can redownload most iTunes purchases by:        
    Downloading past purchases from the App Store, iBookstore, and iTunes Store         

  • Every time I launch airport utility i says theres a new update to 5.6.1 so i click update and there is no update. Do i need to reset or restore my time machine? if so will I loose all my files?

    the problem is that i launch the airport utility and it always says there is an update to 5.6.1, i click update and it launches the app store and tere are no updates available. i'm wondering if i need to reset or resetup my router but am afraisd if i do that i will loose all the files on my hard drive. I think this also may be related to why i am unable to use the remote app on my ipad or iphone for my apple tv (2nd gen) any input would be bvery helpful. i am now running mountain lion for my OSX

    You must have upgraded to ML.. 5.6 airport utility is not actually ML compatible.. it will work but cannot be loaded as Apple ceased support at Lion. Hence why there are no upgrades.. you should not be using it at all. You are supposed to use toyland v6.1 included in ML.
    I would certainly just ignore it.. having 5.6 is a great advantage .. it is a tool.. ML version is a toy.

  • I need to reset my security questions however there is no option to send a reset link to email address anyone help?

    I need to reset my security questions however there is no option to send a reset link to email address anyone help?

    Go to https://getsupport.apple.com ; click 'See all products and services', then 'More Products and Services, then 'Apple ID', then 'Other Apple ID Topics' then 'Forgotten Apple ID security questions'.

  • It says my security answers are wrong, so I guess I need to reset them, it says to click the rescue email button that shows up under the questions, there is no button that shows up.

    It says my security answers are wrong, so I guess I need to reset them, it says to click the rescue email button that shows up under the questions, there is no button that shows up.

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (96912)

  • HT4994 I needed to reset my phone and retreive my info thru iitunes but i did not get my recent pics.  Is there a way to find the lost pics?

    I needed to reset my iphone to retrieve the data.  I lost my recent pics.  Is there a way ti retrieve thos pics?

    Only i you have a backup from the time before you lost the photos to restore from. Pictures taken with the camera are part of the backup.
    If you don't have that backup anymore, your pictures are gone.
    And, you can only restore the whole backup data, not only parts of it.

  • I am selling my sons ipod and i need to reset the ipod from the itunes account because there is a password that no one remembers

    I am selling my sons ipod and i need to reset the ipod from the itunes account because there is a password and no one remembers it.  I am not an expert ( or even close) on the itunes stuff so I have tried everything I can see. 

    If you have a passcode to the screen lock that you've forgotten and your device is running iOS 6 or earlier, restore the device from the computer to which the device is synced. For information and instructions, see:
    http://support.apple.com/kb/ht1212
    If that will not work, you'll need to put the device into Recovery Mode and then try the Restore again:
    http://support.apple.com/kb/ht1808
    If that still doesn't work, as a last resort try DFU mode:
    http://www.iclarified.com/entry/index.php?enid=1034
    If your device is running iOS 7 and you set up Find My iPhone (iPad/iPod),  however, then it has the Activation Lock on it and you'll need to enter in your Apple ID and password after erasing to be able to restore the device:
    http://support.apple.com/kb/HT5818
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • I need help resetting my security questions, i try to and it says email sent but i never get the email to my main email or alternate email, i never set my questions but somehow there set

    I need help resetting my security questions, i try to and it says email sent but i never get the email to my main email or alternate email, i never set my questions but somehow there set, so i can also not buy apps without entering my question awnsers please help

    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions

  • Hi there, I'm Medel and I'm currently on Saudi Arabia. I forgot my security questions' answers and need to reset it but I just added an alternate email a while ago. Can anyone help me how to reset it even if I don't have a recovery email registered?

    Can anyone help me how to reset my security questions on my apple account? I forgot the answers and need to reset it. Please Help...

    An alternate email is not used for resetting security questions, do you know if you have a rescue email address on your account ? If you do then follow steps 1 to 5 half-way down this page and you should get a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in Saudi Arabia to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699#S
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 link above to add a rescue email address for potential future use

  • HT201240 i have v 10.7.5, and need to reset the password. with my Appleid - there is no response. Any ideas?

    i recently reset my admin password, and promptly forgot it. now i need to reset. unfortunately when itry to reset with my apple id, it does not accept. i believe it is because i need to connect to internet by wifi, which i cannot turn on due to login problem. how can i reset my admin password.?

    Forgot Your Account Password
    For Snow Leopard and earlier
         Mac OS X 10.6- If you forget your administrator password
    For Lion/Mountain Lion
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password and
         OS X Lion- Apple ID can be used to reset your user account password.

  • I was downloading updates for ipod touch 2nd gen and twice when I was to processing files stage it clicked off. There was no message on whether it was done or what I was to do next. I needed to reset the ipod. Now what do I do?

    I was downloading updates for Ipod touch 2nd gen and when the process was to the processing files point the screen changed and I wasn't given any idea as to whether the process was complete or not and if it was what was to be done next. I needed to reset the Ipod and now I am wondering what to do . Spend another Hour downloading and whatever amount on processing files and end up where I am now . Whats the next step in finding out what to do? This was the second attempt to do this with the first try happening the same except I am not sure how long the processing files part was.. Any suggestions as to what to try will be greatly appreciated.. Thanks

    Likely a batter problem since high temperatures destroy a battery.  I wold make an appointment at the Genius Bar of an Apple store to see what they say.  It is free except for your time.

  • I need to reset my time capsule/airport every day - time capsule has green light but I don't see any wifi signal on my mac and other computers.

    as many of you do, I use time capsule as airport, too...
    It worked fine for 6 months or so after I bought the new time capsule. (I bought it in September 2012.)
    Since the beginning of this year, I had to reset, and power off and plug it in almost every week, then now I need to reset and power off and back on again every day...
    When I first set up the time capsule, I followed the instruction with the manual.
    But, now I am so lost and don't want to reset every day for wifi connection.
    Anyone has problem like me or knows how to solve this issue?
    Please help..
    I have MacBook Pro OS X 10.8.4 & my roommates have PCs. (just in case if it helps...)

    For PC it is important the wireless has names that are compatible.. short.. like 10 characters.. but 2-20 is fine. no spaces.. and pure alphanumeric.
    Use WPA2 personal only.. with pure alphanumeric password .. again 10-20 characters should be fine.
    The latest firmware is a dud. Go back to 7.6.1
    Open the airport utility.. click on the TC and holding the option key click the actual version number..
    Go back to 7.6.1 is simple.. just select it and away it will go.. ignore future requests for upgrade.. you can also tell the utility not to check weekly for updates. You will need 5.6 utility for this I think..
    So do the firmware downgrade.
    Then do a factory reset and follow the name information above.. for TC name as well btw.. wireless name/s and disk share name.. which by default is data and that is fine.
    So some instructions in...
    The Factory Reset.
    Power down the TC.
    Hold in reset. and keep holding it in. Be Gentle! It is a tiny surface mount switch with a plastic lever.. Attempting to push it out the other side of the TC will not make the switch turn on better.
    (I fix TC and have several reset levers bent over and jammed or broken off).
    Power on the TC.. remember with the reset held in.. this needs three arms.. a friend or power switch you can get to with your feet..
    Keep holding in reset for about 10sec until the front LED flashes rapidly.
    Release reset and wait .. the boot will be slow as it deletes previous setting.. only from router side and pulls out the factory defaults. No files are deleted on the hard disk.. but the name of the TC may change.
    How to load 5.6 into ML.
    1. Download 5.6 for Lion.
    http://support.apple.com/kb/DL1482
    Click to open the dmg but do not attempt to install the pkg.. it won't work anyway.
    Leave the package open on the desktop so you can see the file. AirportUtility56.pkg
    2. Download and install unpkg.
    http://www.timdoug.com/unpkg/
    Run unpkg on the desktop.. If your Mac refuses to run the software, because it wasn’t downloaded from the Apple store, go to security in preferences and allow other software to work.. this is limitation of trade methinks. You can set back later if you like.
    Now drag the AirPortUtility56.pkg file over to unpkg.. and it will create a new directory of the same name on the desktop.. in finder, open the new directory, drill down.. applications, utilities .. there lo and behold is Airport utility 5.6 .. drag it to your main utilities directory or just run it from current location.
    You cannot uninstall version 6 (now 6.3 if you updated) so don't try.. and you cannot or should not run them both at the same time.. although I have had no problems when doing so.
    You can also load airport utility into a pc and get access to all the settings.  Untick the box for firmware updates.. it will still bug you occasionally.. regardless of the setting.. just ignore it..
    You might still need to do the occasional reboot of the TC as well.

  • Why does the iTunes AppleID system refuse to work properly without the need to reset the password every time I open iTunes for use?

    Alright so here is the issue. When I first started using iTunes I created my AppleID. I locked it in to remember my password and authorize my computer so that I would NEVER HAVE TO ENTER IT AGAIN. So years pass, no problem. Then "ITUNES 11" come on everyone lets upgrade or you can't proper use the iTunes Store. Seriously it wouldn't let me access the store. Go Figure. So I upgrade simple right? No. It really isn't when iTunes 11 rolled out it was riddled with minor bugs that made the experience annoying so I did a rollback and live without the store for awhile.
    About a year passes and I try again this time upgrading iTunes through a COMPLETE fresh install, again I did what had done the first time I logged my AppleID and reauthorized my computer. Hurrah other than getting use to the new UI it ran perfectly. Yes Finally! Right? Again.... No. No more than 2 or 3 software updates later suddenly my password for my AppleID is incorrect I was like "Okay?" and re-entered it thinking the big update cleared my settings.
    Wrong Password please reset password to continue using the iTunes store.
    I was like okay maybe the user agreement change and we all need to reset passwords and re-accept the EUA. So I go through the process to create a new password successfully and reset my AppleID in iTunes with the new password. Come back a few weeks later it happens again this time I enter my new password and what do I get?
    Wrong Password please reset password to continue using the iTunes store.
    So I first do a repair install to my iTunes than reset my password this time NOT setting it to remember password. Great everything works fine again password even matched my Home CompID so that I could NEVER lose it well come a few days later I try to use the store and what happens?
    Wrong Password please reset password to continue using the iTunes store.
    to try to make my Long story a little shorter....
    This has been going on for the better part of 3 years I have almost completely dropped iTunes which has the better store library for Goggle Play Music who's store library isn't even a third the size iTunes has because their system works and my log-in is my e-mail. I repeatedly completely uninstalled iTunes and wiped it from my registry in hope a clean install would fix the problem but it never does.
    My OS is Vista Home Premium Edition 32-bit and no picking on my OS I been working to get a new computer but that isn't happening anytime soon so I work with what I got.

    Even removing the .xml files doesn't make a difference. Also, I now installed another update of iTunes, but still having the same problem, and this time there are no .xml files or preference files whatsoever in the Application Data and Local Settings\Application Data iTunes folders. It seems like for some reason iTunes is unable to create these. What should I do?

  • I have a problem. My Apple ID is not my icloud email address my Apple ID is my msn account, but I need to reset the password for my icloud email because I can't remember what it is. How do I do that?

    I have a problem. My Apple ID is not my iCloud email, my msn is my Apple ID, but I need to reset the password for my icloud email address because I can't remember what it is. How can do I reset my iCloud emaill password when it's not my Apple ID??

    Your iCloud and @icloud.com login ID is an Apple ID. Go to http://appleid.apple.com and sign in with the ID you use to sign into iCloud (you can check this by going to http://www.icloud.com and signing in there).
    Click 'Password & Security' in the sidebar and you will be able to change the password.
    HOWEVER
    Before you do this you must turn off 'Find My iPhone/iPad/iMac' if you have it enabled on any of your devices, otherwise you will land yourself in difficulties.

  • HT3728 My Time Capsule is working fine with ethernet connection, but it is no longer working with wifi, probably because of my wrong setting; is there a way to reset wifi setting without losing backuped data? Thanks you all

    y Time Capsule is working fine with ethernet connection, but it is no longer working with wifi, probably because of my wrong setting; is there a way to reset wifi setting without losing backuped data? Thanks you all

    Giancarlo Messalli wrote:
    1) are you sure a reset holding the reset button will not delete my data?
    Absolutely sure.. There is no connection at all.. reset is only the router side of the TC.
    For the hard disk to be erased you need to access the airport utility disk page.. request erase and confirm the operation.
    2) I can access to time capsule by ethernet but I am not able to input the corret setting by myself
    Thank you again
    I am uncertain why if you have access you cannot change settings.. but that is why you reset things so any of those problems should be fixed.
    Here is the Apple info on reset.
    http://support.apple.com/kb/ht3728
    And here is the quote from the horse's mouth so to speak.
    Factory default reset: Perform this reset if you wish to repurpose the AirPort Base Station or Time Capsule and want to remove all personal profiles and settings first. This reset resets the device to its state when you first purchased it. Data stored on internal or external hard drives connected to the device will not be erased. If you choose, you may manually erase the hard drive using AirPort Utility.

Maybe you are looking for

  • Material/Serial Nbr is "Stuck" in a storage location and can not be moved

    We have a situation created by my customers which has lead to a situation I have never seen before.  A material/serial nbr. that is in our Returns location that can not be transfered, issued, removed, or anything via ANY MIGO movement type combinatio

  • Where Are the Printing Presets?

    I've got several printing presets created. I select a photo and click the print icon. In the print dialog that appears there is a Printer drop down menu and Presets drop down menu. Despite having several presets only Standard is in the drop down menu

  • Is this the right program for me?

    I need a program that'll work very well with all of my audio equipment for recording. I need something that is easy to use, but still has nice results. I plan on uploading my recordings as MP3s to a musician myspace. Is this the right thing to purcha

  • The flash player plugin is correct installed, but firefox keeps asking to install it and then says not possible

    I have installed flash player. The test site of Adobe says it is correct. When I switch it off and do the test the test says "flash player is switched off, press to switch it on" when I dos so the test says that is corectly installed. When I open the

  • No icons in lion desktop

    I just installed Lion (10.7.2) and when I reboot, my desktop icons do not appear until I click on the Finder icon. What's the deal. Thanks, Barry