collection-storage-size
Retrieve the storage size of a MongoDB collection to monitor data growth and capacity. Specify the database and collection name to get the size.
Instructions
Gets the size of the collection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database name | |
| collection | Yes | Collection name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| units | Yes |