This topic describes how to use the storage analysis feature for MongoDB instances.
The storage analysis feature offers an intuitive display of the storage details for each MongoDB instance. For example, you can view the storage space usage, available days of the storage space, average daily increase in storage space, storage space consumed by collections, and diagnosis results.
The global storage usage feature provides an easy method for you to view the storage space usage of multiple database instances.
- You remain logged on to the DAS console.
- The target database instance is connected to DAS, and the target database instance is in the Accessed state. For more information about the procedures, see Connect ApsaraDB for RDS database instances and Connect user-created database instances.
In the left-side navigation pane, click Instance Monitoring. On the page that appears, find the target database instance.
In the Actions column for the target instance, move the pointer over Performance. Then, select Storage Analysis from the Performance drop-down list.
On the page that appears, you can view the storage space details. The details include the average daily increase in last week, the available days of storage space, and the total consumed storage space.
You can also view the consumed storage space, the compression percentage, and the index storage space of each collection. To view the indexes of a collection, click the name of the target collection.
In the left-side navigation pane of the DAS console, click Storage Analysis. On the page that appears, select the target database engine.
Notes: The Global Storage Usage page does not show the user-created database instances that are connected to DAS by using direct connections and DBGateways. This is because no storage space data can be collected for these instances.