Granting access to resources of a database

    公开(公告)号:US12013960B2

    公开(公告)日:2024-06-18

    申请号:US18343361

    申请日:2023-06-28

    Applicant: SNOWFLAKE INC.

    CPC classification number: G06F21/6218 G06F16/256 G06F2221/2145

    Abstract: A method of sharing data in a multi-tenant database includes inspecting, by a processing device of a multiple tenant database, a sharer account to determine an existence of a link between an alias object in a target account and a database, wherein the database is linked to a first role object included in a share object in the sharer account. The method includes granting a second role object, in the target account, access rights to the alias object, wherein the first role object having one or more grants to one or more resources of the sharer account, and wherein the target account accesses the one or more resources using the one or more grants of the share object and using the alias object without at least one of copying the one or more resources or transmitting the one or more resources.

    Build-side skew handling for hash-partitioning hash joins

    公开(公告)号:US12001428B2

    公开(公告)日:2024-06-04

    申请号:US18047872

    申请日:2022-10-19

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/24537 G06F16/2255

    Abstract: Provided herein are systems and methods for handling build-side skew. For example, a method includes computing a plurality of hash values for a join operation. The join operation uses a corresponding plurality of row sets. The plurality of hash values are sampled to detect a frequent hash value. A build-side row set is partitioned using the frequent hash value to generate a partitioned build-side row set. The build-side row set is selected from the plurality of row sets. The partitioned build-side row set is distributed to a plurality of hash-join-build (HJB) instances executing at a corresponding plurality of servers.

    SHARE-BASED REPLICATION
    65.
    发明公开

    公开(公告)号:US20240176711A1

    公开(公告)日:2024-05-30

    申请号:US18329348

    申请日:2023-06-05

    Applicant: Snowflake Inc.

    CPC classification number: G06F11/203 G06F16/256 G06F16/27

    Abstract: The subject technology determines a set of share objects in a replication group. The subject technology, for each object from the set of share objects, determines a set of permissions for a set of objects of databases that has been granted to each share object from the replication group. The subject technology, for each permission from the set of permissions, determines a set of dependencies, the set of dependencies comprising a second set of objects. The subject technology generates a graph structure based at least in part on the set of share objects, the set of permissions, and the set of dependencies. The subject technology traverses at least a portion of the graph structure to determine a final set of dependencies for replication. The subject technology performs a replication process based at least in part on the final set of dependencies.

    IMPLEMENTING INHERITED GRANTS USING SECURE SCHEMAS

    公开(公告)号:US20240169077A1

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

    申请号:US18228546

    申请日:2023-07-31

    Applicant: Snowflake Inc.

    CPC classification number: G06F21/604 G06F21/6218

    Abstract: Embodiments of the present disclosure provide systems and methods for using secure schemas to address inconsistencies between standard RBAC rules and the use of inherited grants. A secure schema may be defined that transfers ownership of an object created in the secure schema to a role that owns the secure schema. An inherited grant may be attached to the secure schema, where the inherited grant specifies a permission on a first type of object in the secure schema and a grant of the permission to the role that owns the secure schema. When objects are created in the secure schema, ownership of each of the set of objects is transferred to the role that owns the secure schema to authorize the role that owns the secure schema to manage grants to the set of objects on the secure schema.

    FETCHING QUERY RESULT DATA USING RESULT BATCHES

    公开(公告)号:US20240160636A1

    公开(公告)日:2024-05-16

    申请号:US18419165

    申请日:2024-01-22

    Applicant: Snowflake Inc.

    Abstract: Techniques for fetching query result data using result batches includes retrieving query result information from a first computing node of a database system. The query result information includes result data associated with a multi-stage execution of a query. A plurality of result batches are generated based on the query result information. Each result batch of the plurality of result batches includes a retrieval function for a portion of the result data. The portion of the result data for each result batch of the plurality of result batches is retrieved based on execution of the retrieval function by at least a second computing node of the database system. The result data associated with the multi-stage execution of the query is output based on completion of the retrieval.

    DATA ENCRYPTION USING PUBLIC KEY CRYPTOGRAPHY AND CERTIFICATE VERIFICATION

    公开(公告)号:US20240146716A1

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

    申请号:US18299455

    申请日:2023-04-12

    Applicant: Snowflake Inc.

    CPC classification number: H04L63/0823 H04L9/0825 H04L9/085

    Abstract: A system and method of encrypting data using public key cryptography and certificate verification. The method includes receiving a request for a digital certificate. The method includes signing, by a processing device, the request using a second private key to generate a signed request. The method includes generating the digital certificate based on the signed request and a different private key. The method includes causing the digital certificate to be stored in a shared data storage available to a first client device. The method includes signing an encrypted secret using a first private key associated with the first client device to generate a signed encrypted secret, wherein the first private key is inaccessible to the first client device.

Patent Agency Ranking