Validating and non-validating secondary indexes for a table in a non-relational data store
First Claim
1. A system, comprising:
- one or more storage nodes maintaining a table in a non-relational data store;
one or more other storage nodes maintaining a secondary index for the table in the non-relational data store according to an indexing schema; and
one or more processors and memory to implement a storage engine for the table, configured to;
receive an operation for a given item in the table, wherein the given item is eligible to be included in the secondary index;
validate one or more key values of the given item according to respective key validation parameters in the indexing schema;
detect an invalid value for at least one of the key values according to the validation;
identify the secondary index as a non-validating secondary index; and
perform the operation with respect to the given item even though the invalid value was detected for at least one of the key values of the given item.
1 Assignment
0 Petitions
Accused Products
Abstract
A non-relational data store may implement validating and non-validating secondary indexes for a table. Operations at a table for a given item may be performed when indexing the item to create a secondary index or when updates to the given item are received. Attribute values of a given item may be validated with respect to an indexing schema for the secondary index. For a non-validating secondary index, validation errors detected for the attribute values may be ignored so that the operation at the table may be performed. For a validating secondary index, validation errors detected for the attribute values may result in denying performance of the operation. In some embodiments, a secondary index from may be changed from validating to non-validating, or non-validating to validating.
-
Citations
20 Claims
-
1. A system, comprising:
-
one or more storage nodes maintaining a table in a non-relational data store; one or more other storage nodes maintaining a secondary index for the table in the non-relational data store according to an indexing schema; and one or more processors and memory to implement a storage engine for the table, configured to; receive an operation for a given item in the table, wherein the given item is eligible to be included in the secondary index; validate one or more key values of the given item according to respective key validation parameters in the indexing schema; detect an invalid value for at least one of the key values according to the validation; identify the secondary index as a non-validating secondary index; and perform the operation with respect to the given item even though the invalid value was detected for at least one of the key values of the given item. - View Dependent Claims (2, 3, 4)
-
-
5. A method, comprising:
performing, by one or more computing devices; evaluating a given item for performance of an operation at a table with respect to the given item stored in the table, wherein the given item is eligible to be included in a secondary index for the table, wherein the table and the secondary index are maintained in a non-relational data store, and wherein the evaluating comprises; validating one or more attribute values of the given item according to an indexing schema for the secondary index; detecting an invalid value for at least one of the attribute values according to the validation; identifying that the secondary index is a non-validating index; and performing the operation with respect to the given item even though the invalid value was detected for at least one of the attribute values of the given item. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12, 13)
-
14. A non-transitory, computer-readable storage medium, storing program instructions that when executed by one or more computing devices cause the one or more computing devices to implement:
receive an operation at a table with respect to a given item stored in the table, wherein the given item is eligible to be included in a secondary index for the table, wherein the secondary index and the table are maintained in a non-relational data store; validating one or more attribute values of the given item according to an indexing schema for the secondary index; detecting an invalid value for at least one of the attribute values according to the validation; identifying that the secondary index is a non-validating index; and performing the operation with respect to the given item even though the invalid value was detected for at least one of the attribute values of the given item. - View Dependent Claims (15, 16, 17, 18, 19, 20)
Specification