by mfringel · 4y ago · 0 comments
That is, "I have this seldomly-updated list of ~10000 things, and I'm going to need to join it against my time-series data."
With other time-series databases I've dealt with, it's an afterthought at best and the answer is typically "Enrich the data via flink/benthos/etc. on import and avoid using any kind of join."
Does Timescale's use of PostgreSQL circumvent this issue, both in terms of storage of lookup tables, and performance on join?
There are other common queries related to what you describe, like a "last point query": Tell me the last record for each distinct object. Here, for example, we've built special query optimizations to significantly accelerate such queries:
https://www.timescale.com/blog/how-we-made-distinct-queries-...