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

Boosting Postgres INSERT Performance by 50% With UNNEST

Blog post from Tiger Data

Post Details
Company
Date Published
Author
James Blackwood-Sewell
Word Count
1,333
Company Posts That Month
17
Language
English
Hacker News Points
4
Summary

The article discusses the use of UNNEST function in Postgres to boost INSERT performance by up to 50%. It explains that using UNNEST can reduce planning overhead, making it faster than traditional INSERT VALUES syntax. However, it also highlights the trade-off between speed and usability, as wrangling data into arrays for UNNEST might introduce complexity. The article concludes by recommending developers to consider adding this pattern to their SQL toolkit for optimizing Postgres performance.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 2 3,107 740 193 -25%
Data Pipeline 1 462 169 63 -36%