Before creating after-image files, it is important to accurately estimate the amount of disk space required to hold all the AIdata for your database. Even when you use variable extents, if the disk runs out of space and there is no empty AI extent available, you must perform emergency maintenance or the database is forced to shut down. See
Recoveringa Database for details. To prevent the database engine from shutting down when it exhausts AI disk space, start your database with the after-image stall (
-aistall) startup parameter. When after-image stall is enabled, the database will suspend all activity, and send an error message to the log file indicating that the AI extent is full. For more information on after-image stall, see
After-imageStall (-aistall).
Once you have sized your after-image areas, you need to manage them so that there is always space available to write in an extent. See
Managingafter-imaging files for details on managing your after-image areas.