Retrieving time for default Btree and time sorted Btree

Hi all,
I am working on FreeBsd and Berkeley DB 4.5.20
I have 2 kind of Btree databases and I want to measure the time for sequentially retrieving of all records.
1. Btrees with fixed record size of 128 Byte
2. Btrees with variable record size of around 630KB
when I sort the order of the Db's by time (time is the key in my DB's) the retrieving time is much shorter, so i have a higher performance.
but when I see the statistics structures:
for the 1. group after sorting by time the internal page fill factor and leaf pages fill factor are like 94% or 98% and overflow ff is 0%. so I an understand that this result in a higher performance.
and i have a shorter retrieving time than before sorting by time.
but for the 2. group that means for variable large record sizes I have shorter retrieving time (higher performance) before sorting by time but lower leaf and internal page fillfactor. and after sorting higher leaf and internal page ff but longer retrieving time. and the overflow ff is before and after sorting 99%.
so I am confuse , because I thought the higher leaf and internal page ff the higher performance,
but this is exactly the opposite for large variable record sizes. is that because of the high overflow page ff?
I would appreciate if some could explain it to me.
Regards
soudi

hi Bogdan,
there are the statistics,
Btree with variable large record sizes:
53162 Btree magic number
9 Btree version number
Little-endian Byte order
duplicates Flags
2 Minimum keys per-page
4096 Underlying database page size
2 Number of levels in the tree
357 Number of unique keys in the tree
1165 Number of data items in the tree
1 Number of tree internal pages
3930 Number of bytes free in tree internal pages (4% ff)
8 Number of tree leaf pages
11064 Number of bytes free in tree leaf pages (66% ff)
0 Number of tree duplicate pages
0 Number of bytes free in tree duplicate pages (0% ff)
180832 Number of tree overflow pages
1641148 Number of bytes free in tree overflow pages (99% ff)
0 Number of empty pages
0 Number of pages on the free list
it took 35.77492 seconds.
average data.size : 630KB
sorted Btree with variable large record sizes
53162 Btree magic number
9 Btree version number
Little-endian Byte order
Flags
2 Minimum keys per-page
4096 Underlying database page size
2 Number of levels in the tree
1165 Number of unique keys in the tree
1165 Number of data items in the tree
1 Number of tree internal pages
3600 Number of bytes free in tree internal pages (12% ff)
13 Number of tree leaf pages
1650 Number of bytes free in tree leaf pages (96% ff)
0 Number of tree duplicate pages
0 Number of bytes free in tree duplicate pages (0% ff)
180832 Number of tree overflow pages
1641148 Number of bytes free in tree overflow pages (99% ff)
0 Number of empty pages
0 Number of pages on the free list
it took 77.556531 seconds.
average data.size : 630KB
Btree with fixed short record sizes
53162 Btree magic number
9 Btree version number
Little-endian Byte order
duplicates Flags
2 Minimum keys per-page
4096 Underlying database page size
2 Number of levels in the tree
4141 Number of unique keys in the tree
1347892 Number of data items in the tree
3626 Number of tree internal pages
14M Number of bytes free in tree internal pages (3% ff)
161 Number of tree leaf pages
416126 Number of bytes free in tree leaf pages (36% ff)
48079 Number of tree duplicate pages
15M Number of bytes free in tree duplicate pages (92% ff)
0 Number of tree overflow pages
0 Number of bytes free in tree overflow pages (0% ff)
0 Number of empty pages
0 Number of pages on the free list
it took 87.89131 seconds.
data.size : 128Byte
sorted Btree with fixed short record sizes
53162 Btree magic number
9 Btree version number
Little-endian Byte order
Flags
2 Minimum keys per-page
4096 Underlying database page size
4 Number of levels in the tree
1347892 Number of unique keys in the tree
1347892 Number of data items in the tree
560 Number of tree internal pages
31078 Number of bytes free in tree internal pages (98% ff)
58604 Number of tree leaf pages
17M Number of bytes free in tree leaf pages (92% ff)
0 Number of tree duplicate pages
0 Number of bytes free in tree duplicate pages (0% ff)
0 Number of tree overflow pages
0 Number of bytes free in tree overflow pages (0% ff)
0 Number of empty pages
0 Number of pages on the free list
it took 22.453395 seconds.
data.size : 128Byte
my problem is why is unsorted Btree with variable large records faster dann the sorted, while the page fill factor is by sorted btree higher.
thanks
soudi

Similar Messages

  • Can I use my creative cloud account at the same time for my iMac and my MacBook?

    Can I use my creative cloud account at the same time for my iMac and my MacBook?

    Thank you Sheena!!
    Guy
    Op 2-jan.-2015, om 12:16 heeft Sheena Kaul <[email protected]> het volgende geschreven:
    Can I use my creative cloud account at the same time for my iMac and my MacBook?
    created by Sheena Kaul <https://forums.adobe.com/people/Sheena+Kaul> in Adobe Creative Cloud - View the full discussion <https://forums.adobe.com/message/7059158#7059158>
    Hi Guy Heyligen,
    Absolutely. You can use the creative cloud account on two machines.
    You may also refer to the link below:
    Creative Cloud Help | Creative Cloud / Common Questions <http://helpx.adobe.com/creative-cloud/faq.html>
    Regards,
    Sheena
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7059158#7059158 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7059158#7059158
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Creative Cloud by email <mailto:[email protected].com> or at Adobe Community <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=14&container=46 70>
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624 <https://forums.adobe.com/thread/1516624>.

  • User login report in Active Directory for specific date and time

    I want to get User login report in Active Directory for specific date and time e.g user logged in at15-01-2015 from 8:00am to 4:00pm
    Is any query, script or any tool available?
    Waiting for reply please

    You can identify the last logon date and time using my script here: https://gallery.technet.microsoft.com/scriptcenter/Get-Active-Directory-User-bbcdd771
    If you would like to get back in time and see when the user did a logon / logoff then you need to have auditing enabled. Once done, you can records from Security log in the event viewer: https://social.technet.microsoft.com/Forums/windowsserver/en-US/98cbecb0-d23d-479d-aa65-07e3e214e2c7/manage-active-directory-users-logon-logoff-events
    I have started a Wiki about how to track logon / logoff and it can help too: http://social.technet.microsoft.com/wiki/contents/articles/20422.record-logon-logoff-activities-on-domain-servers-and-workstations-using-group-policy.aspx
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • My sons iPod touch stopped working, it won't charge in a docking station and the computer/itunes won't recognize it when connected.  We have tried holding the power and home button at the same time for several seconds, and the screen still stays black

    My sons iPod touch stopped working, it won't charge in a docking station and the computer/itunes won't recognize it when connected.  We have tried holding the power and home button at the same time for several seconds, and the screen still stays black.  Thanks!

    Hello skdog I possibly think your ipod touch is black because it has not charged. If your dock is broken it might just mean the dock will be broken and so might be the USB port. You should see an Apple shop nearby and hand it over and see what they can do. I hope this information works!

  • The time for transit, transportation lead time and loading time of the mate

    Dear Friends,
    Please mail to me, where should I give the time for transit, transportation lead time and loading time of the material at the ware house.
    This is at the time of Transportation scheduling, for a specific material.
    With regards,

    i am giving u the exact & specific answer.
    please follow the menu path in SPRO
    IMG, Logistics execution, shipping, basic shipping functions, scheduling, delivery and tranportation scheduling, maintain duration,
    In that screen, maintain the settings
    Hope it answers
    Do reward points if it is useful

  • HT1212 Every time i try to turn on my Ipad the only i can see the the date and time for a second and them the screem goes off again !

    I have an Ipad 2 /. Everytime a push the bottom to turn it in the screem shows the time for a second and the screem goes black again
    what can I do ??

    Are you sure it's charged?
    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • My iphone 4 locked up for several hours. i then tried to reset by holding down the home button and power button at the same time for 10 seconds and then the home button for 10 seconds. it is now completely black. what do i do? couldnt restore it in iTunes

    My iphone 4 locked up for several hours. i then tried to reset by holding down the home button and power button at the same time for 10 seconds and then the home button for 10 seconds. it is now completely black. what do i do? couldnt restore it in iTunes. Has anyone had this problem? Help!

    Same thing happened to me today. I wasn't even using the phone for the past 6 hours and suddenly I can't connect to the internet, none of my internet apps would work - nothing. I tried to call AT&T from the iphone and it locked up - couldn't turn it off, change to the home screen - nada - brick.
    Did the Home/Power button thing and that worked but this I've only had this phone for about 4 weeks and it's locked up more times than my 3GS did the whole two years I had it! Ridiculous

  • 39L4363D - Unable to set padding time for recording start and end time

    Hello,
    I have a problem with my 39L4363DG tv (Software 7.1.90.34.01.1).
    I'm not able the set padding time for recording start and/or end time as described in the [manual|http://www.toshiba-om.net/LCD/PDF/English/L4363-323950-English.pdf] on page 51. Both menu item "start padding time" and "end padding time" are disabled?
    Can anyone help me and give me an advice on how to solve it?

    Hi
    The padding time can be set for programmed recording.
    There is also an scheduling priority
    If scheduled time slots are next to each other and there is more than one minute between the end time of the first schedule and the start time of the next schedule, programmed recording will be performed correctly.
    When +Start Padding Time+ and +End Padding Time+ are set, the start time and end time will be the time plus the additional minutes.
    If scheduling times overlap, priority will be given to the programmed recording which starts first.
    When the programmed recording that started first ends, recording will switch to the next scheduled programme.
    At this time, depending on how far the scheduling times overlap, the beginning section of the next scheduled programme may not be recorded.

  • TS2771 My daughters iPod touch does not turn on even after hooked up to charger for over 24 hours. Tried to hold the power button and home button at same time for 10 seconds and still did not turn on.

    My daughters iPod touch does not turn on even after hooked up to charger for over 24 hours. Tried to hold the power button and home button at same time for 10 seconds and still did not turn on.

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              

  • Using an external HD for both storage AND Time Machine?

    Bear with me guys, I'm not sure where to put this question. I figured that because my Macbook Air (and it's limited storage space) was the reason for my needing an external HD I thought this would be the best place.
    My MBA has run out of storage and I bought a Seagate External HD to move my stuff onto. I guess my question is: What's the best way to combine the external HD with the MBA? Here are a few of the things on my mind:
    -Most of the space is taken up by my user folder right now such as itunes, photos, etc. If I copy that folder to the external drive it would alleviate a large part of my issue, at least for the time being. Eventually I will hit the storage capacity as I add applications over time I guess, so this is a temporary solution (although I free up 27gb of space this way). Can I designate a folder on the external drive as the default for programs like imovie and iphoto like I can with itunes?
    -I KNOW there is a way to set the external drive as some kind of default drive but is this feasible? It would be a hinderance if I needed to have it connected at all times to access even applications (which I assume to be the case?
    -I also wondered about partitioning the external HD and using one partition for additional storage and the other for time machine? It's a 1TB hard drive, and I figure I could make a 100GB partition to use with time machine (my MBA only has a 64gb capacity) and use the other 900GB for files. Is this even possible or does time machine need it's very own separate drive?
    Anyway, this doesn't necessarily ask many specific questions and I apologize if it appears a little disjointed. I'm looking for help and opinions on the best way to use this new piece of equipment to compliment my MBA. Any thoughts are appreciated.

    While it is possible to partition an external drive and use one partition for files and the other for Time Machine, there's actually very little point in doing so. The reason is that in your scenario, you'd be storing all your files on the external, meaning that pretty much all there would be on your MBA internal drive is MacOS and your applications - the very things you can easily restore in the event of failure - while all your files would be on the external, where they are not being backed up.
    It is also possible to use an external drive as the boot drive for the MBA (easiest done by cloning the internal drive to a partition on the external, and then setting that partition as the startup drive in the Startup Disk preference pane) but that would still require you to wipe at least some of your files from the internal, and mean that the contents of your external drive are not being backed up. It would also mean that your MBA would run pretty slowly when booted from the external.
    Rather better, in my view, would be to use the external as the primary store for all non-essential files - your complete iTunes library and all your documents, files, video, photos etc, and then copy back to the MBA just those items you actually need for any day or week's activities. Then get a second external to use for backing up the first!

  • I have been charged 3 times for student premium and am still on free.

    I have been charged 3 times for student premium when it says I can't be verified that I am a student even though I manually sent it in 2 hours ago and still haven't gotten anything back from spotify. I've checked email and spam and have emailed them again and hour ago and still nothing but I still lot chanrged...why?

    Hey there , welcome to the community!
    If you contact Spotify through online contact form, they will be able to sort out these multiple charges and see what's going on with the student verification. Once you send in the form, you should receive a reply from them within 24-48 hours. If you need any further help, let me know! :)

  • For the last week or three Firefox refreshes two or three times for each refresh, and sometimes for no obvious reason..

    For the last week or three Firefox refreshes two or three times for each refresh. Sometimes it refreshes for no obvious reason. For instance, I'll be in the middle of typing into a forum's post block & it refreshes. Or filling out an online form. Or simply viewing a page.

    You can check for issues caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How can I remove all or part of the information in headers and footers? For example, date and time of printing.

    I cannot find where I can suppress the printing of the date and time of printing or if I want a header and/or footer at all.

    If using the traditional menus, in the File menu select Page Setup
    If using the orange Firefox button, click on it, then select Print and then Page Setup
    Once you have the page Setup dialog displayed, go to the "Margins & Header/Footer" tab. You need to change all of the options for header and footer to "--blank--"

  • My ipod touch is stuck in connect to itunes screen. I've tried to press Power and Home button at the same time for 10 seconds and all it does is go to a black screen. Press power button again and the usb cable with an arrow towards an iTunes logo.

    I have a brand new Ipod touch with front facing camera. Not sure which generation it is. My wife connected the iPod Touch and chose the restore option when connecting to iTunes. It was a mistake and by the time I got there, I saw the screen with USB cable with an arrow facing towards iTunes logo. I cannot get the iPod out of this state.

    Try here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    Also reset the iPod.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.

  • I  was billed four times for $8.98 and I do not  know why

    I logged on to iTunes 9/192013 and had to update my billing info. I updated Netflix and downloaded 2 free game apps. My iTunes account lists no charges.
    However, when I checked my bank statement online I saw that iTunes had billed me four times for $8.98 on 9/1/2013 (listed as pending charges). Today, 9/3/2013 one of those pending chages was paid on 9/2/2013 and the other three were still pending.
    I did not authorize any charges that day.
    How do I contact iTunes billing about this? The phone number on my bank statement only refers me to this website: apple.com/support/cc.
    Why did this happen and how can I get my money back?

    You've checked the purchase history on your account via the Store > View Account menu option on your computer's iTunes, and have you got any auto-renewing subscriptions ?  If you can't find the charge, or don't recognise it, then you can contact iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

Maybe you are looking for

  • Spry Accordion just stays open in IE8

    I'm using Spy 1.6.1 and Dreamweaver CS5.  The Spry Accordion menu on the left side of my page looks funky in IE and it's absolutely kiiiiiilling me. ~o~ On a PC using IE8 the panels all begin in the open position at first load and won't close no matt

  • Clone of a VM does not propogate network interfaces

    Hi, I am looking for a help. When I am cloning a VM, I am seeing that network interfaces are not getting propogated to the new cloned VM. I am using B200 M2 blades. I am cloning a VM with RHEL 6.3. Appreciate any help on this. Thanks, Santhosh

  • HT204053 Can't get rid of old ID from previous owner when need upgrades from APP Store?

    My son set up his acct when he download most of the APP Store, few months later I downloads few more in his name till his ID doesn't work, so I decide to change into my name in acct, however when the APP show need upgrade those games etc.. Still auto

  • Contact Data Retrieved Using an ADODB Connection Missing UserProperty Data

    After considerable wailing and gnashing of teeth and a prod received here, I've managed to create a VBA procedure to load a userform listbox with OUTLOOK Contact Data using an ADODB connection string: https://social.msdn.microsoft.com/Forums/office/e

  • Keynote export changes red to orange

    When I export my Keynote presentation to a Quicktime file all objects and text colored RED (255,0,0) change to orange in the resulting .MOV file.  I'm exporting with Fixed Timing at Full Quality, 24 fps, no transparency. Is anyone else seeing this pr