You display information about the database instance after importing a backup.
You receive data about the log area including information on whether restarting the database instance is possible.
· You have the server authorization Recovery.
· You have executed the DBM command for recovering the database instance (see: recover_start).
db_restartinfo
OK
Used LOG Page <page_no>
First LOG Page <page_no>
Restartable (1|0)
Id Restart Record <ID>
Id LOG Info <ID>
Consistent (1|0)
Values for the Reply Fields
Value |
Description |
Used LOG Page |
Next log page to be used after restarting |
First LOG Page |
Oldest available log page |
Restartable |
Restartability. Possible values are: 1. The database instance can be restarted 2. The database instance cannot be restarted |
Id Restart Record |
Identifier of the restart record for the database instance |
Id LOG Info |
Identifier for the database instance log |
Consistent |
Consistency of the database instance, that is, restartability without log. Possible values are: 1: can be started without log 2: cannot be restarted without log |
In the event of errors, see Reply Format
Logging on to the Database Manager CLI as operator OLEG with the password MONDAY, connecting to the database instance DEMODB, displaying information after importing a backup.
>dbmcli –u OLEG,MONDAY –d DEMODB db_restartinfo
OK
Used LOG Page 10636
First LOG Page 8640
Restartable 1
Id Restart Record P46643:DB_20010629_115558
Id LOG Info P46643:DB_20010629_115558
Consistent 1