DB2 Version 9.7 for Linux, UNIX, and Windows

autorestart - Auto restart enable configuration parameter

This parameter determines whether the database manager can, in the event of an abnormal termination of the database, automatically call the restart database utility when an application connects to a database.

Configuration type
Database
Parameter type
Configurable Online
Propagation class
Immediate
Default [range]
On [ On; Off ]

The restart database utility performs a Crash recovery if the database terminated abnormally (because, for example, of a power failure or a system software failure) while applications were connected to it. It applies any committed transactions that were in the database buffer pool but were not written to disk at the time of the failure. It also backs out any uncommitted transactions that might have been written to disk.

If autorestart is not enabled, then an application that attempts to connect to a database which needs to have crash recovery performed (needs to be restarted) will receive a SQL1015N error. In this case, the application can call the restart database utility, or you can restart the database by selecting the restart operation of the recovery tool.