1 points · by paperwhite · 2y ago · 8 comments
What I have so far:
- Mongo has a large storage overhead but query performance is good
Postgres is more storage efficient but query performance is poor at this scale
-- Haven't explored Apache yet because of the setup overhead but happy to explore options that are slightly more technical than our current skillset
I'm @harlakshS on Twitter in case anyone of you wants to DM instead. Thanks!
Even after the wiredtiger auto-compression, the basic overhead doesn't have a workaround
If the columns are scalar then consider a column store.
Typical use case:
Filtering billions of 'docs' or rows across 50 attributes in any number of combinations
A doc holds data on the techstack of a url - For one of the products. Ever evolving schema (hence why we picked Mongo)
--
Number of queries are low but the complexity of the queries are high
We've moved object storage from JSON to Parquet already before uploading to Mongo so that's already 1/4th the object storage
Question if something can match the querying performance of Mongo but has better storage efficiency
As the schema evolves, simply add new columns.
Some attributes are scalar but others are not
There are array of objects in a lot of places. will need to modify the schema to be completely scalar
Will run a local test & see how this goes. Thanks a lot!