The bar_instance table
The bar_instance table contains descriptions of each object that is backed up.
ON-Bar writes
a record to the bar_instance table for each successful backup. ON-Bar might
later use the information for a restore operation. For example, if
you specify a level-2 backup, ON-Bar uses
this table to ensure that a level-1 backup was done previously.
Column name | Type | Explanation |
---|---|---|
ins_aid | INTEGER | Action identifier. Identifies the successful action that created this instance of the backup object. Combined with ins_oid, can be used to join with the bar_action table. |
ins_oid | INTEGER | Object identifier. Identifies the affected object. Can be used to join with the bar_object table. Combined with ins_aid, can be used to join with the bar_action table. |
ins_time | INTEGER | Timestamp (real clock time). The database server
uses this value when it creates the next-level backup. Value represents
the number of seconds since midnight, January 1, 1970, Greenwich mean
time. The ins_time value is 0. |
rsam_time | INTEGER | The backup checkpoint time stamp. Not a clock time. The database server uses this value when it creates the next level backup. |
seal_time | INTEGER | The time that the log file was sealed after a backup completed. |
prev_seal_time | INTEGER | The time that the previous log file was sealed. |
ins_level | SMALLINT | Level of the backup action: 0 for a complete backup, 1 for a backup of any changes to this object since its last level-0 backup, 2 for a backup of any changes since the last level-1 backup. This value is always 0 for logical-log backups. |
ins_copyid_hi | INTEGER | The high bits of the instance copy identifier. Combined with ins_copyid_lo, it is a unique value that the storage manager assigns to link the ON-Bar object identifier with the storage-manager object identifier. |
ins_copyid_lo | INTEGER | The low bits of the instance copy identifier. Combined with ins_copyid_hi, it is a unique value that the storage manager assigns to link the ON-Bar object identifier with the storage-manager object identifier. |
ins_req_aid | INTEGER | Stores the required action ID for a backup object. Used in a restore to determine which level-0 backup goes with the level-1 backup, and which level-1 backup goes with the level-2 backup. For a level-0 backup, the value of ins_req_aid is the same as ins_aid in this table. For example, if this backup is level-1, ins_req_aid holds the action ID of the corresponding level-0 backup of this object. |
ins_logstream | INTEGER | Not used. |
ins_first_log | INTEGER | In a standard backup, identifies the first logical log required to restore from this backup. |
ins_chpt_log | INTEGER | The logical log that contains the archive checkpoint in the dbspace backup. |
ins_last_log | INTEGER | In a standard backup, identifies the last logical log required to restore from this backup. |
ins_partial | INTEGER | Partial flag from salvage. |
ins_sm_id | INTEGER | Not used. |
ins_sm_name | CHAR(128) | Not used. |
ins_verify | INTEGER | Value is 1 if the backup is verified. Value is 0 if the backup is not verified. |
ins_verify_date | DATETIME YEAR TO SECOND | The current date is inserted when a backup is verified. If this backup has not been not verified, a dash represents each date and time. |
ins_backup_order | INTEGER | The order in which backups occur. |