dbTalk Databases Forums  

environment and stalled get questions

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


Discuss environment and stalled get questions in the comp.databases.berkeley-db forum.



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

Default environment and stalled get questions - 06-26-2006 , 04:23 AM






Hi,

I'm using bsddb 4.3.29 (-4.1 from Debian testing) with pybsddb 4.4.2.

I've created a db with an environment but no transactions, whose
content is

Quote:
ll
total 1091400
-rw-r----- 1 fred fred 91893760 2006-06-23 15:12 database
-rw-r----- 1 fred fred 16384 2006-06-23 14:20 __db.001
-rw-r----- 1 fred fred 262152192 2006-06-23 14:20 __db.002
-rw-r----- 1 fred fred 762425344 2006-06-23 15:14 index
-rw-r----- 1 fred fred 155648 2006-06-23 15:14 resultset


The initial problem I had was while looping over the content of my db.
I use a cursor's .next() method to get the content of a table, but the
application blocks after ~ 13000 items, in a systematic manner. There
is no concurrency involved.

I wanted to have a look at the locks, unfortunately, I've problems
getting stats with db_stats:

Quote:
db4.3_stat -m -h .
db_stat: DB_ENV->open: .: No such file or directory

The -d option works fine, though.

Can you give me a hint at how to continue from that point on ? :-)

Thanks,
Frédéric



Reply With Quote
  #2  
Old   
Fred
 
Posts: n/a

Default Re: environment and stalled get questions - 06-26-2006 , 06:07 AM






Ok, I seems to work just fine with bsddb 4.4.x.

Sorry for the unnecessary post :-)

Frédéric


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.