Reasons to journal before-images

 

When you journal an object, the system always writes an after-image for every change that is made. You can request that the system write before-image journal entries for database files and data areas. All other object types only journal after-images. This significantly increases the auxiliary storage requirements for journaling.

However, you can choose to journal before-images for these reasons:

You can select before-images on an object-by-object basis. You specify whether you want after-images or both when you start journaling for a database file or a data area. After you start journaling a database file or a data area, you can use the Change Journal Object (CHGJRNOBJ) command to change whether you are journaling before-images.

 

Parent topic:

Planning which objects to journal

Related concepts
System-managed access-path protection