High-performance log-based processing

    公开(公告)号:USRE47106E1

    公开(公告)日:2018-10-30

    申请号:US14194282

    申请日:2014-02-28

    Abstract: Each of a plurality of Worker processes are allowed to perform any and all of the following tasks involving logged work items: (1) reading a subset of the work items from a log; (2) sequentially ordering work items for corresponding data objects; (3) applying a sequentially ordered set of work items to a corresponding data object; and (4) transmitting a subset of work items to a Worker process running on another database server in a cluster, if necessary. These tasks can be performed concurrently, at will, and as available, by the Worker processes. An improved checkpointing technique eliminates the need for the Worker processes to get to a synchronization point and stop. Instead, a Coordinator process examines the current state of progress of the Worker processes and computes a past point in the sequence of work items at which all work items before that point have been completely processed, and records this point as the checkpoint.

    Zero-Data-Loss with Asynchronous Redo Shipping to a Standby Database

    公开(公告)号:US20180074915A1

    公开(公告)日:2018-03-15

    申请号:US15266375

    申请日:2016-09-15

    Abstract: Herein are techniques of zero data loss with asynchronously replicated redo logs. In an embodiment, a first server instance (FSI) of a plurality of server instances (PSI) of a primary database (PDB) sends, to a standby database (SDB) during an shutdown of FSI, a first recovery count (RC) and a remainder of an instance redo log (IRL). In response to recovering FSI, a second server instance of PSI increments a recovery counter to a second RC (SRC), publishes SRC to PSI, and sends SRC to SDB. After restarting FSI, FSI makes a change to contents of PDB, and stores, into IRL, a redo entry that defines the change. During failover, a database management system (DBMS) detects whether RCs associated with FSRL and SSRL are unanimous. If unanimous, DBMS fully rolls forward SDB by replaying FSRL and SSRL. Otherwise, DBMS limits replay and indicates that FSRL and SSRL might be inconsistent.

    Multi-instance redo apply
    23.
    发明授权

    公开(公告)号:US09767178B2

    公开(公告)日:2017-09-19

    申请号:US14067129

    申请日:2013-10-30

    Abstract: A method, apparatus, and system for multi-instance redo apply is provided for standby databases. A multi-instance primary database generates a plurality of redo records, which are received and applied by a physical standby running a multi-instance standby database. Each standby instance runs a set of processes that utilize non-blocking, single-task threads for high parallelism. At each standby instance for the multi-instance redo, the plurality of redo records are merged into a stream from one or more redo strands in logical time order, distributed to standby instances according to determined apply slave processes using an intelligent workload distribution function, reemerged after receiving updates from remote instances, and applied in logical time order by the apply slave processes. Redo apply progress is tracked at each instance locally and also globally, allowing a consistent query logical time to be maintained and published to service database read query requests concurrently with the redo apply.

    MULTI-INSTANCE REDO APPLY
    24.
    发明申请

    公开(公告)号:US20170212817A1

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

    申请号:US15482225

    申请日:2017-04-07

    Abstract: A method, apparatus, and system for multi-instance redo apply is provided for standby databases. A multi-instance primary database generates a plurality of redo records, which are received and applied by a physical standby running a multi-instance standby database. Each standby instance runs a set of processes that utilize non-blocking, single-task threads for high parallelism. At each standby instance for the multi-instance redo, the plurality of redo records are merged into a stream from one or more redo strands in logical time order, distributed to standby instances according to determined apply slave processes using an intelligent workload distribution function, remerged after receiving updates from remote instances, and applied in logical time order by the apply slave processes. Redo apply progress is tracked at each instance locally and also globally, allowing a consistent query logical time to be maintained and published to service database read query requests concurrently with the redo apply.

    DATA TRANSFERS BETWEEN CLUSTER INSTANCES WITH DELAYED LOG FILE FLUSH
    25.
    发明申请
    DATA TRANSFERS BETWEEN CLUSTER INSTANCES WITH DELAYED LOG FILE FLUSH 有权
    数据传输之间的串联事件与延迟日志文件FLUSH

    公开(公告)号:US20160019121A1

    公开(公告)日:2016-01-21

    申请号:US14337077

    申请日:2014-07-21

    Abstract: Techniques for processing changes in a cluster database system are provided. A first instance in the cluster transfers a data block to a second instance in the cluster before a redo record that stores one or more changes that the first instance made to the data block is durably stored. The first instance also transfers, to the second instance, a block change timestamp that indicates when a redo record for the one or more changes was generated by the first instance. The first instance also separately sends, to the second instance, a last store timestamp that indicates when the last redo record that was durably stored was generated by the first instance. The block change timestamp and the last store timestamp are used by the second instance when creating redo records for changes (made by the second instance) that depend on the redo record generated by the first instance.

    Abstract translation: 提供了一种用于处理群集数据库系统中的更改的技术。 集群中的第一个实例将数据块传输到集群中的第二个实例,然后将存储一个或多个更改的重做记录保存在数据块中的第一个实例可持续存储。 第一个实例还将一个块更改时间戳传送到第二个实例,该时间戳指示一个或多个更改的重做记录何时由第一个实例生成。 第一个实例还分别向第二个实例发送一个最后一个存储时间戳,它指示何时被第一个实例生成的持久存储的最后一个重做记录。 当创建依赖于第一个实例生成的重做记录的更改(由第二个实例创建)的重做记录时,块更改时间戳和最后一个存储时间戳由第二个实例使用。

    REDUCED DISK SPACE STANDBY
    26.
    发明申请
    REDUCED DISK SPACE STANDBY 有权
    减速盘空间待机

    公开(公告)号:US20140059020A1

    公开(公告)日:2014-02-27

    申请号:US14072739

    申请日:2013-11-05

    Abstract: A method and system for replicating database data is provided. One or more standby database replicas can be used for servicing read-only queries, and the amount of storage required is scalable in the size of the primary database storage. One technique is described for combining physical database replication to multiple physical databases residing within a common storage system that performs de-duplication. Having multiple physical databases allows for many read-only queries to be processed, and the de-duplicating storage system provides scalability in the size of the primary database storage. Another technique uses one or more diskless standby database systems that share a read-only copy of physical standby database files. Notification messages provide consistency between each diskless system's in-memory cache and the state of the shared database files. Use of a transaction sequence number ensures that each database system only accesses versions of data blocks that are consistent with a transaction checkpoint.

    Abstract translation: 提供了一种用于复制数据库数据的方法和系统。 一个或多个备用数据库副本可用于维护只读查询,并且所需的存储量可在主数据库存储的大小上扩展。 描述了一种将物理数据库复制与驻留在执行重复数据删除的公共存储系统中的多个物理数据库进行组合的技术。 拥有多个物理数据库可以处理许多只读查询,并且重复存储系统提供主数据库存储大小的可扩展性。 另一种技术使用一个或多个共享物理备用数据库文件的只读副本的无盘备用数据库系统。 通知消息提供每个无盘系统的内存缓存与共享数据库文件的状态之间的一致性。 使用事务序列号确保每个数据库系统只能访问与事务检查点一致的数据块版本。

    Failover of database sessions to a logical replica database

    公开(公告)号:US12204558B2

    公开(公告)日:2025-01-21

    申请号:US18379684

    申请日:2023-10-13

    Abstract: Techniques are described for preserving the inflight sessions failing over from a primary database to the replicated logical database of the primary database. In an implementation, prior to failover, when the primary database server receives a commit for a transaction, the process stores a commit indication that the transaction has been committed by performing a corresponding SQL command. The commit indication is replicated to the logical replica database by virtue of the replication of the SQL command and its execution on the logical replica database. Accordingly, the standby database server in the failover session may successfully request for the outcome of the transaction. Techniques are also described for the client-side LOB references to be preserved when failing over to the logical replica database, for AS OF queries preserved, and for versioning of checksums, signatures and structures across logical replicas.

    Efficient pluggable database recovery with redo filtering in a consolidated database

    公开(公告)号:US11669411B2

    公开(公告)日:2023-06-06

    申请号:US17113091

    申请日:2020-12-06

    CPC classification number: G06F11/1469 G06F11/1464 G06F11/1471 G06F2201/80

    Abstract: A computer program product, system, and computer implemented method for management of a consolidated database and implementing pluggable database recovery with redo filtering in a consolidated database according to some embodiments. Generally, the process includes ongoing activities that maintain activity logs and summarize the activity for respective activity logs (e.g., in an activity vector maintained in a consolidated database catalog). In some embodiments, event-based activities corresponding to recovery processes are triggered by an administrator or an automated process, completed and then do not occur again until another triggering event. The event-based activities can leverage the summary information to quickly determine which online activity logs are relevant to the type of recovery operation for a particular pluggable database. In this way the approach provided herein enables recovery without requiring that all log activity be analyzed to determine whether it is relevant to a particular pluggable database.

Patent Agency Ranking