Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « External merge sort » ?

Definition 22.2 University Computer Science — Year 3 · Chapitre 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.

Lire dans le chapitre →