Hacker News new | ask | show | jobs
by aidos 1125 days ago
Yup exactly. I also keep an eye on the progress of incremental views because there are a lot of use cases. Where possible I avoid triggers, but I’ve also used that solution too.

I’ve found that Postgres often gives the best results if you lateral join to the version table. That way it starts with the primary rows you need and it just hammers the index once for each version row.

1 comments

> Postgres often gives the best results if you lateral join to the version table

Agreed.