Run a quick summary scan of the after-image file header block to get back online faster during disaster recovery.

To get some basic information on an AI file, use the RFUTIL AIMAGE SUMMARY utility. Syntax is as follows:
rfutil dbname -C aimage summary {-a ai-name|-ailist listfile}

Use this command to get information from the AI file header without scanning the entire AI file. The command delivers information contained in the first and last block of the after-image file. Output displays to stdout and the database.log file.

For example, this summary shows output from a list of three different databases with three different after-image block sizes:
linuxx86_64$ rfutil testdb -C aimage summary -ailist aidir/ailist.txt
Path:  /scratch/rlopez/aiscan-project/aiscan.dir/db1.a1
Last aimage begin:  Mon Jun  7 13:55:46 2021
Last aimage new:  Mon Jun  7 13:55:46 2021
Last opened for output:  Mon Jun  7 13:55:46 2021
Blocksize:  8192
Sequence Number:  1
Status:  Full
Size:  1048576 (1024 KB)
Used:  1040315 (1016 KB)
Notes:  10349
Path:  /scratch//2021-6-9/aiextract.dir/aidir/main_sdb.a1
Last aimage begin:  Mon Jun  7 13:59:07 2021
Last aimage new:  Mon Jun  7 14:03:05 2021
Last opened for output:  Mon Jun  7 14:04:03 2021
Blocksize:  16384
Sequence Number:  17
Status:  Busy
Size:  20971520 (20480 KB)
Used:  224 (1 KB)
Notes:  1
Path:  /scratch/rvandeva/2021-1-PI/aiscan-project/aimagebasic/aimagebasic.dir/testdb.a1
Last aimage begin:  Mon Jun  7 14:23:51 2021
Last aimage new:  Mon Jun  7 14:23:51 2021
Last opened for output:  Mon Jun  7 14:23:51 2021
Blocksize:  4096
Sequence Number:  1
Status:  Full
Size:  262144 (256 KB)

The database that you specify does not need to belong to the AI files or even have the same AI block size as the AI files. The command determines the AI block size from the AI files, and prints it out as part of the output.

For example, suppose that you have four databases: test1db, test2db, test3db, and test4db. Each database has some AI files.

Assume that you create listfile, a file that contains a list of ai files, such as
test3db.a1
test3db.a2
test2db.a5
test1db.a10
You can run any of these commands to to see the summary:
rfutil <any db> -C aimage summary -a test1db.a10
or
rfutil <any db> -C aimage summary -a test2db.a5
or
rfutil <any db> -C aimage summary -ailist listfile

The databases and their AI files may not have the same AI block size, but the utility identifies and reports the block sizes correctly.