|
|
|
|
|
by cammasmith
64 days ago
|
|
Valid points. The read cost and in-memory aggregation concerns are real and worth flagging. DynamoSQL is index-aware and will use your partition keys, sort keys, and GSIs where it can, but you're right that a well-designed native access pattern will be cheaper. That said, not everyone using DynamoDB has the luxury of designing perfect access patterns from the start. Real production tables are often messier than the textbook examples. And for analytical or exploratory work (e.g. understanding your data, debugging a production issue, running ad-hoc reports) a slightly more expensive read is a reasonable trade-off for writing SQL in seconds rather than SDK code in minutes. I appreciate the feedback. The cost visibility question is something worth being clearer about in the docs. |
|
The tradeoff of doing aggregations and joins in memory just isn’t worth it.