Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
fileSize without blocking server?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
whit537  
View profile  
 More options Apr 26 2012, 4:09 pm
From: whit537 <whit...@gmail.com>
Date: Thu, 26 Apr 2012 13:09:59 -0700 (PDT)
Local: Thurs, Apr 26 2012 4:09 pm
Subject: fileSize without blocking server?

Is there a way to compute the true size of a MongoDB database on disk using
server APIs without blocking the server for 15 minutes by calling dbstats?

chad


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sid  
View profile  
 More options Apr 26 2012, 5:56 pm
From: Sid <siddharth.si...@10gen.com>
Date: Thu, 26 Apr 2012 14:56:50 -0700 (PDT)
Local: Thurs, Apr 26 2012 5:56 pm
Subject: Re: fileSize without blocking server?
I don't think so. You can, however, use simple linux commands (du -ch
filepattern) to find the size of data files for a db on the disk.

On Apr 26, 4:09 pm, whit537 <whit...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
whit537  
View profile  
 More options Apr 26 2012, 9:21 pm
From: whit537 <whit...@gmail.com>
Date: Thu, 26 Apr 2012 18:21:51 -0700 (PDT)
Local: Thurs, Apr 26 2012 9:21 pm
Subject: Re: fileSize without blocking server?

Sid,

> I don't think so.

Bummer. :-(

> You can, however, use simple linux commands (du -ch
> filepattern) to find the size of data files for a db on the disk.

I'm specifically looking for a server API. My use case is adding disk
usage statistics to the Mongs db browser:

    http://www.whit537.org/mongs/

Mongs is designed to attach to arbitrary MongoDB servers, but can't
at all assume that it has shell access on the underlying host. That's
why I can't use OS filesystem tools here.

chad


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Hernandez  
View profile  
 More options Apr 27 2012, 10:46 am
From: Scott Hernandez <scotthernan...@gmail.com>
Date: Fri, 27 Apr 2012 10:46:43 -0400
Local: Fri, Apr 27 2012 10:46 am
Subject: Re: [mongodb-user] Re: fileSize without blocking server?

Hostinfo is being added for the next release so you can get more
system/host info. Disks are not in there but you could add a feature req
for that in jira.
On Apr 26, 2012 9:22 PM, "whit537" <whit...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
whit537  
View profile  
 More options Apr 27 2012, 11:46 am
From: whit537 <whit...@gmail.com>
Date: Fri, 27 Apr 2012 08:46:54 -0700 (PDT)
Local: Fri, Apr 27 2012 11:46 am
Subject: Re: [mongodb-user] Re: fileSize without blocking server?

> Hostinfo is being added for the next release so you can get more
> system/host info. Disks are not in there but you could add a feature req
> for that in jira.

Thanks Scott, will take this to JIRA.

chad


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »