WireBaron
Re:Function pipelines: Building functional programming into PostgreSQL
on Tuesday October 19, 2021 @02:57PM (#28922016)
This is essentially correct. It's a little more complicated inside, and the expansion's really more like:
SELECT device_id, arrow_run_pipeline(timevector(ts, val), arrow_add_element(sort(), arrow_add_element(delta(), arrow_add_element(abs(), sum())));
The notable difference here is that this presents a lot more optimization potential, as the entire pipeline can conceivably be applied in one pass through the table.
Re:How percentile approximation works and why it's more useful than av...
on Tuesday September 14, 2021 @02:05PM (#28528448)
The UDDSketch (default) implementation will allow rolling percentiles, though we still need a bit of work on our end to support it. There isn't a way to do this with TDigest however.
Re:Building a distributed time-series database on PostgreSQL
on Wednesday August 21, 2019 @04:29PM (#20761375)
We actually have done fairly extensive benchmarking of high cardinality data on our single-node product (we have a blog entry detailing at least our insert performance here: https://blog.timescale.com/blog/what-is-high-cardinality-how...)
We're actually currently focused on query optimization for our multi-node product, but we don't have any numbers we're currently ready to share.
Re:Building a distributed time-series database on PostgreSQL
on Wednesday August 21, 2019 @04:02PM (#20761085)
We actually haven't been running against any limits here. One thing to keep in mind is that postgres remote-fetch operations aren't tuple-at-a-time, so this shouldn't be a bottleneck for our multi-node operations.