External sorting using key value distribution and range formation
Abstract
A method for executing an external distribution sort in which the data to be rearranged includes keyed stored records that can be accessed on associative secondary storage. The method steps include random sampling of a certain number of keys and internally sorting the sampled keys; forming equal sized partitions of records in a single pass, each partition of which can fit within internal CPU memory and constitute a range of key values; and associatively retrieving all of the records whose keys lie within a range and internally sorting said records.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 87.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for executing an external distribution sort, the data to be rearranged including N keyed records accessed by a CPU from associative secondary storage, the CPU having predetermined available internal memory of F records capacity, comprising the steps of: random sampling of S keys, internally sorting the sampled keys within the CPU, and representing the sorted order by a sequential pointer list; forming equal sized partitions averaging N/S<F records in a single pass by obtaining a histogram of keys and ranges of key values including for each key the step of performing a binary sear
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 87 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- Chang et al., "Associative Search Bubble Devices for Content Addressable Memories", IBM Technical Disclosure Bulletin, vol. 18, pp. 598-602, Jul. 1975.
- Chang et al., Associative Search Bubble Devices for Content Addressable Memories , IBM Technical Disclosure Bulletin, vol. 18, pp. 598 602, Jul. 1975.
- Doty et al., "Magnetic Bubble Memory Architectures for Supporting Associative Searching of Relational Databases", 29 IEEE Transactions on Computers, pp. 957-970, Nov. 1980.
- Doty et al., Magnetic Bubble Memory Architectures for Supporting Associative Searching of Relational Databases , 29 IEEE Transactions on Computers, pp. 957 970, Nov. 1980.
- Knuth, "The Art of Computer Programming, vol. 2: Seminumerical Algorithms", Addison-Wesley, 2nd Edition, 1981.