How often should a database archive its logs

Oracle 9i, Windows 2003
Our production database archives logs every 2mins and retaining those logs is becoming a problem, I was wondering if its healthy for a database to archive log evry 2mins and if not what do i need to do.
thanks in advance

I did see the link you posted earlier and it doesn't say very much, does it? Apart from
(1) big logs don't affect LGWR performance
(2) small logs will cause extra checkpoints to take place apart from those you wanted to take place by setting FAST_START_MTTR_TARGET
Well, taken together, both those points mean big logs are good news and small ones aren't. Which is exactly what I said above!
Unfortunately, you've completely missed the actual point I was making. It had nothing to do with "recovery time being a concern" nor with 100M being 100M and taking the same amount of time to apply.
It was actually point (2) above. I want logs big enough not to cause rapid log switching. But I have bulk loads. Therefore, I have to have ENORMOUS logs to prevent rapid log switching during those times. In fact, on one database I am connected to right now, I have 2GB redo logs which nevertheless manage to switch every 8 minutes on a Friday night. You can imagine the frequency of log switches we had when those logs were originally created at 5MB each! And the number of redo allocation retries...
Personally, I'd like 8GB logs to get it down to a log switch every 30 minutes or so on a Friday night, but with multiple members and groups, that's just getting silly.
But now I have an enormous log that will take forever and a day to fill up and switch when I'm NOT doing bulk loads. Ordinarily, without a forced log switch, my 2GB log takes 3 days to fill up.
If I were to have a catastrophic hardware failure, I could lose my current redo log. FAST_START_MTTR_TARGET can't do anything to ameliorate that loss: flushing the dirty buffers to disk regularly doesn't protect my data, actually. In fact, there is no way to recover transactions that are sitting in the current redo log if that log is lost. Therefore, having an enormous log full of hours and hours (in my case, about 72 hours'-worth) of redo is a massive data loss risk, and not one I'm prepared to take.
Therefore, ARCHIVE_LAG_TARGET allows me to have huge logs to deal with (2) above, but not to have more than half an hour's data at risk from total loss.
I know why the parameter was invented. I can understand the word "target" in its name, after all. But the WAY it achieves its design goals is simply to force log switches. And forcing log switches is a good thing for everyone to be able to do, when appropriate, even if they're not using Data Guard and standby databases.
You are at liberty, of course, to keep on reserving your opinion, but in this case it's ill-informed and missing the point: loss of the current log is not nice and regular log switches means the effects of that unlikely event happening are completely predictable and (importantly) containable.
That's just one advantage, not "loads". But it's a huge one.

Similar Messages

  • How often should the Cisco 6509 and 3750 switches be rebooted? Does Cisco have a best practice recommendation?

    How often should the 6509's and 3750's switches be rebooted?
    Does Cisco have a best practice document on this and recommendation how long the switch should be up before it gets rebooted?
    Why is a reboot needed if there are no indications of issues on the log?

    I'd agree with Larry here.
    If you're not seeing any issues with your IOS revision and there are no relevant PSIRTs (security notices applicalble to features and or exposure of your device requiring an IOS upgrade) then you can go a very long time without rebooting, if ever.
    I'm sure it's far from a record, but our corporate distribution router that supports >1000 downstream devices day in and day out has never been rebooted since installation just over 5 years ago. I have a top of rack Layer 2 switch (2900 series running CatOS) that's almost at 10 years.
    That said, you should have some monitoring scheme that assures you everything is healthy. But as long as memory and cpu are happy, the device will run forever.

  • How often should you do the maintenace cron scripts??

    Hi all,
    As the subject suggests, I just like to know how often should you run those maintenace cron scripts???
    thanks...
    Johnny
    * I don't know if this is the place for this question, if not, then I am sorry. *

    macuserguy,
    You may find Dr. Smoke's excellent FAQ about Running the Mac OS X maintenance scripts helpful.
    The FAQ suggests approximately weekly basis (especially if your Mac is shutdown or in sleep mode overnight) though perhaps more frequently if you have a smaller HD as these log files can take up alot of room.
    Hope that helps some,
    littleshoulders [:-)

  • How often should I charge my new macbook pro with retina display?

    hi everybody! I just got my macbook today and I want to take good care of it so it lasts me a while, and I'm particularly concerned about the battery life. what ensures that I can maintain a battery that will drain the slowest? or in other words, what are healthy charging habits? I'm a student so I'll be using it more than  a few hours daily. should I turn off my macbook or set it to sleep when I'm going to sleep for the night (~6 hours). is there ever a time when sleep is preferable to shut down? when I'm using it for an extended period of time, is it better to run it down and charge it or to leave it charging at 100%? how often should I run down the battery, or if not, what level should I run it down to before charging it again? I read somewhere that it's best to charge it to 80% instead of 100%, is there any truth to this? any input is appreciated, thanks.

    Here you go: https://www.apple.com/batteries/maximizing-performance/#macbook, and here: http://apple.stackexchange.com/questions/61401/how-to-maximize-macbook-pro-retin as-battery-life-when-working-with-ac-power, and of course this: http://forums.macrumors.com/showpost.php?p=9875442&postcount=23 (:

  • How often should I condition the Raid?

    Can someone help me understand what this does and how often should it be done.
    Why wasn't an automated feature added to do this periodically?
    Can bad things happen when you condition an array?
    Thanks,
    Jorge

    FWIW I have never conditioned any of my arrays, and I have 16 of them, all of which have been running 24/7 since they day they were each installed. I've never even thought about doing it.

  • How often should the SMP server get restarted? Cockpit message "Restart Required!"

    How often should I restart the SAP Mobile Platform server? I have received a message in the SMP Management Cockpit that states "Restart Required!".

    Hi Darrel,
    Batish is right there is no need to restart server unless you change specific settings that need a restart. Ex. cache settings. You can find an "i" symbol next to these fields which need a restart if you change these values.
    Also server restart is needed if you change any config files ex. admin-role-mapping.xml.
    Are you able to reproduce this issue. Could you give a screen shot of this issue. What is the version of server?
    Regards, Midhun
    SAP Technology RIG

  • How often should you shut your phone off?

    How often should you shut your phone off?  I always heard they were like computers and shouldn't be shut off very often but I wasn't sure.

    never

  • HT1430 how often should you turn off your ipad and iphone 4

    How often should I turn off my Iphone 4 and Ipad 2?

    Vanjan22 wrote:
    How often should I turn off my Iphone 4 and Ipad 2?
    As often or as rarely as you like.

  • How often should you update your ipod?

    How often is it recommended to update your ipod?

    Well usually ipod touches will give you the option when itunes detects a new version and you plug it into your computer. its always nice to stay up to date

  • How often should I charge MBP Retina 13 (mid 2014)?

    Hi,
    I didn't find an accurate answer for this question over the Internet, so I think I need a specialist opinion. As all we know, MBP batteries are not easy removeable, thus we should care about them more. I work on MBP for whole days, thus sometimes I need to charge it even twice a day. Charging once a day is a standard for me.
    My ordinary (daily) charging looks like that:
    (I have fully charged MBP)
    1. I work until the battery level decreases until about 8%.
    2. I charge it to 100% and unplug it from the power source.
    And I do this every day. Should change my charging customs and use a power supply instead more often (if yes, how often?) or not. I know how to care about the battery, about fully charge and discharge once a double week. Usually when working on a non-Mac notebook and I just removed the battery and used the power supply for whole day. Now it's obviously not possible becauses of loosing power cycles.
    Please answer and thank you.

    As Esquared said, it is not good to drain your battery down to 8%. You will wear it out quicker that way.
    Leaving the charger plugged in permanently is not a good idea either. The 95% to 100% you mention is when you leave the charger plugged in and it will drop about 1 percentage point a day even when the computer is shut down until it reaches 95% and then start recharging up to 100%. This will keep your cycle count low but is not good for the battery in the long run as it need to "breathe" so to speak.
    Seeing that you use your computer so much, you must expect the battery life to run out accordingly, so don't worry too much about cycle count. About once a month or every three weeks or so, unplug the charger and let the battery go down to 40 or 50 percent of charge remaining then plug it back in. This should keep your battery reasonably fit.

  • How often should I charge it?

    I have heard that if you charge it often like every day and you only use a little battery for that charge it will create a 'memory' and will affect battery life. So my question is should i charge it nightly or only when the battery is low

    here is some very good battery information
    http://docs.info.apple.com/article.html?artnum=60970
    http://docs.info.apple.com/article.html?artnum=61475
    http://docs.info.apple.com/article.html?artnum=62018
    http://docs.info.apple.com/article.html?artnum=304681
    http://docs.info.apple.com/article.html?artnum=61127
    http://docs.info.apple.com/article.html?artnum=61434
    KoDor

  • How often should I recharge the batte

    I'm disappointed with the fact that every single thing you do with the Nomad Xtra seems to cause extra drain on the battery - change the volume, change the track, use or disable EAX, and so on. Be that as it may...
    Is it okay to recharge the battery every day, no matter how much "juice" is left in it's Some say yes, some say wait till there's one bar left, some say wait until it's completely drained.
    By the way, I returned the 40GB Nomad Xtra, the battery question being one of the reasons. I currently have a GB flash player, but I might return that (the controls are weird and difficult to use), and I might get another Nomad Xtra instead (ironically, the removable battery was the final selling point in convincing me to go Creative the first time around). If I do go back to the Nomad Xtra, I want to be a more informed consumer.

    What I plan to do is let the battery drain, or at least wait until there's only one bar in the battery indicator. The second or third time that happens, I'm going to start making it a habit of re-charging the battery on a pretty much daily basis. How does that sound, is that okay?
    Really the 2 or 3 charges at the beginning aren't even necessary. When you get the player, the first thing to do is charge it fully. After that it is better for the battery life to shallow charge. I wouldn't worry too much though about how you charge the battery, unless it's really important to you.
    I do have one concern, however... when I start re-charging the battery every day I plan to let it re-charge overnight. On the surface, that seems to go against the advice given on page C-6 in the User's Guide, in the "FAQs and Troubleshooting" section:
    <EM>"Should I leave my player plugged into the AC adapter?</EM>
    <EM>"No, you should not. After charging the battery or using the player, disconnect it from the AC power adapter. Leaving it plugged in leads to heat buildup, which is not good for the player or the battery."</EM>
    Any advice, comments or whatever?
    It's just some incorrect comments in the manual. Any charging battery will generate a little heat. The Lithium Ion batteries that the Xtra uses don't generate much heat, and once the charge has finished the charging circuit turns off. Therefore no heat buildup will occur, and the battery will not continue to charge.
    The only issue is that if you leave a mains adapter plugged into the wall, the mains adapter itself will continue to use electricity whether it's plugged in to charge the Zen or not. So for the good of the environment and your electricity bill you might want to turn off the wall socket or remove the mains adapter from the wall.

  • How often should DBMCLI be run on our production XI system???

    Good morning, XI Experts.
    Our consultant setup this job to run weekly on our XI 2.0 system.  Problem is that during the 4-5 hours that this job is running our polling adapters experience HTTP 500 Timeout errors and no data is able to be input into XI.  We scheduled this job to run during off-hours but recently our production facilities have started working extended hours and we need to have the system available.  I've included the joblog from this job at the bottom of this post.
    Can anybody tell me exactly what this job does and whether or not we can schedule it less frequently???
    Thanks,
    Chad
    ============================
    Job log overview for job:    DBA:VERI____________@113000/7007 / 13492001
    Date       Time     Message text
    07/29/2007 11:30:37 Job started
    07/29/2007 11:30:37 Step 001 started (program RSDBAJOB, variant &0000000000008, user ID SPGMR22)
    07/29/2007 11:30:38 Execute logical command DBMCLI On host sapxiprd1
    07/29/2007 11:30:38 Parameters:-d XIP -n sapxiprd1 -uUTL -tpi XIP -tpp
    sapxidev1\sapmnt\trans\bin\TP_DOMAIN_XI1.PFL -tpc XIP util
    07/29/2007 11:30:38 _execute verify
    07/29/2007 16:03:43 OK
    07/29/2007 16:03:43 Job finished

    Another question:
    When loading data, our process chains do the following steps, in this order:
    1. Delete indexes
    2. Load data (full load)
    3. Create index
    4. Construct DB statistics
    5. Delete old request
    6. Rollup aggregates
    Does this order makes sense? It seems to me that you'd want to delete the old request first, then create the index and construct DB stats.

  • How Often Should a Server be upgraded?

    They might be getting at the tail end of the life of that box or it could run for 5 more years. It is all about risk management. Do they have good backup? Is this a low-end box or something like and HP or Dell that is still being warrantied? How long would it take to recover this system if it died unexpectedly? You might want to consider virtualization as the next step for them. It is better to plan a system replacement than to have to do it during a failure.

    Good question, and you'll get a lot of different answers.
    We aim for 5 years on a server. That can be more, or less, depending on business needs that change, or technologies that change. 
    In the past, we've changed based on needs of more resources.
    Now, with virtualization, you can pack more 'servers' onto one piece of hardware. We replicate virtual servers to a pair of physical servers, so switching for maintenance, or upgrades isn't as painful as it once was...
    If I was you, I'd look at swapping soon, not for the age of the server, but for the fact that 2012 R2 gives some really great Hyper-V virtualization benefits that will help the organization, and you, as the person servicing this. Depending on reliability needs, you might think of a pair of servers to allow for replication.

  • How often should I have to Sign In?

    Hi all
    I have Photoshop CC (as part of the Photography Program). I thought I should only have to "Sign In" once every 30 days or so?
    So far I am having to Sign in at least a couple of times a day sometimes more.
    It isnt a huge problem at the moment as I have good solid internet access - But I wouldnt want to be in a situation where the internet is temporiarily down and I need to use the software.
    Cheers
    John

    Next time it happens close PS and then right click on PS icon and choose "Run as Administrator".  Sign in a see if it sticks.  Even it sole administrator this option gives you a little more permission leeway.

Maybe you are looking for

  • ITEM_CREATION_ERROR when using wwsbr_api.add_item

    308 on Sun Solaris : Here is my simple code : New_Master_Item_Id := wwsbr_api.add_item ( p_caid => 118, p_folder_id => 14489, p_display_name => 'title', p_type_id => wwsbr_api.ITEM_TYPE_FILE, p_type_caid => wwsbr_api.SHARED_OBJECTS, p_region_id => 5,

  • Image Burn????

    So if I have a Sony 57" Grand Wega HD-TV that has rear projection CRT, won't I get image burn from the hard drive icon and the menu bar? If the icon was animated it wouldn't be a problem and if I could hide the menu bar until I rolled over it, I thin

  • I mistakenly wiped my mac ox from my macbook and i'm struggling with getting it fixed or getting a new one to install.

    i mistakenly wiped my mac ox from my macbook and i'm struggling with getting it fixed or getting a new one to install. Can anyone help me?  thanks <Email Edited By Host>

  • IOS 5 no notifications no badges

    Hi, I'm using a iphone4 with ios 5. The problem I have is that non native apps like facbook and twitter don't get badges indication new messages and don't appear in the (drop down) notification screen. In systems settings I enabled notification cente

  • Dreamweaver CS6 Won't Open

    Get the following error: The procedure entry point ... could not be located in the dynamic link library dvaui.dll after install in Windows 7 64bit. Was working fine before. All other Adobe apps in Creative Cloud working fine. Please help