Does DB compact help performance

We have DB where there have been heavy create/delete and read traffic. The DB XML stores around 1.4 million xml documents around 4/8k in size.
The DB XML file has grown to be around 24 gigs.
I understand this is a DB forum but the question seems generic.. given that the DB is a sparse file.. does DB compacting help performance?
We are seeing latency times raise up quite high periodically (potentially correlated with checkpointing).
What kind of information should we collect from the running environment to help deduct the impact of checkpointing on such a DB file?

Using DB->compact can help the performance of any database that has been heavily updated. It will attempt to move data to a smaller number of pages in the database. This will make database page cache more efficient. DB->compact may be run while other activities are happening in the database but it is a heavy weight operation, reading all of the database and updating many pages, so it is recommended that it be used at a time when you have less other activity.
A checkpoint will schedule all dirty pages in the cache to be written to disk. This can certainly slow things down if you have many dirty pages. Using the utility db_stat -m will show you the activity in the page cache. It does not directly show you the impact of a checkpoint but will tell you how many pages have been written to disk. You can use db_stat -mZ to reset the statistics prior to a checkpoint to see more clearly what happens during the checkpoint.
To spread out the effect of the checkpoint you can run a trickle thread (see http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/memp_trickle.html ) which will write pages to disk between checkpoints.
Michael Ubell
Oracle

Similar Messages

  • Does adding RAM really help performance?

    My iMac 1.8 GHz G5 is about two years old and starting to run slowly. Could it be the 10,000 photos and 6,000 songs? I've started using my MacBook for most work and my iMac for most play (i.e. media).
    Does adding RAM really help performance? I've only got one 512 MB chip.
    Thanks for any help.

    Hello,
    Yes, adding more memory can make a huge performance improvement.
    I've owned two iMac G5 systems. And, in both cases, I noticed a huge performance improvement jumping to 1 GB of RAM. And, while not huge, I noticed even better performance going from 1 GB to 2 GB of RAM.
    512 MB is minimal, and adequate. But, more memory makes OS X run considerably better.
    I hope this helps.
    Let us know if you have other questions.
    P.S., if you'd like, go ahead and click the "Helpful" or "Solved" buttons on any of the posts / replies above if you feel they were helpful or adequately answered your question.

  • Report Variable F4 help performance issue

    Hi,
    I have a BI report on DSO >> Multiprovider.
    When i choose F4 Variable help it takes around 2-3 minutes to display the data for selection.
    Currently XXXX chars is with -- Only Posted Values for Navigation. I have tried the below options but could not see any improvement in variable f4 help performance.
    -- Only Values in Infoprovider
    -- Values In Master Data table
    Could someone please suggest if you have faced the similar issue.
    Thanks
    Ashok

    Hello Ashok,
    Ideally you should never built a report based on a DSO, this is because it stores data at a line item level. The way the filter works is that looks at all records (SIDs) lying in the range of selection in the info provider and then displays the filter pane after it populates the records.
    There can only be 1 check in this case, is to check if your DB statistics are up-to-date. The DB statistics decide if an index is to be used or not. So check for the DSO active table and all related SID tables in transaction DB20. Check the date of creation of the statistics, if it's too much in the past, then the DB does not effectively use the indices and hence it takes time.
    You can use program RSANAORA to recompute the statistics.
    Regards,
    Ansel D'Souza

  • Virus Call "Online help - Perform System Maintenan...

    I received a skype call from "Online help - Perform System Maintenance" and when I answered the phone, it was a computerized voice that started discussing that my computer, which happens to be a mac, is not running "very well." Is there a way to drop a virus through a Skype call? I quit and restarted Skype. How do I block this number/caller? I have Sophos anti virus on the my mac, but maybe this is a skype only virus...or something designed for windows. Very odd. Can anyone assist?

    This is a known scamming.
    To avoid receiving any Calls like this, you can adjust your privacy to, Change Allow Calls from... "anyone" to "people on my Contact list only".
    http://community.skype.com/t5/Windows/Does-anyone-know-what-quot-sys-help-bn3-quot-is/m-p/967658#M71...
    You may also block and report the scammers.
    https://support.skype.com/en/faq/FA10488/how-do-i-block-or-report-a-contact
    Regards,
    Tamim
    Location - Dhaka | Bangladesh - Standard Time Zone: GMT/UTC + 06:00 hour
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • Youtube not opening in Safari browser. However it works with google browser. There is a red arrow coming, with https in you tube, and the page just does not open. help required.

    youtube not opening in Safari browser. However it works with google browser. There is a red arrow coming, with https in you tube, and the page just does not open. help required.
    It seems I have done some mistake when you tube was open, and i stopped one site to delete!
    From then on it is not working.
    Any solutions?
    GV Joshi

    Hi gajanan vasant!
    I have a couple of articles for you that should help you troubleshoot your issue with Safari. First, you may want to try a reset on Safari by following the procedure listed in this article:
    Safari 5.1 (OS X Lion): Reset Safari
    http://support.apple.com/kb/PH5043
    If you are still having issues after resetting Safari, you may want to check out this article about third-party add-ons in Safari:
    Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
    http://support.apple.com/kb/TS3230
    Thanks for using the Apple Support Communities!
    Regards,
    Braden

  • Does any update help to install and run myFaces components?

    Hi.
    I have JSC trial. And didn't make update.
    I can't install myFaces component library. Why?
    Does any update help to install and run myFaces components, and other component library?
    Thanks.

    Hi,
    The following thread could be of help for you:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=48666
    Cheers :-)
    Creator Team

  • My ipod touch (generation 4) is not recognized by itunes. I've each time to reinstall itunes, it works few days and suddenly not without reason-only was is reinstallation-reset of ipod doesn't change something.does someone can help me please?

    my ipod touch (generation 4) is not recognized by itunes. I've each time to reinstall itunes, it works few days and suddenly not without reason-only was is reinstallation-reset of ipod doesn't change something.does someone can help me please?

    Wow the customer service is even worse. Does Apple want me to go around jailbreaking my iPod now so I can use something that actually recognizes my product?

  • I have imported contacts from Outlook to Mail and they have synced via iCloud to my iPhone 3GS. I can't get my iPhone to make a call using these contacts but if I dial the number of any of the contacts on the keypad, the call DOES work! Help me please!?

    I have imported contacts from Outlook to Mail and they have synced via iCloud to my iPhone 3GS. I can't get my iPhone to make a call using these contacts (it tries but then says call ended) but if I dial the number of any of the contacts on the keypad, the call DOES work! Help me please - is there something I need to do to the contacts because tehy came from Outlook? Thanks

    Thank you for replying.    Yes I deleted the old email address..   

  • Every time I try to open Photoshop Elements 12, it opens the Adobe login, after I login the program does not open:( Help please?

    Every time I try to open Photoshop Elements 12, it opens the Adobe login, after I login the program does not open:( Help please?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • I purchased a new Windows 8 PC. I have used and continue to use Outlook 2010 for my calendar. With my old Windows 7 PC and Outlook 2010, my calendar sinked properly with my Iphone 5. Now with the new Windows 8 PC, it does not. Help!

    I purchased a new Windows 8 PC and I use Outlook 2010 for my calendar. With my old Windows 7 PC and Outlook 2010, my calendar would sync with my Iphone 5, but with the new Windows 8 PC and Outlook 2010, it does not, and I can't figure out how to snyc them. The emails from Outlook 2010 sync, but the calendar does not. Help! Thanks. 

    Easy solution for restoring lost calendar informaiton, thank goodness.  On your iPhone, go to settings, then to iCloud.  If your Calendar selection is turned off,  turn it on.  Your info should restore.  If your Calendar selection is turned on, then turn it off.  Choose to save calendars when asked.  After it shuts the Calendar off, turn it back on.  Your info should be restored.
    Thank you to Apple support for walking me through this.  Shame on you Apple for not just telling people about this easy fix rather than making us go through all of this pain and worry.
    - JT

  • I just downloaded itunes, and when i go to music there are two options. You can either go to the itunes store or scan for media, and when I click on scan for media it does nothing. Help?

    I just downloaded itunes, and when i go to music there are two options. You can either go to the itunes store or scan for media, and when I click on scan for media it does nothing. Help? (I tried deleting itunes and re-installing it but apparently itunes was still on my computer so it asked me if I wanted to just check and see if there were any issues or missing software, so I did that but i still had the same problem.)

    Hi jbserious,
    Welcome to the Support Communities!
    It doesn't sound like the iTunes software and its components installed completely.  The article below will walk you through some troubleshooting steps.  Is this your first time using iTunes, or do you have an iTunes library from another computer that you want to move to this one?
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/HT4527
    Adding music and other content to iTunes
    http://support.apple.com/kb/HT1473
    Cheers,
    - Judy

  • Does anyone could help with autoviewer-pro 1.3

    Does anyone could help with autoviewer-pro 1.3! Thing is that I want to use png images without background in autoviewer, I've tried everything all kinds of picture formats, alphas, gone through google, autoviewer forum.... but no answer how to do it. When I attach a picture in autoviewer galleryit...after it is still with white background in autoviewer flash!
    Can enyone helpe with avice.
    Thanks in advance!

    This post is from another topic but has to do with iPhone 4s unlock.
    ArnettH_VZW
    replied 11 hours ago
    Good morning frank-bao,
    In order for us to assist with unlocking your iPhone, there are some requirements that needs to be met. Please see below to verify that they are applicable to your situation.
    Must be a Verizon Wireless customer. Verizon Wireless only unlock devices for Verizon Wireless customers.
    The device being unlocked must be active on a Verizon Wireless line of service.
    The line of service must be active at least 60 days.
    The line of service must be in good standing for the past 60 days.
    Customer may only have one 3G SIM Unlock per line every 10 months.
    The customer's manufacturer's device warranty is not affected by a 3G SIM unlock as long as the customer remains with Verizon Wireless.
    If you meet all of these requirement then we can certainly unlock your iPhone for you, assuming that it's not unlocked already. To get this process started or to inquire on if your device is unlock then please reach out to our Global support team at 800-711-8300. If you are already or still out of the country then we can be reached at 908-599-4899. Let me know if there is anything else that I can do to help.
    Thank you...
    ArnettH_VZW
    Follow us on Twitter @vzwsupport

  • My station is listed on Itunes Radio stations, but there's a problem with the connection. Does any body help us regarding this issue? The station name is KRAL FM under the Top 40 / Pop category

    My station is listed on Itunes Radio stations, but there's a problem with the connection. Does any body help us regarding this issue? The station name is KRAL FM under the Top 40 / Pop category

    My station is listed on Itunes Radio stations, but there's a problem with the connection. Does any body help us regarding this issue? The station name is KRAL FM under the Top 40 / Pop category

  • HT201210 I downloaded iOS 7.0 on my 4s and it makes you set your phone up. I am doing that now, but am stuck at the "Rescue Email" I put in an email and hit Next and it does nothing! HELP

    I downloaded iOS 7.0 and it makes you set your phone up. I am doing that now, but am stuck at the "Rescue Email" I put in an email and hit Next and it does nothing! HELP

    I turned my phone off and turned it back on, I went through the whole process again of setting my phone up and it worked

  • I was updating my iphone ios suddenly battery was drain and itunes logo appears, how can i recover my file back? does anyone can help me...

    i was updating my iphone ios suddenly battery was drain and itunes logo appears, how can i recover my file back? does anyone can help me...

    Was your phone jailbroken?

Maybe you are looking for

  • Windows 8 Quick Solutions

    Windows 8 was released on October 26th for all to enjoy! Check out the below Frequently Asked Questions for more information and quick troubleshooting. 1. I've just upgraded to Windows 8 but I'm having a few problems. What's going on? When upgrading

  • How do i install reason 4

    I recently got a new Mac book pro for Christmas. It's running OSX 10.9. I was trying to install reason version 4 onto it.  When I insert the disk into my external disk drive the reason prompt comes up. I dragged both the reason icon and the sound ban

  • I did the software update ios 7 and now i cant hardly get wifi and my calls are being dropped.

    I did the software update ios 7 and now i cant hardly get wifi and my calls are being dropped.Can anyone help me?

  • Can we import any Materialized views (MV'S) in OBIEE 10g

    Hi guys, Could you please tell me is there any chance to import any Materialized views in OBIEE ? I am using obiee 10g RPD.or how to create MV'S In OBIEE.? What is use of MV in obiee? Pls reply to this .

  • Looking Forward to kickstart a career in LabVIEW

    I am a B Tech Graduate in Instrumentation (2008-2012) from Cochin University of Science And Technology (CUSAT),Kerala. I have a keen interest in NI labVIEW and associated products from National Instruments. I have experience using labVIEW as a softwa