×

Index merge ordering

  • US 9,734,177 B2
  • Filed: 10/02/2014
  • Issued: 08/15/2017
  • Est. Priority Date: 06/12/2014
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method to order query results, comprising:

  • processing a received query at least in part using a composite key index, wherein the composite key index comprises at least two key columns, wherein the at least two key columns comprise at least one pre-ordering column and an ordering column, wherein the query specifies ordering criteria to order a result set based on values of the ordering column, by;

    receiving, from the composite key index, an ordering column value for each unique pre-ordering column value in the composite key index;

    identifying a first ordering column value as being ordered first according to the ordering criteria;

    returning the first ordering column value as being responsive to the query;

    replacing, in a list of the ordering column values received from the composite key index, the first ordering column value with a second ordering column value received from the composite key index, the second ordering column value sharing the unique pre-ordering column value of the first ordering column value;

    identifying a next ordering column value as being ordered first among the ordering column values in the list according to the ordering criteria; and

    returning the next ordering column value as being responsive to the query.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×