zub*_*uba 5 amazon-web-services amazon-dynamodb dynamodb-queries
我想弄清楚我的 dynamodb 表中项目的大小或完整大小,以便我可以准确地预测我正在进行的项目的成本。
我知道对于读取的每 4kb 数据,它将使用 1RCU。所以现在 id 想找出每个条目或总表的大小。
The AWS Command "describe-table" will give you metadata for the given table.
aws dynamodb describe-table --table-name [table name]
Run Code Online (Sandbox Code Playgroud)
The output will have a parameter
"TableSizeBytes": 0,
Run Code Online (Sandbox Code Playgroud)
Which will give you "The total size of the specified table, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value."
Per documentation
| 归档时间: |
|
| 查看次数: |
3828 次 |
| 最近记录: |