External Sorting

External Sorting is a sorting algorithm that focus on handling file that stored in a tertiary storage especially in a limited memory machine. Most algorithms involve 202202261001# or a combination of it with other sorting algorithms.

We will use passes instead of running time to measure the efficiency of those algorithms since I/O access is much are costlier than of RAM access. We need to make as little I/O access as possible.

These algorithms are:

Links to this page
  • Replacement Selection

    Replacement Selection unlike other #202203102010, is aimed to produce optimised runs instead of handling the sorting entirely.

    This algorithm is best when combined with one of the #202203102010 to achieve greater performance compare to naive merges.

  • Priority Queue/Heap
  • Mergesort

    Mergesort is heavily invested in solving #202203102010.

  • Internal Sorting

    Internal Sorting is a type of sorting algorithm that done their sorting within the capacity of the main memory. Although it could be quite fast since the operation is done in the RAM speed, internal sorting has a limitation on handling files that store in physical drive due to the inefficiency of I/O access. See 202203102010 for that regard.

#algorithm #sorting #hardware