dbTalk Databases Forums  

How to get the number of records in a DB?

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


Discuss How to get the number of records in a DB? in the comp.databases.berkeley-db forum.



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

Default How to get the number of records in a DB? - 12-23-2006 , 01:31 AM






Hi,

I have a requirement for getting the total number of records in a DB.
Is there any interface in DB for getting the total number of records in
a db ?

with regards,
Pai


Reply With Quote
  #2  
Old   
nobody@comcast.net
 
Posts: n/a

Default Re: How to get the number of records in a DB? - 12-24-2006 , 12:41 AM






db_stat -d {filename}
db_stat -c [dir name]

look at db_stat


On 22 Dec 2006 23:31:36 -0800, "pai" <paimailbox (AT) gmail (DOT) com> wrote:

Quote:
Hi,

I have a requirement for getting the total number of records in a DB.
Is there any interface in DB for getting the total number of records in
a db ?

with regards,
Pai

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.