How an index keeps a query fast as a table grows 50 times
A PostgreSQL benchmark comparing the same query over 1, 10, and 50 million rows, with and without the right index.
A PostgreSQL benchmark comparing the same query over 1, 10, and 50 million rows, with and without the right index.
Why replacing 51 SQL commands with a single JOIN made a bank statement query approximately 16 times faster.
How to use a PostgreSQL expression index to make a case-insensitive prefix search approximately 33 times faster.
How a partial PostgreSQL index serves an anti-fraud queue using 3,104 kB instead of the 387 MB required by a full index.
A benchmark comparing OFFSET and keyset pagination over a whale account's statement, from the first page to an offset of 4,950 rows.
How to use a covering index to calculate an account balance without accessing the heap, reducing execution time from 12.249 ms to 2.780 ms.
The same two columns, in the two possible orders, over 10 million rows: 17 ms against 0.060 ms. Three execution plans, and why the gap is not a rounding error.