Trying to archive more often: archive_lag_target vs downsizing redo logs

Hi,
I have a small production 10.2.0.1 database (small: all the files are 17GB total) on Linux which is used in Agile PLM. Ever since we went live, it produces only 2-4 archive logs per day. This was OK when our company was only concerned with being able to restore from the nightly cold backup. Now we want to make sure we can recover to the last hour of work. So I need the database to spit out more logs. It has 4 log groups (with 2 members each), each 50M in size. I am going to add 2 more log groups to have 6, since that is what we did for our 11i instance based on a consultants recommendation. That could prevent some problems, but won't cause it to spit out more logs. I did some research (here included) and found that setting archive_lag_target-3600 will FORCE the db to spit out logs every hour, and doing some testing, this works very nicely. The archive logs are only about 1.2M when they do get spit out every hour, but that is fine. The question is, is it OK to turn on archive_lag_target while keeping the size of the logs at 50M, and have mostly "small" logs being spit out? Or should I reduce the size of the logs to say 20M (by dropping the old ones and creating new ones)? I actually tried 20M and then during a busy time it spit out 2 of them within 10 minutes, but then I looked and saw it did the same thing with the 50M size, so I figured why not keep the 50M redo log size in the first place? It would actually make my go-live plan easier as I would just add 2 log groups at the current size in prod, and not have to drop and recreate a bunch of logs. I think this is a good plan -- my only worry is that if traditionally the way to increase the frequency of the logs was to reduce their size, I feel like I am "cheating" by using the archive_lag_target parameter to do this. I also want to not change too many things at once in production at one time. Thanks in advance. Marv

user11965205 wrote:
is, is it OK to turn on archive_lag_target while keeping the size of the logs at 50M, and have mostly "small" logs being spit out?Yes it is OK: you should keep "large" redo log in case your database instance has sometimes much more write activity to avoid checkpoint not complete issue.

Similar Messages

  • Db restore non archive mode lost redo log file..restore from controlfile tr

    i have a db 11g I had taken non archive backup but failed to take redo log files backup...
    so while i restored the db ... after formatting the machine ..the oracle instance wont start.
    I create a controlfile trace but when i run it i get errors.
    since i dont have the older log files.. how do i get around with this issue
    Thanks
    Following is the sample of control file trace ..Note i cannot create the redo log file
    since db wont be mounted at most it shall be in nonmount mode
    and below is my created controlfile ....
    CREATE CONTROLFILE REUSE DATABASE "XE" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1
    'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_80L7C259_.LOG'
    SIZE 50M BLOCKSIZE 512,
    GROUP 2
    'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_80L7C375_.LOG'
    SIZE 50M BLOCKSIZE 512
    -- STANDBY LOGFILE
    DATAFILE
    'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSTEM.DBF',
    'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\UNDOTBS1.DBF',
    'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX.DBF',
    'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\USERS.DBF'
    CHARACTER SET AL32UTF8
    I dont have these 2 files ..what do i do to get around this situation
    'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_80L7C259_.LOG'
    SIZE 50M BLOCKSIZE 512,
    GROUP 2
    'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_80L7C375_.LOG'
    SIZE 50M BLOCKSIZE 512
    -- STANDBY LOGFILE
    DATAFILE
    Edited by: zycoz100 on Feb 27, 2013 10:57 PM

    If you have a cold backup (database shutdown properly) without the redo logs, change this :
    CREATE CONTROLFILE REUSE DATABASE "XE" NORESETLOGS NOARCHIVELOGto
    CREATE CONTROLFILE REUSE DATABASE "XE" RESETLOGS NOARCHIVELOGYou have to change the NORESETLOGS to RESETLOGS for Oracle to recreate the online redo logs.
    Hemant K Chitale

  • My firefox stops responding and fades for about a half min almost every hour, OR MORE often

    My firefox stops responding and fades for about a half min almost every hour, OR MORE often.
    I am typing a message or information, the screen fades to about half bright. the curser freezes in place and no key responds.
    The information bar at the top of the page says "firefox not responding" in about 30 seconds it restores and continues as tho nothing happens.

    I might have discovered the solution without starting over with all your places and bookmarks.
    Right after i installed 7.0.1 over a week ago,every 10-30 min When i would be watching videos online, it would freeze for 20-30 seconds. Firefox would say ( Not responding) both firefox and the plugin container process would be very large memory files. I tried to go back to Firefox 5.0. No avail it would still freeze.I tried to disable the plugin container . no good. I tried to adjust memory or cache or plugin settings in “about:config”.Nothing fixed it!
    I finally discovered why my Firefox 7.01 was periodic hanging fix. It is something to do with some of your personal files. download this this add on and install it
    https://addons.mozilla.org/en-US/firefox/addon/places-maintenance/
    or you can Google "places maintenance Firefox"
    After you install the add on, restart Firefox.go to "tools", then "add ons" and then click “extensions” tab ,then click' options" on the "places maintenance" entry. choose "ALL' or just "expire" and hit "execute", then wait until its done., restart Firefox. should be fine then and all my bookmarks, customizations ,settings, and history stays untouched!
    After i did this my Firefox did not freeze once for over 3 days straight. Might not work for everyone. I already read that Mozilla is aware of the problem and are working on a fix it in the full version of 8( the 8 beta did not fix the problem for me) . But they said this is a good temporary fix at least,( might be permanent)
    For me at least ,Firefox works fine in 7 now. perfect actually.And many people i saw on similar forums had similar problems.
    Enjoy. Hope this helped

  • I have a Canon MX882 and more often than note get an error message saying the printer is not connected. I check the printer and the get the message that the access point is accessed. I have reloaded the software and it worked for awhile. Any ideas?

    I have a Canon MX882 printer and more often than note get an error message that says "Printer not Connected." When I check the printer itself, I get confirmation that the access point is connected. I tried reloading the software and that seemed to have solved the problem for awhile but I'm experiencing the same problem. Any ideas what is causing this?

    Did you delete all receipts with iDVD in the file name  with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder before installing the new copy?  If not then do so and delete the new application also.
    Click to view full size
    Then install iPhoto from the disk it came on originally and apply all necessary updaters: Apple - Support - Downloads
    OT

  • Recover Database is taking more time for first archived redo log file

    Hai,
    Environment Used :
    Hardware : IBM p570 machine with P6 processor Lpar of .5 CPU and 2.5 GB Ram
    OS : AIX 5.3 ML 07
    Cluster: HACMP 5.4.1.2
    Oracle Version: 9.2.0.4 RAC
    SAN : DS8100 from IBM
    I have used flash copy option to copy the database from production to test machine. Then tried to recover the database to an consistent state using the command "recover automatic database until cancel". System is taking long time and after viewing the alert log it was found that, for the first time, if it is reading all the datafiles and it is taking 3 seconds for each datafile. Since i have more than 500 datafiles, it is nearly taking 25 mins for applying the first archived redo log file. All other log files are applied immeidately without any delay. Any suggession to improve the speed will be highly appreciated.
    Regards
    Sridhar

    After chaning the LPAR settings with 2 CPU and 5GB RAM, the problem solved.

  • BDOC Error : Partner function Sold-To Party occurs more often than specified in Customizing

    Hi,
    I am new to middleware and would like to know how to solve the below error.
    My scenario is I am trying to perform an initial download for equipment from ECC to CRM. Most of the blocks get successfully uploaded, but for a few cases I get this error.
    CRM_EQ_DMBDOC: Partner function Sold-To Party occurs more often than specified in Customizing
    As my block size is 50, I would like to know which entry has this error and how to fix it. Once I fix it do I reprocess the BDOC.
    Please advice me how to go about this. Thank you for your time.
    Regards,
    Dhruv

    Hi Willie,
    Thanks for your reply.
    I applied the Note 1762574 and tried reprocessing the BDOC but it does not get processed.
    The other note 1414329 de-implements the change made by the first one, so I did not use it.
    Do you have any other suggestion?
    Regards,
    Dhruv

  • My PC sporadically recognizes my iPhone.  occasionally it synchs on first try.  More often it recognizes the iPhone and then gives an error message that it can't recognize it.  Help!

    My PC sporadically recognizes my iPhone.  occasionally it synchs on first try.  More often it recognizes the iPhone and then gives an error message that it can't recognize it.  Help!

    Thank you both. I suppose I should have prefaced my question with the concern that I've read a number of other posts from people who have had a similar issue and when they tried to follow the directions, they ran into a multitude of other problems. As you might imagine, I'm hoping to avoid the creation of new problems as I try to solve this one. Thanks again.

  • Hello everyone. I bought my iPad 2 in Novermber, 2011. Recently it started shutting off by itself for no reason. It gets annoying because it happens while I'm using it and it starts happening more often. Does anyone know what to do about it?

    Has anyone experienced problems with iPad 2 shutting off by itself? I have mine only since November 2011 and it keeps happening, recently more often. It also takes longer time to turn back on. It's annoying because it happens of course while in use. Help! Please.
    D.

    Thanks, but it doesn't make a difference. I've tried. It just turns off in the middle of my reading or searching the web. On the beginning, it happened only once or twice but recently it happens at least once a week. I don't know if it's a warranty issue or if maybe there is simple solution to my problem...

  • Why my mac book air warms up more and more often, more and more hot

    Why my mac book air warms up more and more often,and more and more hot

    I have this problem too when I use heavy applications like big intense games. When you use this, a lot of memory and CPU space is taken up. This causes the fan to spaz out. The fan tries to cool it off, which in turn makes an awkward loud noise. If it makes noise/and/or gets loud, go to "Activity Moniter" and see if anything is taking up a large amount of CPU %. If anything is 30%-70%, that a lot. Earlier, I transfered 2,400 pictures from my iPod to my Air, and it went crazy. Within like 3 minutes of it transferring, it got hot. I looked at the CPU %, and it was anywhere from 80%-somehow like 230%. Anything like games or apps or a lot of internet browsers can warm it up. One other huge thing that can cause this is airflow. If you operate it on like a pillow or something soft and/or somewhere with low airflow/circulation, your computer will get hot. So, either use it in your lap or on something like a table, and try not to overwork the computer. If neither of these things help, bring it in to the Apple store. I hope this helped! Good luck!

  • Once in awhile my screen will freeze while I'm watching a video. Lately it's happening more often, I'm watching a video and it'll freeze BUT I can still hear the dialogue. Only solution I've found so far is to do a hard shut down. HELP!!

    Once in awhile my screen will freeze while I'm watching a video. Lately it's happening more often, I'm watching a video and it'll freeze BUT I can still hear the dialogue. Only solution I've found so far is to do a hard shut down. HELP!!

    Hi there, im also having this problem, i tried running most of the games on my system, and some that are considered "high end" games, are giving me the exact same problem, but other games are running and im able to message fine, i also got some friends to send me messages, and i can recieve messages perfectly, also i noticed moving the actual window around on the screen or just closing down skype also lags. I have 16GB of ram and 4.4Ghz Octa-Core CPU, i checked my load while on the high end games and it there was more than enough hardware usage left like normal for skype to run, and skype wasnt taking any extra up than before. I also checked by bandwidth and i was having no problems with that as skype would lag even on offline games. 
    I have tried re-installing under a different directory and still the same problem persists, this has only been a problem within the last 24hrs and i haven't installed any other programs that could affect this at the moment.
    *UPDATE* I tried downgrading to an older version of skype, 6.3.0.107. Problem Still persists

  • I have been trying to upload more music to my iphone 3gs but whenever i try to even click on the artist or name buttons in itune they dont get highlighted or anything all i can do is play music from my phone through itunes ...

    i have been trying to upload more music to my iphone 3gs but whenever i try to even click on the artist or name buttons in itunes they dont get highlighted or anything all i can do is play music from my phone through itunes ... if you know of anything i have done wrong plz tell me how to fix (besides restore)

    Success!! There truly is a light at the end of the tunnel. Apple support really did come through and I am successfully back into my account. Ready to purchase more music. I followed the instructions, with patience I thought I lost, submitted my problem, someone emailed me back within two days and all is now perfect. Thanks again Apple.
    To all the frustrated users out there, don't lose hope!!!

  • I'm trying to buy more storage on my iPad but when I get to the "buy" button, it has my old Apple ID and I can't go any farther. I've changed my Apple ID on all my devices, logged out, logged back in, rebooted, etc., but that one area still has old one.

    I'm trying to buy more storage on my iPad but when I get to the "buy" button, it has my old Apple ID and I can't go any farther. I've changed my Apple ID on all my devices, logged out, logged back in, rebooted, etc., but that one area still has old one.

    You can't buy more storage on an iPad. You are referring to space on iCloud and that probably won't accomplish what you are trying to do.

  • I am trying to buy more icloud storage and am putting in the correct password. everytime i do it it says completing purchase and then keeps asking me for my password as if it wasnt correcr and wont let me buy the storage.

    I AM TRYING TO BUY MORE ICLOUD STORAGE. I PUT IN THE CORRECT PASSWORD AND SAYS COMPLETING PURCHASE. IT THEN GOES BACK TO MY PASSWORD AND I HAVE TO PUT IT IN AGAIN. I CANT GET ANY FURTHER SO WONT LET ME BUY IT. ANY IDEAS?

    While we all have MacBooks in this forum most of us don’t use iCloud. There's an iCloud Support Community where everybody uses iCloud. You should also post this question there to increase your chances of getting an answer. https://discussions.apple.com/community/icloud/icloud_on_my_mac

  • Since the os7 update on my iPad, my safari is not right, it only opens one page at a time, crashes when trying to open more, it has no back button. Help

    Since the os7 update on my iPad, my safari is not right, it only opens one page at a time, crashes when trying to open more, it has no back button. Help

    Well, I rebuilt the entire workbook... that was a few months ago and so far, the problem hasn't resurfaced. It really wasn't fun to do, but whatever glitch there was in the file, I eliminated it.
    I think I should mention that I am using Office v.X, NOT Office 2004. I got a new Intel iMac this week and yesterday when I opened up my files, it opened up the test drive (a JOKE of a program if you ask me) Anyway, some of the very minor issues I had with Office v.X were solved in the 2004 version. (When opening up large multi worksheet files without Excel being already opened, the tabs have white text) Anyway, I am still going to wait for the universal version to come out, but it seems that the newer versions may have fewer glitches (as is to be expected)
    At any rate, best of luck to you!

  • Aperture 3 keeps crashing on me, consistently. More frequently after using Burn tool or skin smoothing - and even more often when I feather. What can I do? I already upgraded my RAM. I'm at a loss!

    Aperture 3 keeps crashing on me, consistently. More frequently after using Burn tool or skin smoothing - and even more often when I feather. What can I do? I already upgraded my RAM. I'm at a loss!

    4) When my computer crashes, once it starts again, it says "repairing" ... but I am not familiar with reparing permissions -- can you explain how I might do that?
    If you are running OS X Lion, then you can restart your computer and then press and hold the 'Option' key immediately after you hear the start up 'gong' (usually heard when grey screen shows as it restarts).
    You should see at least two Disks to choose from. Choose 'Recovery Disk' and wait for it to load, then choose 'Disk Utility' option in the Utilities dialog.
    Once Disk Utility loads, do the following:
    1 - In the left hand pane, choose your system partition (usually called either 'Macintosh HD' or 'Macintosh SSD'). Note - don't choose the actual hard drive listed above the partition when using Disk Utility in OS X Lion as this doesn't offer options for repairing due to it including the Recovery Disk you have loaded in memory.
    2 - Click the 'First Aid' tab
    3 - Click the 'Repair Disk Permissions' button in lower portion of main pane and allow to complete. Ideally, you will get a final message in main pane saying Disk Permissions are repaired.
    4 - At lower right of same pane, click the 'Repair Disk' button and allow to complete. Ideally, you will get a final message indicating that Disk Repair is completed and all appears to be good.
    5 - Quit Disk Utility > Close Utilities dialog window > Click 'Restart' button (confirm as needed).
    You should boot straight into the system partition when complete.
    Note - any red text in the main pane text while running the repairs will be issues and you will need to follow the advice given or post back.
    If you are running Snow Leopard; then (as David mentions) boot from your first OS X reinstall disc and run the Disk Utility the same way; except you select the actual hard drive listed at top of left pane (not the partition below it). This is because Snow Leopard does not use a 'Recovery Disk' partition and repairs can be run on the HD or SSD itself.
    Hope that helps.

Maybe you are looking for

  • Loading services problem

    Once I start the server in the Server app, it just stays there waiting loading the services and doesn´t load them. It happens the same with the server admin app, once I tell it to connect to my server, the login window asking for the user and passwor

  • Scattered text reading pdf on Mac

    I've just opened a pdf bank statement online which to my horror displayed as scattered letters all over the page.  I'm using Mac OS X 10.6.8. I'm not sure what to do - I tried downloading Adobe Reader again but didn't have any luck, I think I messed

  • Is there any spinControl in Java? If not how can i create it. Thanks in adv

    I need a controller which will increment and decrement the integer value in the textField. Just like the spin control of printdialogbox of word or netscape. How can I create it?

  • Need BADI for Qty validation on CRMD_ORDER

    Hi, I want to do a validation for qty which is entered on line item for certain item categeries on CRMD_ORDER transaction , and give error message. I want to do this on Create/Change of a sales order. I'm thinking that we can do this in ORDER_SAVE Ba

  • Yet another 8006 error when downloading podcast episodes

    Hi all, my podcast just stopped working today. I used to have a PHP-wrapper, and all mp3-files were handled by it. This allowed me to track the number of completed downloads instead of started ones. Well, this didn't work when somebody tried to downl