Invention Grant
- Patent Title: Automatic pruning cutoff in a database system
-
Application No.: US17162979Application Date: 2021-01-29
-
Publication No.: US11615095B2Publication Date: 2023-03-28
- Inventor: Bicheng Gao , Srinivas Vemuri , Jiaqi Yan
- Applicant: Snowflake Inc.
- Applicant Address: US MT Bozeman
- Assignee: Snowflake Inc.
- Current Assignee: Snowflake Inc.
- Current Assignee Address: US MT Bozeman
- Agency: Schwegman Lundberg & Woessner, P.A.
- Main IPC: G06F16/2455
- IPC: G06F16/2455 ; G06F11/34 ; G06F16/248 ; G06F16/22 ; G06F16/2453

Abstract:
During a query compilation process, a query is received that is directed to a set of source tables, each source table from the set of source tables being organized into at least one micro-partition and the query including at least one pruning operation. During the query compilation process, a modification of the query is performed for adjusting the at least one pruning operation, the modification being based on a set of statistics collected for previous pruning operations on at least a portion of the set of source tables and a set of heuristics, the set of statistics indicating at least an amount of execution time for each previous query associated with each of the previous pruning operations. The query is compiled including the modification of the query. The compiled query is provided to an execution node of a database system for execution.
Public/Granted literature
- US20220138196A1 AUTOMATIC PRUNING CUTOFF IN A DATABASE SYSTEM Public/Granted day:2022-05-05
Information query