/plushcap/analysis/timescale/timescale-how-we-made-postgresql-upserts-300x-faster-on-compressed-data

How We Made PostgreSQL Upserts 300x Faster on Compressed Data

What's this blog post about?

A developer's customer challenge often becomes their own. In this case, one of the customers, Ndustrial, an industrial energy optimization platform, reported that they had to resort to workarounds due to suboptimal PostgreSQL upsert performance when using TimescaleDB. The solution was a 300x increase in upsert performance over compressed data by modifying the upsert process to use existing indexes to find all batches of rows that need to be decompressed. This optimization not only resolved the immediate performance issues but also opened the door for Ndustrial to manage their data more efficiently and confidently.

Company
Timescale

Date published
Sept. 18, 2024

Author(s)
Ante Krešić

Word count
1391

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.