dbTalk Databases Forums  

Does Berkeley db java edition provide bulk access?

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Does Berkeley db java edition provide bulk access? in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dataminer
 
Posts: n/a

Default Does Berkeley db java edition provide bulk access? - 11-01-2005 , 12:21 PM






Hi, there

I wonder if berkeley-db je provide bulk access methods when
sequentially accessing all the records in a large database? Does Cursor
just do it? Or any other suggestions to speedup the retrieval?

Thanks

Tong


Reply With Quote
  #2  
Old   
mark@sleepycat.com
 
Posts: n/a

Default Re: Does Berkeley db java edition provide bulk access? - 11-02-2005 , 09:48 AM






Hello Tong,

No, JE does not currently have bulk access operations.

If the retreival is CPU bound, using non-transactional access or the
ReadCommitted isolation level may help improve performance.

If the retrieval is I/O bound, inserting the records initially in key
order (presorting if necessary) will speed up sequential retrieval.

I'm curious, do you need to retrieve in key order, or is order
unimportant? I ask this question because we are thinking about ways to
speed up retreival when order is not important.

For the quickest response on JE questions please use the bdbje mailing
list mentioned at the bottom of this page:

http://sleepycat.com/products/je.shtml

Mark


Reply With Quote
  #3  
Old   
dataminer
 
Posts: n/a

Default Re: Does Berkeley db java edition provide bulk access? - 11-02-2005 , 01:13 PM



Mark,

The retrieval is I/O bound and the retrieval orde is not important.

Thanks

Tong


Reply With Quote
  #4  
Old   
dataminer
 
Posts: n/a

Default Re: Does Berkeley db java edition provide bulk access? - 11-02-2005 , 01:15 PM



Mark,

The order doens't matter and the program is I/O bound.

Thanks

Tong

mark (AT) sleepycat (DOT) com wrote:
Quote:
Hello Tong,

No, JE does not currently have bulk access operations.

If the retreival is CPU bound, using non-transactional access or the
ReadCommitted isolation level may help improve performance.

If the retrieval is I/O bound, inserting the records initially in key
order (presorting if necessary) will speed up sequential retrieval.

I'm curious, do you need to retrieve in key order, or is order
unimportant? I ask this question because we are thinking about ways to
speed up retreival when order is not important.

For the quickest response on JE questions please use the bdbje mailing
list mentioned at the bottom of this page:

http://sleepycat.com/products/je.shtml

Mark


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.