Join cost calculator / Change history

Change history

Every change made to Join cost calculator, newest first, from the site's version history. Each date is the day the change was saved.

1 change to this page · 10 site-wide changes · first saved 25 May 2026

  1. Rebuild the query execution simulator as a join cost calculator

    Details

    Six join algorithms (simple, page and block nested loop, index nested loop, sort-merge, Grace hash) run on simulated pages with a B-frame LRU buffer pool, counting every read and write, next to the textbook formula. Matches CMU 15-445's and Ramakrishnan and Gehrke's worked numbers; where the count differs (inner table cached, partly full hash partitions, recursive partitioning) the steps say why. Switches for B-2 or B-1 blocks and the sort-merge refinement; inputs kept in the link; copy answer.

Site-wide changes that also touched this page (10)

Changes made to more than 25 pages at once, such as a new layout, a wording pass or a move to a new folder.

  1. Replace the staff byline with AI-drafted and review status

    Touched 92 pages.

  2. Move the simulator tests into the repo and run them in CI

    Touched 41 pages.

  3. Rewrite site prose in plain language; simulators, homepage, About, footer

    Touched 579 pages.

  4. add math and history, more content

    Touched 183 pages.

  5. Update components, cheat sheets, and structure

    Touched 444 pages.

  6. Fix SSG build: dead links + /vs#planned anchor; richer section hubs

    Touched 36 pages.

  7. improve content

    Touched 405 pages.

  8. update links, content, speed

    Touched 268 pages.

  9. fix content language

    Touched 256 pages.

  10. add more content, fix shares

    Touched 319 pages.

What counts as a change to this page

Any saved change to these files, including when they lived in an older folder:

  • src/routes/simulators/sql-query-execution/+page.server.ts
  • src/routes/simulators/sql-query-execution/+page.svelte
  • src/lib/sims/joins.ts
  • tests/sims/joins.test.ts

The descriptions are the notes written when each change was saved, unedited, so older ones can be short.