Postgres Indexes: Why Column Order Matters
The same columns can be fast or useless depending on order: B-tree column order in practice.
5 min readNotes on building software, learning things, and everything in between.
The same columns can be fast or useless depending on order: B-tree column order in practice.
5 min readA missing index turned a pre-release test into a production fire, and the zero-downtime fix.
4 min readRBAC vs ABAC, policy-as-code, and OPA: how authorization works in production systems.
6 min readA practical guide to writing readable, correct queries with PostgreSQL common table expressions.
7 min readFrom one pile to three: winning and losing positions, and the xor rule that decides them all.
4 min readOffline sqrt decomposition for range queries: complexity analysis, the odd-even trick, and Mo's with updates.
8 min readPrefix trees for autocomplete, spellcheck, and xor queries — structure, tradeoffs, and Codeforces problems.
6 min readDivide and conquer on trees: centroids, centroid trees, and path queries.
6 min readTree diameter via two BFS runs, counting diameters, and finding the center — with proofs.
8 min readPrefix sums with point updates in O(log n): how the Binary Indexed Tree earns its keep.
5 min readBuild, query, and update a segment tree for range sums, with diagrams and C++ you can steal.
7 min readFrom BFS on weighted graphs to Dijkstra, multisource Dijkstra, cycles, and spanning trees.
10 min readRepresentations, DFS, BFS, connected components, and multisource BFS — with C++ and dry runs.
12 min readNo posts with this tag yet.