Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is External merge sort?

Definition 22.2 University Computer Science — Year 3 · Hoofdstuk 22 — Query Processing and Optimisation

External merge sort sorts a file of NN pages with BB buffer pages. Pass 0 reads BB pages at a time, sorts them in memory and writes them as a sorted run, giving ⌈N/B⌉\lceil N/B \rceil runs. Each later pass merges groups of B−1B - 1 runs into one, reading each through one buffer page and writing through the last, until one run is left.

Lees in het hoofdstuk →