Method for sorting data using common prefix bytes
AssigneeOracle International Corporation
InventorsMark D. Callaghan, Wei Z. Li, William H. Waddington
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsMark D. Callaghan, Wei Z. Li, William H. Waddington
Estimating the term…
Several techniques for sorting item are described, generally referred to as (1) common prefix skipping quicksort; (2) key substring caching; and (3) adaptive quicksort. With common prefix skipping quicksort, common prefix bytes among all key values for a partition are computed while performing a quicksort partitioning operation, and the known common bytes are skipped when comparing two key values in a recursive partitioning operation. With key substring caching, each item is represented in a cached array comprising a particular number of bytes for respective portions of key values (“key substring”), where the key substring cache is updated contain bytes beyond the known number of common prefix bytes. An adaptive quicksort routine is a hybrid of a quicksort function and most significant digit radix sort function, where the functions are mutually recursive.
A method for sorting a set of items, based on one or more sort keys, using a quicksort algorithm, wherein each item in the set of items has one or more key values that are represented by an array of one or more bytes, and wherein the set of items can be ordered based on the arrays, the method comprising the computer-implemented steps of:
A computer-readable storage medium that stores instructions for sorting a set of items, based on one or more sort keys, using a quicksort algorithm, wherein each item in the set of items has one or more key values that are represented by an array of one or more bytes, and wherein the set of items can be ordered based on the arrays, which, when executed by one or more processors, cause the one or more processors to perform the steps of:
A method for sorting a set of items, based on one or more sort keys, wherein each item in the set of items has one or more key values that are represented by an array of one or more bytes, and wherein the set of items can be ordered based on the arrays, the method comprising the computer-implemented steps of:
A computer-readable storage medium for sorting a set of items, based on one or more sort keys, wherein each item in the set of items has one or more key values that are represented by an away of one or more bytes, and wherein the set of items can be ordered based on the arrays, which, when executed by one or more processors, cause the one or more processors to perform the steps of:
A method for sorting a set of items, based on one or more sort keys, wherein each item in the set of items has one or more key values that are represented by an array of one or more bytes, and wherein the set of items can be ordered based on the arrays, the method comprising the computer-implemented steps of:
A computer-readable storage medium that stores instructions for sorting a set of items, based on one or more sort keys, wherein each item in the set of items has one or more key values that are represented by an array of one or more bytes, and wherein the set of items can be ordered based on the arrays, which, when executed by one or more processors, cause the one or more processors to perform the steps of:
Dependencies are inferred from the claim text.