🏄 TimescaleDB v2.17 - performance improvements for analytical queries and continuous aggregate refreshes
Starting this week, all new services created on Timescale Cloud use TimescaleDB v2.17. Existing services are upgraded gradually during their maintenance windows.
TimescaleDB v2.17 significantly improves the performance of continuous aggregate refreshes, and contains performance improvements for analytical queries and delete operations over compressed hypertables.
Best practice is to upgrade at the next available opportunity.
Highlighted features in TimescaleDB v2.17 are:
Significant performance improvements for continuous aggregate policies:
Continuous aggregate refresh now uses
mergeinstead of deleting old materialized data and re-inserting.Continuous aggregate policies are now more lightweight, use less system resources, and complete faster. This update:
Decreases dramatically the amount of data that must be written on the continuous aggregate in the presence of a small number of changes * Reduces the i/o cost of refreshing a continuous aggregate * Generates fewer Write-Ahead Logs (
WAL)Increased performance for real-time analytical queries over compressed hypertables:
We are excited to introduce additional Single Instruction, Multiple Data (SIMD) vectorization optimization to TimescaleDB. This release supports vectorized execution for queries that group by using the
segment_bycolumn(s), and aggregate using thesum,count,avg,min, andmaxbasic aggregate functions.Stay tuned for more to come in follow-up releases! Support for grouping on additional columns, filtered aggregation, vectorized expressions, and
time_bucketis coming soon.Improved performance of deletes on compressed hypertables when a large amount of data is affected.
This improvement speeds up operations that delete whole segments by skipping the decompression step. It is enabled for all deletes that filter by the segment_by column(s).
Timescale Cloud's Enterprise plan is now HIPAA (Health Insurance Portability and Accountability Act) compliant. This allows organizations to securely manage and analyze sensitive healthcare data, ensuring they meet regulatory requirements while building compliant applications.