×

System and method for partitioning and indexing table data using a composite primary key

  • US 8,819,027 B1
  • Filed: 10/28/2013
  • Issued: 08/26/2014
  • Est. Priority Date: 06/27/2011
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • a plurality of computing nodes, each comprising at least one processor and memory, wherein the plurality of computing nodes is configured to implement a data storage service;

    wherein the data storage service provides a web services interface through which service requests are received;

    wherein the data storage service maintains a plurality of tables in a non-relational data store on behalf of one or more storage service clients, wherein each table is configured to store a plurality of items;

    wherein each of the plurality of tables is partitioned and indexed according to a respective primary key that comprises a hash key component and a range key component;

    wherein in maintaining a given table, the data storage service is configured to partition the given table;

    wherein the data storage service determines or a service request specifies a maximum number of items whose attribute values can be returned in response to a single request;

    wherein in response to receiving a service request to query the given table, the data storage service is configured to;

    determine whether any items that are stored in the given table match a query condition that is specified in the request; and

    return information indicating whether any items that are stored in the given table match the specified query condition, wherein said return information comprises return an identifier of a last item in the given table whose attribute values are returned in response to the request;

    wherein the identifier of thelast item is usable to specify a point in the given table for a subsequent request to begin evaluating additional items in the given table in order to apply the query condition to any remaining items in the given table; and

    wherein the query condition specifies a value for a hash key component of the items targeted by the query and a range key component condition.

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