Data sorting
Abstract
A method is described for operating a data processing system having a plurality of processors to sort a set of data records each having an associated key for governing the sort process. The method comprises determining a range for the key values by sampling the key values. The range is divided into a plurality of quantiles, one for each processor, each quantile having a respective index. At each processor, a plurality of buckets are defined, each bucket corresponding to a respective one of a plurality M p of subintervals in the quantile, each subinterval having a respective index. The index of the quantile in which the key value lies and the index of the subinterval in which the key value lies are determined directly from the key values using fast operations. Each key is distributed to the processor corresponding to the quantile in which the key value lies. At each processor, the keys falling in the quantile corresponding to the processor are distributed into the buckets according to the indices of the subintervals in which the key values lie, the buckets being processed in sequence in order to sort the records and the keys in each bucket sorted if the bucket contains more than one
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 25.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for operating a data processing system having a plurality of processors to sort a set of data records each having an associated key for governing the sort process, the method comprising: determining a range for the key values by sampling the key values; dividing the range into a plurality of quantiles, one for each processor, each quantile having a respective index; at each processor, defining a plurality of buckets, each bucket corresponding to a respective one of a plurality M p of subintervals in the quantile, each subinterval having a respective index; determining directly
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 25 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- Dusseau et al. "Fast Parallel Sorting Under LogP: Experience with the CM-5" IEEE Transactions on Parallel and Distributed Systems, vol. 7, No. 8, pp. 791-805, Aug. 1996.
- Dusseau et al. Fast Parallel Sorting Under LogP: Experience with the CM 5 IEEE Transactions on Parallel and Distributed Systems, vol. 7, No. 8, pp. 791 805, Aug. 1996.
- Mueck et al. "Optimizing Sort Order Query Execution in Balanced and Nested Grid Files" IEEE Transactions on Knowledge and Data Engineering, vol. 7, No. 2, pp. 246-260, Apr. 1995.
- Mueck et al. Optimizing Sort Order Query Execution in Balanced and Nested Grid Files IEEE Transactions on Knowledge and Data Engineering, vol. 7, No. 2, pp. 246 260, Apr. 1995.
- Suehiro et al. "Integer Sorting on Shared-Memory Vector Parallel Computers" ICS 98, ACM Website, pp. 313-320, Jul. 1998.