Building a distributed time-series database on PostgreSQL
blog.timescale.com
Building a distributed time-series database on PostgreSQL
1–10 of 98 posts
Re: Building a distributed time-series database on PostgreSQL
#2Presumably the custom operators you’ve implemented in your query plan can push projection and predicates down to a more efficient architecture without so many indirect function calls / branches / etc, but once you get up past that, aren’t you back in iterator land?
Re: Building a distributed time-series database on PostgreSQL
#3Re: Building a distributed time-series database on PostgreSQL
#4What are some use cases for a time-series database?
Re: Building a distributed time-series database on PostgreSQL
#5What are some use cases for a time-series database?
Re: Building a distributed time-series database on PostgreSQL
#6What are some use cases for a time-series database?
Think automotive monitoring (external or internal), algorithmic trading, retail monitoring, aviation, etc.
Re: Building a distributed time-series database on PostgreSQL
#7Are you afraid the Postgres tuple-at-a-time iterator architecture is going to be limiting for your long term performance optimizations? Presumably the custom operators you’ve implemented in your query plan can push projection and predicates down to a more efficient architecture without so many indirect function calls / branches / etc, but once you get up past that, aren’t you back in iterator land?
Re: Building a distributed time-series database on PostgreSQL
#8Are you afraid the Postgres tuple-at-a-time iterator architecture is going to be limiting for your long term performance optimizations? Presumably the custom operators you’ve implemented in your query plan can push projection and predicates down to a more efficient architecture without so many indirect function calls / branches / etc, but once you get up past that, aren’t you back in iterator land?
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.
An example would be TPC-H Q1, which is a little weak on the group by cardinality, but is good for testing raw aggregation performance.
Re: Building a distributed time-series database on PostgreSQL
#9Wish they would tone down the hype in the blog posts though, a shard/chunk/partition are all the same. How you define the splits is completely arbitrary and every database uses its own algorithm, including multiple levels.
Re: Building a distributed time-series database on PostgreSQL
#10What are some use cases for a time-series database?