Concurrent transaction processing in a database system

    公开(公告)号:US11468032B2

    公开(公告)日:2022-10-11

    申请号:US17163034

    申请日:2021-01-29

    Applicant: Snowflake Inc.

    Abstract: The subject technology receives a first transaction. The subject technology assigns a first read version to the first transaction, the first read version indicating a first version of the linearizable storage. The subject technology performs a read operation from the first transaction on a table in a database. The subject technology determines a first commit version identifier corresponding to first data resulting from the read operation. The subject technology, in response to determining that a particular write operation is absent from the first transaction, proceeding to execute a different transaction and foregoing to perform a commit process in connection with the first transaction.

    Concurrent transaction processing in a database system

    公开(公告)号:US11436212B2

    公开(公告)日:2022-09-06

    申请号:US17454368

    申请日:2021-11-10

    Applicant: Snowflake Inc.

    Abstract: The subject technology inserts, by a first transaction, a new version of an object, the inserting corresponding to a first statement from the first transaction, the first statement including information indicating a first key, a first transaction identifier, a first statement number, and a first restart count. The subject technology performs, by a second transaction, a range read, the range read including information indicating the first key. The subject technology receives, after performing the range read, a set of conflicting transactions. The subject technology determines that a conflict occurred between the first transaction and a third transaction from the set of conflicting transactions.

Patent Agency Ranking