Home / Companies / Tiger Data / Blog / Post Details
Content Deep Dive

How We Made Real-Time Data Aggregation in Postgres Faster by 50,000%

Blog post from Tiger Data

Post Details
Company
Date Published
Author
Fabrízio de Royes Mello
Word Count
3,431
Company Posts That Month
9
Language
English
Hacker News Points
20
Post removed?
No
Summary

In this blog post, the authors discuss how they made real-time data aggregation in Postgres faster by 50,000% using continuous aggregates (CAggs), a core feature of TimescaleDB. CAggs are self-updating materialized views optimized for aggregation queries over time-series data. The authors introduced enhancements to significantly accelerate real-time data aggregation in TimescaleDB 2.13.0, resulting in a planning time reduction of over 50,000% and a substantial decrease in query execution times. They achieved this by constifying the watermark function call, which allowed plan time chunk exclusion and scans only for the chunks that are actually accessed by the query.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 24 2,527 623 172 +6%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.