Patent ID: 8615488
Filing Date: 2013-12-24
Classification: G06F

Abstract:
1. A method for replicating a subset of a plurality of physical storage spaces, the method comprising: receiving one or more replication identifiers at a primary component, wherein the primary component responsible for modifying a primary database; selecting, at the primary component, one or more database objects in the primary database to replicate that correspond to the one or more replication identifiers; selecting, at the primary component, one or more of a plurality of physical storage spaces corresponding to the one or more selected database objects; creating a subset image using the selected one or more physical storage spaces; sending the subset image from the primary component to a standby component that is responsible for modifying a standby database; restoring the subset image at the standby component, the restoring resulting in a replication of the selected one or more physical storage spaces stored in the standby database; receiving, at the standby component, a database log record corresponding to a modification to one of the selected one or more physical storage spaces, wherein the database log record corresponds to a modified object; determining, at the standby component, that the modified object corresponds to the standby database; invoking, at the standby component, a physical replay that replicates the modification on the standby database in response to the determination; receiving, at the primary component, a replication identifier change request that terminates replication of one or more of the selected database objects, resulting in one or more discontinued replication database objects; identifying, at the primary component, one or more of the selected plurality of physical storage spaces that correspond to the one or more discontinued replication database objects, resulting in one or more discontinued replication physical storage spaces; and sending a message, from the primary component to the standby component, to invalidate a portion of the standby database that corresponds to the one or more discontinued replication physical storage spaces.