Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
External sorting
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Class of sorting algorithms that can handle massive amounts of data}} [[File:External_sorting_algorithm.png|thumb|right|external sorting algorithm]] '''External sorting''' is a class of [[sorting algorithm]]s that can handle massive amounts of [[data]]. External sorting is required when the data being sorted do not fit into the [[main memory]] of a computing device (usually [[RAM]]) and instead they must reside in the slower [[Auxiliary memory|external memory]], usually a [[disk drive]]. Thus, external sorting algorithms are [[external memory algorithm]]s and thus applicable in the [[external memory model|external memory]] [[model of computation]]. External sorting algorithms generally fall into two types, distribution sorting, which resembles [[quicksort]], and external merge sort, which resembles [[merge sort]]. External merge sort typically uses a [[hybrid algorithm|hybrid]] sort-merge strategy. In the sorting phase, chunks of data small enough to fit in main memory are read, sorted, and written out to a temporary file. In the merge phase, the sorted subfiles are combined into a single larger file.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)