Generating data structures for storing database metadata

    公开(公告)号:US11055291B2

    公开(公告)日:2021-07-06

    申请号:US17086275

    申请日:2020-10-30

    Applicant: Snowflake Inc.

    Abstract: The subject technology generates a first data structure including first metadata and a second data structure including second metadata, the first metadata corresponding to a set of micro-partitions, the second metadata for a grouping of the first metadata, the second data structure including information associating the second metadata to the first metadata. The subject technology stores the first data structure and the second data structure in storage as a first file and a second file. The subject technology stores third metadata for a table, the third metadata comprising: cumulative table metadata comprising global information about a plurality of micro-partitions of the table, the cumulative table metadata being stored in a metadata micro-partition associated with the table.

    Performing geospatial-function joins using point-based relation splitting

    公开(公告)号:US11036738B1

    公开(公告)日:2021-06-15

    申请号:US16941236

    申请日:2020-07-28

    Applicant: Snowflake Inc.

    Abstract: A database platform receives query instructions for a query on a database, where the query instructions include a geospatial-function join that applies a geospatial-function predicate to a first relation that includes a first join key and a second relation that includes at least one row in which a second join key is a point. The database platform generates a query-execution plan by replacing the geospatial-function join with a one-sided interval join of at least a first portion of the first relation and the at least one row of the second relation in which the second join key is a point, and by also inserting a filter above the one-sided interval join to apply the geospatial-function predicate. The database platform executes the query-execution plan, and returns query results in response to the query.

    Storing database metadata in multiple levels

    公开(公告)号:US10997212B2

    公开(公告)日:2021-05-04

    申请号:US17062859

    申请日:2020-10-05

    Applicant: Snowflake Inc.

    Abstract: The subject technology stores database data in a table, the table comprising a plurality of micro-partitions each having rows and columns. The subject technology stores metadata for the table in a data structure, the metadata comprising a first level of the data structure comprising a column expression property comprising information about data stored in a column of a micro-partition of the table, a micro-partition expression property comprising information about data stored in the micro-partition of the table, and a second level of the data structure comprising a grouping expression property comprising information about data stored in the micro-partition and one or more additional micro-partitions of the table.

Patent Agency Ranking