- 专利标题: Automatic creation of indexes for database tables
-
申请号: US15614913申请日: 2017-06-06
-
公开(公告)号: US11132367B1公开(公告)日: 2021-09-28
- 发明人: Andrew Christopher Chud
- 申请人: Amazon Technologies, Inc.
- 申请人地址: US WA Seattle
- 专利权人: Amazon Technologies, Inc.
- 当前专利权人: Amazon Technologies, Inc.
- 当前专利权人地址: US WA Seattle
- 代理机构: Kowert, Hood, Munyon, Rankin & Goetzel, P.C.
- 代理商 Robert C. Kowert
- 主分类号: G06F16/24
- IPC分类号: G06F16/24 ; G06F16/2455 ; G06F16/242 ; G06F16/2453
摘要:
Systems and methods are disclosed to implement the automatic creation of an auto-partitioning second index (APSI) for a storage object in a storage service. According to embodiments, when a query to the storage object is received specifying a sort condition based on an attribute of the storage object, the storage service may determine that an APSI should be created to optimize for queries with that type of sort condition. The storage service then automatically creates a new APSI that is partitioned according to an auto-generated partition key and stores the data in sorted order in each partition based on the attribute as a sort key. Later queries to the storage object specifying the same type of sort condition are forwarded to the new APSI. A query directed to the APSI is divided into subqueries sent to APSI's partitions in parallel, and results are aggregated to produce the final query result.
信息查询