db2ACS_OperationInfo Db2 Advanced Copy Services (ACS) API data structure
db2ACS_OperationInfo
contains
information about a snapshot backup operation.
/* ==========================================================================
* Operation Info
*
* The information contained within this structure is only valid within the
* context of a particular operation. It will be valid at the time
* BeginOperation() is called, and will remain unchanged until EndOperation()
* returns, but must not be referenced outside the scope of an operation.
* ========================================================================== */
typedef struct db2ACS_OperationInfo
{
db2ACS_SyncMode syncMode;
/* List of database and backup operation partitions.
*
* For details, refer to the db2ACS_PartitionList definition.
* ----------------------------------------------------------------------- */
db2ACS_PartitionList * dbPartitionList;
} db2ACS_OperationInfo;
- syncMode
- Data type:
db2ACS_SyncMode
.The level of synchronization between the backup operations on separate database partitions.
Values:
- DB2ACS_SYNC_NONE
- No synchronization between related operations on multiple database partitions. Used during operations which do not make use of any synchronization between the multiple database partitions.
- DB2ACS_SYNC_SERIAL
- Used when performing concurrent snapshot backup operations on multiple database partitions. Each database partition will have its input and output (IO) suspended when the snapshot backup operation is issued, and then the IO on the database partitions is resumed serially, not concurrently.
- DB2ACS_SYNC_PARALLEL
- Performing a snapshot operation on multiple partitions concurrently. Once all database partitions that are involved in the snapshot backup operation have completed preparations for the snapshot backup operation, input and output (IO) will be suspended on all of the database partitions. The remaining snapshot backup steps will take place concurrently on all of the involved database partitions.
- dbPartitionList
- Data type:
db2ACS_PartitionList *
.db2ACS_PartitionList
contains information about the database partitions that are in the database and that are involved in a Db2 ACS operation.