Invention Grant
- Patent Title: Maintaining states of partitions of a table for reclustering
-
Application No.: US17030565Application Date: 2020-09-24
-
Publication No.: US10997215B2Publication Date: 2021-05-04
- Inventor: Thierry Cruanes , Marcin Zukowski , Benoit Dageville , Jiaqi Yan
- Applicant: Snowflake Inc.
- Applicant Address: US CA San Mateo
- Assignee: Snowflake Inc.
- Current Assignee: Snowflake Inc.
- Current Assignee Address: US CA San Mateo
- Agency: Schwegman Lundberg & Woessner, P.A.
- Main IPC: G06F16/00
- IPC: G06F16/00 ; G06F16/28 ; G06F16/21 ; G06F16/245 ; G06F16/22 ; G06F16/30

Abstract:
The subject technology creates partitions based on changes to a table, at least one of the one or more partitions overlapping with respect to values of one or more attributes with at least one of another partition and a previous partition. The subject technology maintains states for the partitions, each state from the plurality of states representing a particular degree of clustering of the table. The subject technology determines a number of overlapping partitions and a depth of the overlapping partitions, and determines a clustering ratio based at least in part on the number of overlapping partitions and the depth. The subject technology reclusters partitions of the table to increase the clustering ratio, the clustering ratio determined by at least a proportion of rows in a layout of the table that satisfy an ordering criteria based at least in part a particular attribute of the one or more attributes.
Public/Granted literature
- US20210019336A1 MAINTAINING STATES OF PARTITIONS OF A TABLE FOR RECLUSTERING Public/Granted day:2021-01-21
Information query