Patent · US Active

Aggregation operations in a distributed database

US12038929B2 · kind B2 · utility

0Cited by
17References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 13, 2023
Grant dateJul 16, 2024
Priority date
Expiry dateJun 13, 2043

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/27
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Query planning in a distributed database that includes a table partitioned into shards according to a sharding criterion and distributed to database instances includes receiving a data-query. The data-query includes a “distinct count” clause on a first column and a “group by” clause on least a second column. A query plan is formulated to include respective instructions for converting, at at least some of the database instances, distinct values of the first column grouped by values of the second column into a count of the distinct values grouped by the values of the second column to obtain respective intermediate results; instructions for receiving the respective intermediate results from at least a subset of the at least some of the database instances; and instructions for concatenating the respective intermediate results using a summing operation to obtain the first “distinct count” of the first column grouped by the second column.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.