Trace events in a database system
    392.
    发明授权

    公开(公告)号:US11907212B1

    公开(公告)日:2024-02-20

    申请号:US18194357

    申请日:2023-03-31

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/2448 G06F16/2365 G06F16/248 G06F9/54

    Abstract: Provided herein are systems and methods for configuring trace events. A system includes at least one hardware processor coupled to a memory and configured to instantiate a user code runtime to execute user-defined function (UDF) code. The user code runtime is instantiated within a sandbox process of an execution node. An application programming interface (API) call is detected during execution of the UDF code. The API call includes one or more configurations of a trace event. Telemetry information is collected based on the one or more configurations. The telemetry information is associated with the trace event using a telemetry API. The telemetry API corresponds to the API call. The telemetry information is formatted using the telemetry API, to generate structured telemetry information. The at least one hardware processor causes ingestion of the structured telemetry information into an event table.

    Hybrid table secondary index for lookups, unique checks, and referential integrity constraints

    公开(公告)号:US11880388B2

    公开(公告)日:2024-01-23

    申请号:US18171292

    申请日:2023-02-17

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/283 G06F16/2264 G06F16/284

    Abstract: The subject technology receives, from a metadata database, information related to a base table. The subject technology determines a table object associated with the base table, the table object including a first set of metadata. The subject technology generates a nested object based on a second set of metadata, the second set of metadata including information linking the nested object to the table object. The subject technology generates a second table object associated with the nested object, the second table object representing a secondary index of the base table, the second table object including information linking the second table object to the nested object. The subject technology establishes a link between the second table object to the base table based on the nested object. The subject technology stores, in the metadata database, the nested object and the second table object.

    Pruning data based on state of top K operator

    公开(公告)号:US11880369B1

    公开(公告)日:2024-01-23

    申请号:US18057563

    申请日:2022-11-21

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/24557 G06F16/24578

    Abstract: A top K query directed at a table is received. The table is organized into multiple storage units. The top K query comprises a first clause to sort a result set in order and a second clause that specifies a limit on a number of results provided in response to the query. A table scan operator identifies a first set of rows from the table based on a scan set determined for the table and provides the first set of rows to a top K operator. The top K operator determines a current boundary based on the first set of rows and provides the current boundary to the table scan operator. The table scan operator prunes the scan set based on the current boundary and identifies a second set of rows from the table based on the pruning.

    Predictive resource allocation for distributed query execution

    公开(公告)号:US11880364B2

    公开(公告)日:2024-01-23

    申请号:US17157233

    申请日:2021-01-25

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/24542 G06F16/2455 G06N20/00

    Abstract: The subject technology receives a query directed to a set of source tables, each source table organized into a set of micro-partitions. The subject technology determines a set of metadata, the set of metadata comprising table metadata, query metadata, and historical data related to the query. The subject technology predicts, using a machine learning model, an indicator of an amount of computing resources for executing the query based at least in part on the set of metadata. The subject technology generates a query plan for executing the query based at least in part on the predicted indicator of the amount of computing resources. The subject technology executes the query based at least in part on the query plan.

    Distributed secret storage and authorization

    公开(公告)号:US11870895B1

    公开(公告)日:2024-01-09

    申请号:US18320152

    申请日:2023-05-18

    Applicant: Snowflake Inc.

    CPC classification number: H04L9/0861 H04L9/0819 H04L9/0894

    Abstract: A data platform provides for encryption of secrets. During operation, an application of the data platform receives a secret and communicates the secret to an encryption client of the data platform. The encryption client generates an encrypted secret using a Data Encryption Key (DEK) and the secret. The encryption client communicates the DEK to an encryption server of the data platform while retaining the encrypted secret. The encryption server generates an encrypted DEK using a Transit Encryption Key TEK. The encryption server communicates the encrypted DEK to the encryption client and the encryption client generates a binary large object (blob) using the retained encrypted secret and the encrypted DEK. The application stores the blob on a data storage device.

Patent Agency Ranking