I wrote 400 lines to avoid learning one SQL feature
Window functions replaced a hand-rolled grouping pass. The cost of not learning was paid in code.
We use Google Analytics to see which pages help people. No ads, no profiles. Privacy Policy
5 posts
Window functions replaced a hand-rolled grouping pass. The cost of not learning was paid in code.
Low selectivity plus random access beats a sequential scan only sometimes.
An insert on page 1 shifts every later offset. A keyset cursor is data, not a position.
Ten rows locally, ten thousand in production. The query count scales with data.
A column drop is irreversible the moment it runs. Expand-contract exists because deploys and migrations do not move together.