DISTRIBUTED STOP OPERATOR FOR LIMIT QUERIES

    公开(公告)号:US20220058206A1

    公开(公告)日:2022-02-24

    申请号:US17517935

    申请日:2021-11-03

    Applicant: Snowflake Inc.

    Abstract: A global and local row count limit associated with a limit query are received by a stop operator of a first execution node among a set of execution nodes that are assigned to process the limit query. Local distributed row count data is generated based on a local row count corresponding to a number of rows output by the first execution node in processing the query. Based on determining the local row count satisfies the local limit, the first execution node buffers rows produced in processing the query. The local distributed row count data is updated based on remote distributed row count data received from a second execution node. A stopping condition is detected based on determining the global limit is satisfied based on updated local distributed row count data and query processing by the first execution node based on detecting the stopping condition.

    Account-level namespaces for database platforms

    公开(公告)号:US11249988B2

    公开(公告)日:2022-02-15

    申请号:US16945344

    申请日:2020-07-31

    Applicant: Snowflake Inc.

    Abstract: A database platform receives an object identifier from a client in association with a database session. The client is associated with a customer account of the database platform, and the database session is associated with the client. In response to receiving the object identifier, the database platform identifies a resolution namespace for the object identifier, where the resolution namespace for the object identifier is a namespace that is specified in the object identifier if the object identifier includes a specified namespace, and where the resolution namespace is otherwise a current account-level namespace of the database session. The database platform resolves the object identifier with reference to the identified resolution namespace for the object identifier, including identifying an object corresponding to the object identifier in the customer account.

    Data cloud connected applications
    214.
    发明授权

    公开(公告)号:US11244067B1

    公开(公告)日:2022-02-08

    申请号:US17162376

    申请日:2021-01-29

    Applicant: Snowflake Inc.

    Abstract: Security credentials associated with a first account maintained by a database system are authenticated. Based on authenticating the security credentials, a user interface element is provided to enable sharing of customer data associated with the first account with an application. A request to share customer data with the application is received. Based on the request, third-party data that is accessible by the first account is identified. The third-party data corresponds to a second account maintained by the database system. The second account corresponds to a third-party data provider. The application is enabled to access cloud data associated with the first account based on the request. The cloud data comprises the customer data and the third-party data.

    Distributed deadlock detection and resolution in distributed databases

    公开(公告)号:US11243820B1

    公开(公告)日:2022-02-08

    申请号:US17334946

    申请日:2021-05-31

    Applicant: Snowflake Inc.

    Abstract: The subject technology performs a locking operation on a first set of keys by a first statement of a first transaction. The subject technology determines that a conflict occurred between the first statement and a second transaction. The subject technology determines that the second transaction has yet to complete after a predetermined period of time. The subject technology performs a deadlock detection process where the subject technology stores a key and value in a table indicating the first transaction and the second transaction, detects, based at least in part on a graph traversal of the table starting from the first transaction, a cycle between the first transaction and the second transaction, and determines that the first transaction is a youngest transaction in the detected cycle. The subject technology ceases execution of the first transaction in response to the first transaction being a youngest transaction in a detected cycle.

    Managing freepool resources using predicted size values

    公开(公告)号:US11243811B1

    公开(公告)日:2022-02-08

    申请号:US17390265

    申请日:2021-07-30

    Applicant: Snowflake Inc.

    Abstract: The subject technology requests information related to usage history metadata from a metadata database. The subject technology receives the requested information from the metadata database, the requested information comprising information related to user demand. The subject technology predicts a size value indicating an amount of computing resources to request for executing a set of queries based on the usage history metadata. The subject technology determines, during a prefetch window of time within a first period of time, a current size of freepool of computing resources. The subject technology, in response to the current size of the freepool of computing resources being smaller than the predicted size value, sends a request for additional computing resources to include in the freepool of computing resources.

    ATTACHABLE-AND-DETACHABLE DATABASE SESSIONS

    公开(公告)号:US20220019557A1

    公开(公告)日:2022-01-20

    申请号:US17219860

    申请日:2021-03-31

    Applicant: Snowflake Inc.

    Abstract: In an embodiment, a database platform receives a request from a client for creation of an attachable-and-detachable database session, and responsively creates the requested attachable-and-detachable database session for the client. The database platform sets the attachable-and-detachable database session as a current database session for the client at the database platform. The database platform determines that the client has detached from the attachable-and-detachable database session, and thereafter continues to maintain the attachable-and-detachable database session in data storage at the database platform.

Patent Agency Ranking