It reduces the load on the source database through database mirroring (devices synchronize against a replicated mirror database instead of against the source database directly).
通过数据库镜像,减少了源数据库负载。(设备将对复制的镜像数据库进行同步,而不是直接对源数据库进行同步。)
Next we create and specify a mirror database for our application.
接下来,为应用程序创建并指定一个镜像数据库。
The path to log files should only be included in the split mirror for clone database.
日志文件的路径只能包括在用于克隆数据库的分割镜像中。
In a partitioned environment each mirror partition must be initialized before using the database.
在分区环境中,在使用数据库之前,必须初始化每个镜像分区。
Mount the split mirror copy of the database directory.
装配数据库目录的分割镜像拷贝。
The initialization of the split mirror as snapshot performs a crash recovery, rolls back all uncommitted transactions, and makes the database available for any read or write operation.
将分割镜像初始化为快照时,将执行崩溃恢复,回滚所有未提交的事务,并使数据库可以被所有读或写操作访问。
All tablespace containers that are not part of the database directory must be part of the split mirror.
不在数据库目录中的所有表空间容器都必需属于分割镜像。
A split mirror of a DB2 UDB database can be initialized as a snapshot of the source database, essentially an instantaneous clone of the source database.
DB 2UD b数据库的分割镜像可以被初始化为源数据库的一个快照,实质上是源数据库的一个瞬时克隆。
The database configuration parameter LOGRETAIN must be set to RECOVERY prior to splitting the mirror if it is intended to be initialized as standby or mirror database.
如果打算将镜像初始化为备用数据库或镜像数据库,那么在分割镜像之前,必须将数据库配置参数LOGRETAIN设置为RECOVERY。
A split mirror of a DB2 UDB database can also be initialized as a warm standby database, providing a quick disaster recovery option if the primary database becomes unavailable.
DB 2UD b数据库的分割镜像可以被初始化为一个热备用数据库,当主数据库不可用时,可提供一个快速的灾难恢复选项。
A split mirror initialized as mirror can be used as a system level backup, allowing the administrator to perform a quick file system level recovery of the database.
初始化为镜像的分割镜像可以用作系统级备份,从而使管理员可以执行快速的文件系统级数据库恢复。
It is important to note that the split mirror must remain in the write suspended state until it is copied on top of the source database.
请务必记住,分割镜像必须一直处于写暂挂状态,直到在源数据库上对其进行了复制。
The active log directory of the split mirror database must not contain any log file that is not a part of the split mirror.
分割镜像数据库的活动日志目录不能包含任何不属于分割镜像的日志文件。
Therefore, the split mirror of a DB2 UDB database must be initialized before it can be used.
因此,在使用DB 2UD b数据库的分割镜像之前,必须将其初始化。
The backup on the split mirror system will be capturing the state of the database containers on the source system at the time that the split occurred.
当发生分割时,分割镜像系统上的备份将捕捉源系统上的数据库容器的状态。
When splitting a mirror of a DB2 UDB database, it is important to ensure that there are no partial page writes occurring on the source database.
当分割一个DB 2UD b数据库的镜像时,重要的是要确保在源数据库上不会发生写部分页。
Replace the source database (excluding the active log directory) with the mirror copy of the database.
用数据库的镜像拷贝替换源数据库(除了活动日志目录之外)。
Click on the Mirror Create, which invokes the DB2 database creation wizard shown below.
单击MirrorCreate,这将调用下面所示的DB 2数据库创建向导。
Initialize the mirror copy on the source database.
在源数据库上初始化镜像拷贝。
Use split mirror as a clone database.
将分割镜像用作克隆数据库。
Here are the steps required on the target system to use a split mirror as a clone database.
为了使用分割镜像作为一个克隆数据库,必须在目标系统上执行以下步骤。
The same applies when initializing the split mirror using the db2inidb command, which must be run on each mirrored partition before using the database.
而使用db2inidb命令初始化分割镜像时也是如此,在使用数据库之前,必须在每个镜像分区上运行该命令。
Here are the steps required on the target system to use a split mirror as a standby database.
为了使用分割镜像作为备用数据库,必须在目标系统上执行以下步骤。
Following is an elaboration on the split mirror content of a DB2 UDB database
下面详细讲解了一个DB2UDB 数据库的分割镜像的内容
The relocate parameter invokes the db2relocatedb command in the background and thus allows initialization of the split mirror on the same system where the source database resides.
relocate参数在后台调用db2relocatedb命令,从而允许在源数据库所在的同一个系统上初始化分割镜像。
When initializing the split mirror, the db2inidb command does not require any connections to the database.
当初始化分割镜像时,db2inidb命令不需要到数据库的连接。
When using a split mirror solution, it is recommended to create a single database in a database path so that the local database directory (" sqldbdir ") only has the entry for a single database.
在使用分割镜像解决方案时,建议在一个数据库路径中只创建一个数据库,这样,在本地数据库目录(sqldbdir)中,每个数据库只有一个对应的条目。
So, the recommendation for initializing a split mirror of a DB2 UDB database in a multi-partitioned database would be.
因此,在多分区的数据库中初始化db 2UD b数据库的分割镜像时,建议。
This command does not mirror actual usage on a Lotus Domino server because the I/O pattern for a Lotus Domino database is historically expected to be multi-threaded and random.
这个命令没有反映LotusDomino服务器上的实际使用,因为 Lotus Domino数据库的I/O模式一直都是多线程和随机的。
This command does not mirror actual usage on a Lotus Domino server because the I/O pattern for a Lotus Domino database is historically expected to be multi-threaded and random.
这个命令没有反映LotusDomino服务器上的实际使用,因为 Lotus Domino数据库的I/O模式一直都是多线程和随机的。
应用推荐