Sorting in Postgres 15 is 371% faster in certain cases

The Backend Engineering Show with Hussein Nasser

Episode | Podcast

Date: Wed, 01 Jun 2022 20:40:07 GMT

<p>Fantastic gains in Postgres 15! improved sorting by 371%. Normally you can avoid sorting by using an index access path. However, you can’t always have an index on every group by, order by, join or distinct predict. This will come handy. Let us discuss</p> <p>Resources</p> <p><a href="https://www.phoronix.com/scan.php?page=news_item&amp;px=PostgreSQL-15-Faster-Sort">https://www.phoronix.com/scan.php?page=news_item&amp;px=PostgreSQL-15-Faster-Sort</a></p> <p><a href="https://techcommunity.microsoft.com/t5/azure-database-for-postgresql/speeding-up-sort-performance-in-postgres-15/ba-p/3396953#change3">https://techcommunity.microsoft.com/t5/azure-database-for-postgresql/speeding-up-sort-performance-in-postgres-15/ba-p/3396953#change3</a></p> <p><a href="https://www.postgresql.org/docs/15/release-15.html#id-1.11.6.5.4">https://www.postgresql.org/docs/15/release-15.html#id-1.11.6.5.4</a></p> <p><a href="https://techcommunity.microsoft.com/t5/sql-server-blog/understanding-sql-server-fast-forward-server-cursors/ba-p/383556">https://techcommunity.microsoft.com/t5/sql-server-blog/understanding-sql-server-fast-forward-server-cursors/ba-p/383556</a></p>