News for hackers. Stuff that matters.
Re:Advanced SQL window function quiz by barrkel on Friday February 09, 2018 @06:09AM (#16339362)
If you have a small amount of data, yes; but if you have any significant amount of data, you are losing multiple orders of magnitude of performance when you pull all that data out of the database.
Re:Advanced SQL window function quiz by thom on Friday February 09, 2018 @12:49PM (#16342247)
I lose orders of magnitude of dev time every time Postgres can't work out how to push a where clause down into a view, tbh. In our case, doing processing on sequences at insert time is much more pleasant, performant and featureful than trying to do it after the fact with window functions.