RDF System Management Manual

Table Of Contents
Online Database Synchronization
HP NonStop RDF System Management Manual524388-003
7-18
Partial Database Synchronization Issues
Key-Sequenced Tables
The most effective means of describing this method is to use an example. Suppose
you have a table named PART whose primary partition is named $DATA.TEST.PART,
that this table has 50 secondary partitions, and you only need to synchronize the
primary partition. The following set of steps presumes you have just added the volume
needing synchronization to the RDF configuration and you are running with update off.
Again, follow the steps for complete database synchronization, although with some
specific modifications. The complete set of steps with modifications are listed below.
1. If RDF is currently running, issue a STOP RDF command on the primary
system.
2. Purge the RDF control subvolume and then issue an INITIALIZE RDF command of
the following form on the primary system:
INITIALIZE RDF, BACKUPSYSTEM \system, SYNCHDBTIME ddmmmyyyy hh:mm
For the timestamp, follow the guidelines for the INITTIME option.
3. Configure RDF and then issue a START RDF, UPDATE OFF command on the
primary system.
4. Create the entire duplicate table on your backup system with a temporary name at
a temporary location (such as \BACKUP.$DATA.DUP.PART).
The alternative is to create the duplicate table on the primary system at a
temporary location (such as \PRIMARY.$DATA.DUP.PART).
If the table whose primary partition needs to be synchronized has indexes, do not
create indexes for the duplicate table.
5. Use the SQLCI LOAD command with the PARTONLY and SHARED options to
load only the primary partition of the duplicate table. Note that you cannot use
PARTONLY with the LOAD command if your duplicate table has indexes.
Therefore, if you created your duplicate table with indexes, you must drop the
indexes.
6. When the load has completed, issue the RDFCOM STOP SYNCH command.
7. If you created the duplicate table on the primary system, then use the BACKUP
utility to put the entire duplicate table with all partitions onto tape. Note that
because you only loaded the one partition, all other partitions of this duplicate table
are empty.
If you created the duplicate table directly on the backup system, skip this step.
Note. Because the SQLCI LOAD operation generates new SYSKEY values in the backup
table, key-sequenced tables containing SYSKEYs cannot be synchronized online.