Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

Read-only btree

Thread view: 
Chris - 24 Nov 2006 21:56 GMT
I need a really simple, on-disk, read-only btree to hold a very large
amount of data. By "read-only" I mean that the tree will get populated
once, with keys that are already in order, written to disk, and then
queried. It will never be updated.

The sql databases out there have too much overhead and are too slow for
the type of access I need.

The functions I need are 1. initial population, 2. seek by (partial)
key, 3. iterate through keys/values in order.

Any suggestions?
Patricia Shanahan - 24 Nov 2006 22:10 GMT
> I need a really simple, on-disk, read-only btree to hold a very large
> amount of data. By "read-only" I mean that the tree will get populated
[quoted text clipped - 8 lines]
>
> Any suggestions?

Btree is a compromise between lookup efficiency and efficiency of
insertion, deletion etc. You don't seem to need those compromises.

Why not a simple, dense, hierarchical index structure? The high levels
of the index can be memory resident, reducing disk reads.

Patricia
Chris - 25 Nov 2006 17:49 GMT
>> I need a really simple, on-disk, read-only btree to hold a very large
>> amount of data. By "read-only" I mean that the tree will get populated
[quoted text clipped - 14 lines]
> Why not a simple, dense, hierarchical index structure? The high levels
> of the index can be memory resident, reducing disk reads.

Good point. Can you point me to such a structure? Or better yet, a
library that implements one?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.