> 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?
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.
On Thursday, April 26, 2012 5:56:50 PM UTC-4, Sid wrote:
> 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: > > 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?
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:
> 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
> On Thursday, April 26, 2012 5:56:50 PM UTC-4, Sid wrote:
>> 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:
>> > 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 received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mongodb-user/-/nk5Xf_W9sPQJ.
> To post to this group, send email to mongodb-user@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
> 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.