Patent ID: 11947537
Assignee: AMAZON TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 4:
5. A method, comprising:
evaluating, by a non-relational database system, performance of one or more queries to a database at the database system to determine to create an additional index that projects a subset of data in the database to access for performing one or more subsequent queries to the database;
creating, by the non-relational database system, the additional index while the database system is available to accept queries to the database; and
including, by the non-relational database system, the additional index in planning for performing the one or more subsequent queries to the database, wherein the planning comprises:
determining respective types of consistency specified in the one or more subsequent queries; and
selecting the secondary index to perform the one or more subsequent queries instead of the one or more tables in the database according to the determined respective types of consistency for the one or more subsequent queries.