×

Data store with lock-free stateless paging capability

  • US 8,996,486 B2
  • Filed: 12/12/2005
  • Issued: 03/31/2015
  • Est. Priority Date: 12/15/2004
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for limiting a number of results returned from a data store in response to a query, comprising the steps of:

  • receiving, by a data store, a query comprising one or more query conditions, wherein said data store contains one or more data items, each having an ordinal ranking;

    determining, by said data store, if said query further comprises a marker that indicates the greatest ordinal ranking among ordinal rankings of results in a previous page of results;

    responsive to determining that said query does not comprise a marker, said data storedetermining an initial subset of data items of said one or more data items within said data store that satisfy said query conditions and that have lowest ordinal ranking among said one or more data items within said data store;

    generating a particular marker indicating a greatest ordinal ranking of ordinal rankings of said data items within said initial subset; and

    returning an initial page of results comprising said initial subset of data items and said particular marker for said initial page; and

    responsive to determining that said query comprises a marker, said data storedetermining a subsequent subset of data items within said data store that satisfy said query conditions and that have lowest ordinal ranking among data items within said data store that have ordinal ranking greater than said greatest ordinal ranking indicated by said marker, wherein said marker is said particular marker;

    updating said particular marker to indicate a greatest ordinal ranking among said ordinal rankings of said data items within said subsequent subset of data items; and

    returning a subsequent page of results comprising said subsequent subset of data items and said updated particular marker for said subsequent page;

    wherein submitting said updated particular marker to said data store within a subsequent query ensures that a subsequent page of results is disjoint from a previous page of results.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×