[英]Get size of a collection in bytes
Is there a query to get the size in bytes
of a collection
?是否有查询以获取
collection
的bytes
大小? I would like to know how much storage space a certain collection
needs.我想知道某个
collection
需要多少存储空间。
You may call the collection
api on a single server or a cluster's coordinator like so:您可以在单个服务器或集群的协调器上调用
collection
api,如下所示:
<endpoint>/_db/<database>/_api/collection/<collection>/figures
In arangosh
connected to again a single server or cluster's coordinator endpoint在
arangosh
中再次连接到单个服务器或集群的协调器端点
> db._useDatabase("<database>");
> db.<collection>.figures();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.