Invention Grant
- Patent Title: Aggregation operations in a distributed database
-
Application No.: US17214247Application Date: 2021-03-26
-
Publication No.: US11720570B2Publication Date: 2023-08-08
- Inventor: Ashok Anand , Ambareesh Sreekumaran Nair Jayakumari , Prateek Gaur , Donko Donjerkovic
- Applicant: ThoughtSpot, Inc.
- Applicant Address: US CA Sunnyvale
- Assignee: ThoughtSpot, Inc.
- Current Assignee: ThoughtSpot, Inc.
- Current Assignee Address: US CA Mountain View
- Agency: Young Basile Hanlon & MacFarlane, P.C.
- Main IPC: G06F16/2455
- IPC: G06F16/2455 ; G06F16/27 ; G06F16/22 ; G06F16/248

Abstract:
Querying a distributed database including a table sharded into shards distributed to database instances includes receiving a data-query that includes an aggregation clause on a first column and a grouping clause on a second column; obtaining and outputting results data. Obtaining the results data includes receiving, by a query coordinator, intermediate results data; and combining, by the query coordinator, the intermediate results to obtain the results data. Receiving the intermediate results data includes receiving, from a first database instance, first aggregation values indicating, on a per-group basis in accordance with the grouping clause, a respective aggregation value of distinct values of the first column in accordance with the aggregation clause, and receiving, from a second database instance, second aggregation values indicating, on a per-group basis in accordance with the grouping clause, a respective aggregation value of distinct values of the first column in accordance with the aggregation clause.
Public/Granted literature
- US20220309067A1 Aggregation Operations In A Distributed Database Public/Granted day:2022-09-29
Information query