Nonstop Database, HiRDB Version 9 Command Reference

[Contents][Index][Back][Next]

Appendix C.1 RDAREA status transitions

The following tables show the RDAREA status transitions during execution of operation commands.

Table C-1 RDAREA status transitions (1/2)

RDAREA status (before transition) RDAREA status (after transition)
Open Shutdown Closed Shutdown and closed Reference-possible shutdown Reference-possible shutdown and closed
Open#1 -- pdhold Transaction termination#3 pdhold -c pdhold -i N
Shutdown pdrels or pdrels -o -- N pdclose pdhold -i N
Closed pdopen, pdrels -o, or transaction startup#2 N -- pdhold or pdhold -c N pdhold -i
Shutdown and closed pdrels -o pdopen pdrels -- N pdhold -i
Ref-possible shutdown pdrels or pdrels -o N N N -- pdclose or transaction termination#3
Ref-possible shutdown and closed N N pdrels pdhold or pdhold -c pdopen or transaction startup#2 --
Ref-possible backup-hold pdrels or pdrels -o N N N N N
Ref-possible backup-hold and closed pdrels -o N pdrels N N N
Updatable backup-hold pdrels or pdrels -o N N N N N
Updatable backup-hold and closed pdrels -o N pdrels N N N
Synchro shutdown pdrels or pdrels -o N N N N N
Synchro shutdown and closed pdrels -o N pdrels N N N
Online reorganization hold pdorbegin -u#4, pdorend#4, pdorend -z#4, or pdorend -u pdhold N pdhold -c, pdorbegin -u#5, pdorend#5, or pdorend -z#5 N N
Online reorganization hold and closed N N pdorbegin -u#4, pdorend#4, pdorend -z#4, or pdorend -u pdhold, pdorbegin -u#5, pdorend#5, or pdorend -z#5 N N

Legend:
--: Not applicable
N: Cannot be in this RDAREA status after the transition
Ref: Reference
Synchro: Synchronization

#1: The pdclose command will result in an error because the RDAREA is not shut down.

#2: This status changes if the RDAREA open timing is either DEFER or SCHEDULE.

#3: This status changes if the RDAREA open timing is SCHEDULE.

#4: This status change is applicable to original RDAREAs.

#5: This status change is applicable to replica RDAREAs.
 

Table C-2 RDAREA status transitions (2/2)

RDAREA status (before change) RDAREA status (after change)
RPH RPHC UH UHC SS SSC ORH ORHC
Open#1 pdhold -b N pdhold -b -u N pdhold -s N pdorbegin#6 N
Shutdown N N N N N N pdrels N
Closed pdhold -b#5 N pdhold -b -u#5 N N N pdorbegin#5, #6 pdorbegin#3, #6
Shutdown and closed N pdhold -b#2 N pdhold -b -u#2 N N pdrels -o pdrels or pdorbegin#7
Ref-possible shutdown N N N N N N N N
Ref-possible shutdown and closed N N N N N N N N
Ref-possible backup-hold -- trxn term#3 or pdclose#4 N N pdhold -s N N N
Ref-possible backup-hold and closed Trxn startup#2 or pdopen#4 -- N N N N N N
Updatable backup-hold N N -- Trxn term#3 N N N N
Updatable backup-hold and closed N N Trxn startup#2 -- N N N N
Synchro shutdown N N N N -- pdclose or trxn term#3 N N
Synchro shutdown and closed N N N N pdopen or trxn startup#2 -- N N
Online reorg hold N N N N N N -- pdclose or trxn term#8
Online reorg hold and closed N N N N N N pdopen, trxn startup, or pdorchg#7 --

Legend:
N: Cannot be in this RDAREA status after the transition
RPH: Reference-possible backup hold
RPHC: Reference-possible backup hold and closed
UH: Updatable backup-hold
UHC: Updatable backup-hold and closed
SS: Synchronization shutdown
SSC: Synchronization shutdown and closed
ORH: Online reorganization hold
ORHC: Online reorganization hold and closed
--: Not applicable
Ref: Reference
reorg: reorganization
Synchro: Synchronization
term: termination
Trxn: Transaction

#1: The pdclose command will result in an error because the RDAREA is not shut down.

#2: This status changes if the RDAREA open timing is either DEFER or SCHEDULE.

#3: This status changes if the RDAREA open timing is SCHEDULE.

#4: This status changes if the RDAREA is not in reference-possible backup hold (update WAIT mode).

#5: This status changes if the RDAREA open timing is DEFER.

#6: This status change is applicable to original RDAREAs.

#7: This status change is applicable to replica RDAREAs.

#8: This status change is applicable when the transaction terminates if the RDAREA open timing is SCHEDULE and the RDAREA was in online reorganization hold and closed status before the transaction started.