dbTalk Databases Forums  

does the insert change the positions of other records in Database of BTree type

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


Discuss does the insert change the positions of other records in Database of BTree type in the comp.databases.berkeley-db forum.



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

Default does the insert change the positions of other records in Database of BTree type - 04-11-2006 , 04:34 AM






when using cursor towards BTree Database, I saved one cursor through
which i get data of the key "key1" .and then i insert lots of data,
after that I use the cursor i saved to get the data of key "key1",will
i get the right content? i mean, does the insert change the positions
of other records in Database of BTree type


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

Default Re: does the insert change the positions of other records in Database of BTree type - 04-12-2006 , 09:23 AM







cloud82 wrote:
Quote:
when using cursor towards BTree Database, I saved one cursor through
which i get data of the key "key1" .and then i insert lots of data,
after that I use the cursor i saved to get the data of key "key1",will
i get the right content? i mean, does the insert change the positions
of other records in Database of BTree type
Yes; for more information, please see the "Cursor stability" section of
the Berkeley DB Reference Guide, included in your download package and
also available at:

http://www.sleepycat.com/docs/ref/am...stability.html

Regards,
--keith

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Keith Bostic
Oracle Corporation
keith.bostic (AT) oracle (DOT) com
keithbosticim (Yahoo IM)



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.