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

Claim 0:
1. A system, comprising:
at least one processor; and
a memory, storing program instructions that when executed by the at least one processor, cause the at least one processor to implement a router of a database service, the router configured to:
receive a query statement directed to one or more database tables;
parse the query statement;
evaluate the parsed query statement with respect to metadata obtained for the one or more database tables to determine an assignment distribution of one or more database nodes of the database service to data that can satisfy the query statement;
select one or more planning locations to perform the query statement based, at least in part, on the assignment distribution of the one or more database nodes, wherein the one or more planning locations are selected from a plurality of planning locations comprising the router and the one or more database nodes; and
cause the query statement to be performed according to planning performed at the one or more planning locations.