AWS DynamoDB 对放置项目 API 调用的限制为 400KB。我正在放置一个Python字典,其大小是使用方法计算的sys.getsizeof()。即使该方法返回的值小于 400000 字节,put item 操作也会抛出异常:
An error occurred (ValidationException) when calling the PutItem operation: Item size has exceeded the maximum allowed size'
在计算确切尺寸方面我缺少什么吗?