Is there a query to get the size in bytes
of a collection
? I would like to know how much storage space a certain collection
needs.
You may call the collection
api on a single server or a cluster's coordinator like so:
<endpoint>/_db/<database>/_api/collection/<collection>/figures
In arangosh
connected to again a single server or cluster's coordinator endpoint
> db._useDatabase("<database>");
> db.<collection>.figures();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.