Can Dbc::get() with DB_NEXT for DB_RECNO db as fast as DB_BTREE db?

My application stores all the user information in the data field and keeps an id for the record in the key field. In one scenario, the database is created as DB_BTREE, and in another, DB_RECNO is used. In both scenarios, the ids are 1-based and continuous, but in the DB_RECNO database, the rids can be changed.
Now, I am implementing an operation. That is, given a set of ids, find relevant records in the database. The id set is provided in ascending order and is so large that scanning the whole database and checking the key is faster than retrieving the records directly by the key.
The problem is like this. When using DB_BTREE, if I use Dbc::get() with DB_NEXT flag and check the key, the speed is two times faster than using Dbc::get() with DB_SET. I think this is because when searching with keys, BDB has to visit the internal nodes, which is not necessary if DB_NEXT is used. However, when using DB_RECNO, the speeds are almost the same for the two methods. Does this mean that for DB_RECNO databases, internal nodes have to be visited even to get the next record? Is there any method that can scan a DB_RECNO database as fast as scan a DB_BTREE database?

Hello,
I'm looking into this now.
Thanks,
Sandra

Similar Messages

  • Can I get OCR software for a 8600 plus with a mac??

    can I get OCR software for a 8600 plus with a mac??
    if so , how?
    This question was solved.
    View Solution.

    Hi,
    An OCR software i integrated within the HP Scan Software.
    Within the Applications folder locate the Hewlett-Packard folder and launch the HP Scan software.
    Once completing the scan you may select RTF or TXT files which will save the scan by processing OCR.
    If you do not have the HP Scan software installed be sure to install the following software by checking the HP Scan option during the installation:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=oj-125213-3&cc=us&dlc=en&lc=en...
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • I have an ipad2 with 3G Verizon  for use in India can I get Vodafone service for a month

    I have I pad 2 with WIFI and 3G Verizon . For use in India can I get Vodafone service for a month.

    The Verizon iPads are CDMA based, they don't use micro-sim cards unlike the AT&T models - they are different 3G technologies. I don't know whether there are any CDMA-based carriers in India, if not then you could try getting a mifi device and use a sim card in that to give you internet access on the iPad

  • TS3649 my mac (2012) did not come with idvd.where can i get this program for download?

    My iMac os lion 10.7.2 (2012) did not come with idvd program. Where can I get this program for download?

    Hi
    If there is no iDVD on Your Mac (and it's not on newer Macs as Apple discarded it) then You need a program that can do this.
    Your Mac can burn CDs and DVDs - BUT DVD as Data-DVDs not as Video-DVDs - they need a program to be encoded and STRUCTURED as such.
    • iDVD is part of the boxed version of iLife'11 and can only be bought outside Apple as on Amazon and e-bay
    • DVD Studio pro - Part of FinalCut Studio Pro bundle - this to has expired and can only be bought second handed. (High price and tough learning Curve - but best ever done.)
    • Roxio Toast™ - Not as elegant as iDVD - but has many other positive additions (I like it as 10-Pro incl BD-component) (now version 11)
    • Burn - a free alternative I know of on internet. Very simple - Just for doing a plain Video-DVD
    Burn http://www.digital-digest.com/software/Burn.html
    • Free DVD Creator.app - free from Apple Store
    • FinalCut Pro-X which also can burn to DVD but without any nice themes.
    AppleMan1958
    You can also buy Compressor from Apple for $50 US. It will also create DVD and BluRay but without the nice themes.
    Yours Bengt W

  • Hi everyone, not sure if this is the right forum to ask this question, however any redirect is appreciated. Where can I get the download for the latest old mozilla browser. The one with the dinosaur icon before the browser turned firefox. Thanks, Jen

    Hi everyone
    Not sure if this is the right forum to ask this question, however any redirect is appreciated. Where can I get the download for the latest old mozilla browser. The one with the dinosaur icon before the browser turned firefox. Thanks, Jen

    Phoenix and Firebird were what Firefox was called before Firefox was settled on in 2004, and both used "birds" as the logo. IIRC, the dinosaur was used in the Mozilla Suite.
    Here are the earliest versions of the Mozilla Suite. <br />
    http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/
    I hope this request for a historical purposes of where Mozilla came from, because those old versions aren't safe to use on the internet any longer.

  • How can I get a service for new powerbook 15" 1.67 screen?

    I would like to know how I can get a service for my brand new PB15" screen.
    Today I have read an message on the Korean apple forum that New unit of 15" 1.67 doesn't have any line problem.
    So, I really want to know whether it is true or not.
    If it is, Can I get an exchange for my new 15" 1.67 in India?
    Could you help me Apple?
    I bought it in Korea 15,Nov, 2005 and Now I am in Mumbai India.
    There is a apple international Mumbai in India.
    I have a 1 year world worranty.
    If the new unit doesn't have any line problem, It means that mine has a problem.
    Now I am falling in love with powerbook 15" 1.67 which is my first Mac in my life except line problem.
    How can I get a service for it.
    Please Help me.

    Yes I have read of other reports from people saying theirs are fine. I am really looking forward to purchashing one but I do not want to take a 2000 dollar chance that I might end up with a bad screen. I am still waiting for apple to make an announcement. I have also begun seing reports on some "news like" websites but not really the major ones.

  • How can I get a refund for unwanted app?

    My kids downloaded an extension of an app, made for kids, that cost $100. They thought it was free, until I got the bill. How can I get a refund for this and remove the app? This is wrong on so many levels, beginning with having a free app for kids luring them to a ridiculously priced one. Any help is appreciated.

    You posted in the Mac computer OS X Tiger 10.4 forum. You don't provide enough info. Was this an iPad app, iPhone app, an iPod app purchased from the iTunes store? Or an app purchased from another source?
    The remedy - don't give your kids the password and answer to security questions.
    If purchased from the iTunes store, there's a link on the invoice.
    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: [email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
    iTunes Purchase Problems: How to Report a Problem to iTunes Support
    http://tinyurl.com/7tscpa7
    How to Get a Refund from the App Store
    http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
     Cheers, Tom

  • How can I get a refund for a product I don't want as its not performing the way I want it?

    How can I get a refund for a Mac APp store product I purchased which I dont want?

    Apple views sales as final. Have you contacted the developer about the issue that you have with the app?
    When the emailed receipt arrives you can start a conversation with iTunes/Mac App Store Support about a refund via the Report link.

  • How can I get a refund for an in app purchase I did not want?

    How can I get a refund for an in app purchase I did not want?
    The app took over $35 from my account and there is no way this was authorized.  Please advise on how I can recover these funds.

    They did the same thing to me on 12/24/11. Apple overcharged me 3 times my purchase amount and have caused my bank account to be overdrawn!
    I called my bank to make a statement of unauthorized charges AND filed a complaint with the FTC (Federal Trade Commission). Apple provided no way to contact a live rep and the email reps have been useless...so they left me no other option.
    I think they do this to their customers very often. It is extremely dishonest.
    I actually posted the above info on this discussion community earlier today...and Apple deleted it! If that isn't an admission of guilt, I don't know what is.
    But seriously...best of luck.

  • How can i get a refund for unauthorised purchase made by my 6 years old child? I tried in customer service and told me to write a email but I don't know where i have to.

    How can I get a refund for unauthorised purchases made by my 6 year old son. And he purchase games 1200€ With in 3days. How it's possible?

    I'd follow the "report a problem" link
    http://www.apple.com/support/itunes/account/

  • Where can I get the driver for my HP DE8A4L external USB CD/DVD drive?

    Where can I get the driver for my HP DE8A4L external USB CD/DVD drive? 
    On the label it says, Model HSTNN-PD06-91
    and
    HP PN: 518819-001 Rev.B
    I've had my Mini 110-1000 running our music system for a couple of years, no complaints.  When I wanted a CD/DVD drive, I purchased a DE8A4L external USB drive directly from HP.  It didn't come with a driver disc.  When I plug it in, the USB subsystem does not enable it.  Device Manager shows a yellow exclamation point, saying, "Windows cannot load the device driver for this hardware..."   It is running Windows XP Home Edition SP3.
    What gives with this device?

    Following up on tactic 2) above, I upgraded the BIOS from version F07 to the latest version available on the HP download site, version F19.  This went well, but unfortunately the system still does not recognize the device.
    When I try to Device Manager, and select the DE8A4L DVD device, and try "search for a device driver", it says it cannot find a better match for the driver already installed.
    This Mini 110-1000 only came with 1 Gb RAM, and Windows XP Home.   Is one of these a critical limitation for running an external USB DVD drive?

  • How can I get file list for a given directory?

    Hi,
    How can I get file list for a given directory? Is there a function?
    Thanks.

    Hi friend,
    Try this sample report. It displays all files in a directory.
    While executing give some directory name in input. ex:  C:\
    Mention file type in filter parameter. ex: *.DOC
    REPORT ztests.
    DATA : file_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    DATA : dir_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    PARAMETERS:p_dir(50) TYPE c.
    CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
      EXPORTING
        directory  = p_dir
        filter     = '*.DOC'
      TABLES
        file_table = file_table
        dir_table  = dir_table
      EXCEPTIONS
        cntl_error = 1
        OTHERS     = 2.
    LOOP AT file_table .
      WRITE:/ file_table-pathname.
    ENDLOOP.
    Might be helpful...
    Thanks.....
    Edited by: Guest77 on Feb 11, 2009 5:30 AM

  • I have the Adobe Suite 5.5 for Windows. I have recently changed to a Mac. Can I get 5.5 for Mac?

    I have the Adobe Suite 5.5 for Windows. I have recently changed to a Mac. Can I get 5.5 for Mac? I have plugins that I would like to keep in their current form.

    burnttimber,
    I am afraid the only (legal) way is to buy it second hand with a licence transfer through Adobe, from someone that has not used CS5.5 for any kind of upgrading (including a discount on CC).
    Transfer an Adobe product license

  • Where can i get sample tests for sun certification(programmer level)??

    where can i get sample tests for sun certification(programmer level)??
    advanced thanks
    anu

    Hi,
    Check this link.
    www.javaranch.com/maha
    Goto the Mock Exams section. There is a table with links to free and paid Mock exams
    on net. They are also rated for being close to the real exams and helping you learn.
    Even the resources here is very good. They are also rated by users.
    This is one of the best sites I have visited to prepare for the SJCP exam.
    Hope this info helps.
    Regards,
    Roopasri Vittal
    Developer Technical Support
    Sun Microsystems
    http://sun.com/developers/support

  • How can I get Flash Player for Android 4.1.2?

    How can I get Flash Player for Android 4.1.2?

    Hello,
    First of all many thanks for your prompt reply.
    This morning I tried with other versions and unfortunately after installation I couldn’t use them.
    Best regards,
    Josep M. Salvador
    Technical Office Manager
    ESTAMP S.A.U,
    Aire, 33; 08227 Terrassa (Barcelona) Spain
    Phone No: +34 937363131 (ext. + 256)
    [email protected]<mailto:[email protected]>              www.estamp.es<http://www.estamp.es/>
    DISCLAIMER: This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited.
    De: VikramGaur [email protected]
    Enviado el: martes, 10 de septiembre de 2013 16:17
    Para: Josep Salvador
    Asunto: How can I get Flash Player for Android 4.1.2?
    Re: How can I get Flash Player for Android 4.1.2?
    created by VikramGaur<http://forums.adobe.com/people/VikramGaur> in Installing Flash Player - View the full discussion<http://forums.adobe.com/message/5668781#5668781

Maybe you are looking for

  • ACS 5.3, delete local backup files.

    Hello. I'm doing a basic setup of ACS 5.3. For now, I'm configuring backup to a local repository repository Backup   url disk:/Backup How can I automatically delete old files? I need to keep only the last seven files. Thanks. Andrea

  • My i-pad is not reacting anymore?

    my i-pad touch screen is not reacting- tried allready : synchronize with i-tunes, loading?

  • Photoshop CS6 64 bit will not open Bridge C6

    Hi, Anyone help a fairly first poster? (hopefully in the right forum) I just upgraded from CS4 direct to CS6, all looked fine until yesterday When attempting to open Bridge CS6, the CS4 version kept opening. After2 hours 'Talking' to Adobe (remote) i

  • Problem with character

    Hi Cyrillic letters don't show as cyrillic, show other symbols on the text of JLabal, JButton, JMenu..., but I can write cyrillic text to JTextField, JTextArea when app is working. Thanks, ~Hill

  • Verizon and Extreme - how do I make it work

    I have a Westell modem router from Verizon. I bought the Extreme and connected it to the Westell. All of my equipment recognizes the Extreme Network but I can't get on the internet with the Extreme. Can someone please give me some guidance as to how