Atomic enforcement of cross-page data constraints in decoupled multi-writer databases

    公开(公告)号:US11379463B1

    公开(公告)日:2022-07-05

    申请号:US16586563

    申请日:2019-09-27

    Abstract: Systems and methods are disclosed to implement, in a database system, a database engine node that generates write tracking transactions to atomically enforce cross-page constraints for write operations. In embodiments, the database system may include multiple database engine nodes that optimistically perform page writes without checking for potential conflicts at a shared storage system. The storage system is configured to detect and report conflicting writes on the same page. To cause the storage system to report cross-page conflicts for a write, the database engine node creates a transaction that includes the write and a write tracker (WT) operation for a tracked page. The WT operation will cause the storage system to report any conflicting writes to the tracked page before the actual write is accepted by the storage system. If a reported conflict is not favorably resolved, the database engine node will abort the entire transaction, including the actual write.

    Cooperative log application
    25.
    发明授权

    公开(公告)号:US11003684B1

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

    申请号:US15199697

    申请日:2016-06-30

    Abstract: A replica database may receive a replication instruction from a master. The replica may maintain a version of a collection of data in database pages stored on a storage device. A replication thread may process the instruction. The replication thread may determine that an item affected by the instruction is located in a page that is both loaded into a memory buffer and subject to contention. The page may be modified with information indicating that the instruction has not been processed. A subsequent reader thread may, while processing a request to access the page, apply the instruction and complete processing of the request.

    Asynchronous processing for synchronous requests in a database

    公开(公告)号:US10885023B1

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

    申请号:US14480335

    申请日:2014-09-08

    Abstract: A database system may implement asynchronous processing for synchronous requests received at the database. A pool of request processing threads may be maintained. As access requests for the database are received from clients, an available request processing thread in the pool may process the access request. The access request may be dependent on a persistent storage I/O operation, such that processing of the access request waits at least until the persistent storage I/O operation is complete. The request processing thread may perform processing operations for the access request so that persistent storage I/O operation is performed and become available to process other access requests. A response processing thread may determine that the persistent storage I/O operation for the access request is complete, and send a response to the client.

    REPLICATED DATABASE STARTUP FOR COMMON DATABASE STORAGE

    公开(公告)号:US20170206236A1

    公开(公告)日:2017-07-20

    申请号:US15478162

    申请日:2017-04-03

    CPC classification number: G06F16/2358 G06F16/23 G06F16/27

    Abstract: Read-only nodes of a distributed database system may perform replicated database startup for common database storage. A read-only node may request a view of a database from a master node to initialize the read-only node for servicing queries. An indication of the view may be received and portions of data maintained for the distributed database may be read from a common data store maintaining the data for the database according to the indicated view of the database. In-memory data structures at the read-only node for servicing queries may be initialized based on the portions of data read from the common data store. The read-only node may then be made available for servicing queries.

Patent Agency Ranking