[SERVER-1123] better stats reporting for sizes Created: 14/May/10 Updated: 12/Jul/16 Resolved: 03/Jun/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.3 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Kenny Gorman | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
A couple requests and a bug I think..there appears to be a missmatch of sizes from intra mongo to OS level: 1) I think it would be nice to have a breakdown of overall sizes for a database. So db.stats() is global and db.test.stats() is just for the test db. db.test.collectionstats() { mybigcollection: { objects: 9999, dataSize 88585, storageSize: 85858585, ....}baz: { objects: 9999, dataSize 88585, storageSize: 85858585, ....}} There appears to be a mis-match of sizes. I think it would be nice to call out sizes more specifically. For instance: dataSize: size of extents, actual data used on disk. root@al01>cd /home/kgorman/mongodata/test/ > db.stats() |
| Comments |
| Comment by auto [ 03/Jun/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: Add fileSize to db.stats() |
| Comment by Kenny Gorman [ 28/May/10 ] |
|
Yes, if fileSize == sum(datafile space on disk) thx! |
| Comment by Mathias Stearn [ 25/May/10 ] |
|
Kenny, just to confirm the outcome of our conversation, the only thing that needs to be added is fileSize? |
| Comment by Eliot Horowitz (Inactive) [ 24/May/10 ] |
|
I think you and kenny already talked about this. |