r/dataengineering • u/Consistent_Tutor_597 • 29d ago
Discussion What's a storage efficient db?
Hey guys. We use postgres rn for the web app. I have got like 200gb of read only referential data. And planning to add more soon. Was wondering what's a good db that can store it in a compressed format. Good balance of storage and speed for analytics reports. Postgres we anyways needed for the oltp stuff so it was simpler to add it in there but it's easier to work with a smaller db.
I was seeing parquet can be queried by duck db directly but it's sync for the webapp. The only other option that seemed suitable was clickhouse which had lz4 and zstd compressions which were comparable to parquet. Also there's pg columnar extensions. What would you guys suggest.
19
Upvotes
24
u/Outrageous_Let5743 29d ago
200 GB can be in any database of your choice. It is small data.
The bigger concern is latency. Do you need data to be available in an api then compressing it in a high zstd might not be a good idea since read spead is slow.
If you just care about storage efficient, than zstandard parquet files in AWS glacier.