PRUNING CUTOFFS FOR DATABASE SYSTEMS

    公开(公告)号:US20220138202A1

    公开(公告)日:2022-05-05

    申请号:US17540945

    申请日:2021-12-02

    Applicant: Snowflake Inc.

    Abstract: The subject technology receives, during a query compilation process, a query 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. The subject technology performs, during the query compilation process, a modification of the query for adjusting the at least one pruning operation, the modification being based at least in part 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 subject technology compiles the query including the modification of the query. The subject technology provides the compiled query to an execution node of a database system for execution.

    Responsive plan stability
    556.
    发明授权

    公开(公告)号:US11314740B1

    公开(公告)日:2022-04-26

    申请号:US17236471

    申请日:2021-04-21

    Applicant: Snowflake Inc.

    Abstract: The subject technology receives a first query plan corresponding to a first query, the first query plan comprising a new query plan different than a previous query plan for the first query. The subject technology determines a value indicating an estimated improvement in execution time of the first query plan in comparison to a previous execution time of the previous query plan. The subject technology determines that the value is greater than a threshold value. The subject technology, in response to the value being greater than the threshold value, executes the first query using the first query plan.

    Pruning index to support semi-structured data types

    公开(公告)号:US11308090B2

    公开(公告)日:2022-04-19

    申请号:US17394149

    申请日:2021-08-04

    Applicant: Snowflake Inc.

    Abstract: A source table organized into a set of batch units is accessed. The source table comprises a column of data corresponding to a semi-structured data type. One or more indexing transformations for an object in the column are generated. The generating of the one or more indexing transformation includes converting the object to one or more stored data types. A pruning index is generated for the source table based in part on the one or more indexing transformations. The pruning index comprises a set of filters that index distinct values in each column of the source table, and each filter corresponds to a batch unit in the set of batch units. The pruning index is stored in a database with an association with the source table.

    System for implementing an object tagging framework

    公开(公告)号:US11301478B1

    公开(公告)日:2022-04-12

    申请号:US17160960

    申请日:2021-01-28

    Applicant: Snowflake Inc.

    Abstract: A method of implementing object tagging framework starts with the processor receiving a tag creation command including a tag name. In response to the tag creation command, the processor creates a current tag. The processor then receives an association command, the tag name and a source object identifier. The processor determines a source object associated with the source object identifier. The source object includes a tag value. The processor associates the current tag with the source object. The processor receives a replication command including the source object and a target object. The processor causes replication of the source object to the target object that comprises replicating the current tag with the tag name and the tag value in the source object to the target object. Other embodiments are also described herein.

Patent Agency Ranking