r/Hacking_Tricks • u/ProfessionalShirt225 • 1d ago
How do you make cost per million queries a useful comparison?
I'm trying to understand how to compare analytics database costs when one service bills for bytes scanned and another bills for compute time. A million queries could mean tiny lookups or aggregations over months of events, so the query count alone doesn't tell me much.
Would you price a fixed mix of queries with the same latency target, then repeat it with different cache hit rates? I'm especially curious whether you include idle capacity in that number or report it separately.
If you've used this metric to choose a database, what did you have to specify before the comparison became useful?