Querying data set tables in a non-transactional database
First Claim
Patent Images
1. A computer-implemented method for searching a data set, comprising:
- under the control of one or more computer systems configured with executable instructions,storing a data set, the data set including a plurality of records and being structured according to a plurality of indices, each record of the plurality of records being associated with one or more indices of the plurality of indices;
receiving a request to create search indices for querying the data set, the request specifying a query object and one or more bases for query for the data set, the query object being a data field to be provided upon execution of the query and being sought to become searchable based at least in part on the one or more bases for query, an individual basis for query of the one or more bases for query being associated with an index of the plurality of indices of the data set;
constructing a table in a non-transactional database, the table having the one or more bases for query as a primary key and the query object as a secondary index, the primary key of the non-transactional database comprising a hash key and a hash range;
receiving a request to query the data set, the request specifying one or more records associated with the one or more bases for query; and
in response to receiving the request;
identifying the table based at least in part on the one or more bases for query;
searching the table to yield a record of the secondary index; and
providing the record of the secondary index.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for facilitating data set query is disclosed. In the method and apparatus one or more tables may be created for the data set, whereby each table of the one or more tables may enable searching the data set using one or more records that are associated with one or more indices of the data set. Upon receiving a request to search the data set, a table of the one or more table is identified based at least in part on the one or more bases for query and is searched to provide a yielded record.
16 Citations
20 Claims
-
1. A computer-implemented method for searching a data set, comprising:
under the control of one or more computer systems configured with executable instructions, storing a data set, the data set including a plurality of records and being structured according to a plurality of indices, each record of the plurality of records being associated with one or more indices of the plurality of indices; receiving a request to create search indices for querying the data set, the request specifying a query object and one or more bases for query for the data set, the query object being a data field to be provided upon execution of the query and being sought to become searchable based at least in part on the one or more bases for query, an individual basis for query of the one or more bases for query being associated with an index of the plurality of indices of the data set; constructing a table in a non-transactional database, the table having the one or more bases for query as a primary key and the query object as a secondary index, the primary key of the non-transactional database comprising a hash key and a hash range; receiving a request to query the data set, the request specifying one or more records associated with the one or more bases for query; and in response to receiving the request; identifying the table based at least in part on the one or more bases for query; searching the table to yield a record of the secondary index; and providing the record of the secondary index. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A system, comprising at least one computing device configured to implement one or more services, the one or more services are configured to:
-
receive a plurality of query pairs, a query pair of the plurality of query pairs including a query object for a data set and one or more bases for query for the data set, the data set being organized according to a plurality of indices, the query object being associated with an index of the plurality of indices and the one or more bases for query are associated with one or more indices of the plurality of indices; and for the query pair of the plurality of query pairs; create a table for the data set in a NoSQL database, the table being searchable based at least in part on one or more records of the one or more bases for query for the query pair, the table having a primary key comprising a hash key and a hash range; and cause the table to be searched to yield a yielded record, the yielded record belonging to the query object of the query pair. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A non-transitory computer-readable storage medium having collectively stored thereon executable instructions that, when executed by one or more processors of a computer system, cause the computer system to at least:
-
store a data set, the data set being searchable based at least in part on a plurality of indices associated with the data set; for at least one pair of indices of the plurality of indices, create a table in a non-transactional database for the data set, the table being populated by records of the data set and the table being searchable based at least in part on the pair of indices, the table having a primary key comprising a hash key and a hash range; receive a request to query the table, the request specifying, for an index of the pair of indices, a record associated with the index; and in response to the request; identify the table based at least in part on the pair of indices; and search the table to yield a resulting record, the resulting record belonging to an index of the plurality of indices that is different than the pair of indices. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification