niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Berkeley DB
B-tree bulk load/construction
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Roman Dementiev
*nix forums beginner


Joined: 27 Jun 2006
Posts: 1

PostPosted: Tue Jun 27, 2006 2:29 pm    Post subject: B-tree bulk load/construction Reply with quote

Hi,

I would like to construct a BDB B-tree from a given large set of
key-data pairs. Inserting the pairs incrementally, one by one, is too
slow. Theoretically, the best way to do it is to sort the pairs and
construct B-tree bottom-up at once.

_Question_: does BDB support this way of (bulk) construction? which
methods should be called?


Best,
Roman

PS:
Another solution is to use an external sorter to presort the input and
insert the pairs in ascending order. This will result in near 100 %
cache hits, but is still slower than a bulk construction. This solution
is not good enough for me.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Tue Dec 02, 2008 2:51 pm | All times are GMT
navigation Forum index » Databases » Berkeley DB
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Bug#379104: ITP: complearn-mpi -- parallel quartet tree s... Rudi Cilibrasi devel 0 Fri Jul 21, 2006 11:30 am
No new posts Is there a boot loader that can load a file a start up an... christopher.mcrorie@gmail Setup 1 Thu Jul 20, 2006 2:57 am
No new posts Load balancing outgoing messages Pierre VANNIER Postfix 2 Wed Jul 19, 2006 8:21 am
No new posts Announce: LBPool 1.0 beta1 (Load Balancing JDBC Connectio... Kevin Burton MySQL 2 Wed Jul 19, 2006 5:35 am
No new posts Advise on load Robert Fitzpatrick Postfix 5 Tue Jul 18, 2006 4:22 pm

Mortgage Calculator | Remortgages | Mortgage Calculator | Loans | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.9654s ][ Queries: 16 (0.7941s) ][ GZIP on - Debug on ]