发明名称 Multi-instance redo apply
摘要 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.
申请公布号 US9619541(B2) 申请公布日期 2017.04.11
申请号 US201314067129 申请日期 2013.10.30
申请人 Oracle International Corporation 发明人 Srivastava Amrish;Li Yunrui;Girkar Mahesh Baburao
分类号 G06F17/30;G06F11/14;G06F11/20 主分类号 G06F17/30
代理机构 Hickman Palermo Becker Bingham LLP 代理人 Hickman Palermo Becker Bingham LLP ;Bingham Marcel K.
主权项 1. A method comprising: on each standby instance of a plurality of standby instances for a standby database: an apply process of a plurality of apply processes running on said each standby instance to apply change records to said standby database;a sender process of a plurality of sender processes running on said each standby instance to transmit change records to at least one receiver process of a plurality of receiver processes;a receiver process of said plurality of receiver processes running on said each standby instance to receive change records transmitted by at least one sender process of said plurality of sender processes to said receiver process; each standby instance of said plurality of standby instances: storing a plurality of change records received from one or more primary instances for a primary multi-instance database;making determinations of how to assign said plurality of change records to said plurality of apply processes, each determination of said determinations assigning a change record of said plurality of change records to an apply process of said plurality of apply processes;according to said determinations, the respective sender process of said plurality of sender processes running on said each standby instance dispatching each change record of at least of a portion of said plurality of change records to a standby instance on which the apply process assigned to said each change record runs; each receiver process of said plurality of receiver processes receiving dispatched change records dispatched to said each receiver process by a sender process running on a standby instance different than the standby instance on which said each receiver process runs; each standby instance of said plurality of standby instances ordering a respective plurality of assigned change records assigned to an apply process running on said each standby instance, said ordering made according to a logical time associated with each assigned change record of said plurality of assigned change records, said respective plurality of assigned change records including dispatched change records that are received by a receiver process of said plurality of receiver processes running on said each standby instance and that are transmitted by a sender process of said plurality of sender processes running on a different standby instance of said plurality of standby instances; each standby instance of said plurality of standby instances distributing each assigned change record of the respective plurality of assigned change records to the assigned apply process of said each assigned change record.
地址 Redwood Shores CA US