by asah · 3y ago · 0 comments
https://docs.aws.amazon.com/AmazonRDS/latest/PostgreSQLRelea...
https://cloud.google.com/sql/docs/postgres/extensions#postgr...
https://learn.microsoft.com/en-us/azure/postgresql/single-se...
Let alone AWS Aurora, AWS RedShift, Snowflake, etc
[1]: https://ideas.digitalocean.com/app-framework-services/p/pgve...
As an aside, I question timescale use case. It’s highly niche, where you need to store arrays of data, at >>1k entries per day, you can’t use batch export of the data, and the export process is largely concerned with only recent data (aka doesn’t need to incorporate future modifications of older entries).
1 years worth of 4 byte ints at 1 minute intervals is only 2MB uncompressed. Do you really need second-level or sub second resolution in the db? Cuz 2MB chunks (realistically much less) are very cheap. 2MB fits in 250 8kb pages. Many join+limit 25 queries on unclustered tables use about that much. It’s so, so cheap to process.
Last I checked, Timescale also doesn’t make it easy to combine data at different resolutions. If you store 10ms, 1m, 1day resolutions, you do need to write 3 queries and combine them to get a real-time aggregate.
I hope I get owned and learn some stuff. So can you share more about your use case? It’d be interesting to see what is getting you interested in timescale.
Continuous aggs and the job daemon are really nice bonuses too.