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
environment and stalled get questions
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
frederic.gobry@gmail.com
*nix forums beginner


Joined: 26 Jun 2006
Posts: 2

PostPosted: Mon Jun 26, 2006 9:23 am    Post subject: environment and stalled get questions Reply with quote

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
Back to top
frederic.gobry@gmail.com
*nix forums beginner


Joined: 26 Jun 2006
Posts: 2

PostPosted: Mon Jun 26, 2006 11:07 am    Post subject: Re: environment and stalled get questions Reply with quote

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

Sorry for the unnecessary post :-)

Frédéric
Back to top
Google

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

Similar Topics
Topic Author Forum Replies Last Post
No new posts User Environment - export PATH variable paalepu AIX 0 Tue Sep 12, 2006 8:12 pm
No new posts Removing db from environment mike.klaas@gmail.com Berkeley DB 0 Fri Jul 21, 2006 5:14 am
No new posts Net:TFTPd questions - Want to upload configs via TFTP Adam Perl 0 Thu Jul 20, 2006 4:59 pm
No new posts Net:TFTPd questions - Want to upload configs via TFTP Adam modules 1 Thu Jul 20, 2006 4:29 pm
No new posts Questions on bitfields and struct sarathy C 3 Thu Jul 20, 2006 1:58 pm

MPAA | Tax | Internet Advertising | Computer Forums | Loan
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.1540s ][ Queries: 16 (0.0858s) ][ GZIP on - Debug on ]