Plan which objects to journal

When you plan which objects to journal, consider the following:

Types of objects that are eligible for journaling

You can journal the following object types:

General characteristics that make objects good candidates for journaling

Considerations for journaling database physical files

Considerations for journaling integrated file system objects

System objects

It is recommended that you do not journal changes to IBM™-supplied objects. The system sometimes creates and manages these objects differently than user-created objects. The system does not assure the recovery of these files even though all recovery activity normally succeeds.

Journal entries for objects the system does not journal

Some applications depend on information in objects that the server does not journal. For example, an application programming interface (API) might use a user space to pass data between two jobs.

You can use the Send Journal Entry (SNDJRNE) command or the Send Journal Entry (QJOSJRNE) API to write journal entries for these resources. See Send your own journal entries for instructions. If you need to perform recovery, you can use a program to retrieve these journal entries and make sure these application objects are synchronized with the objects you are journaling.

If you are using commitment control, you can use APIs to register these objects as committable resources.

Before images and access paths

Start of change

Journaled object limit

The journaled object limit is the maximum number of objects that can be journaled to one journal. You can set the journal object limit to either 250,000 or 10,000,000. Use the Journal Object Limit (JRNOBJLMT) parameter on the Create Journal (CRTJRN) or Change Journal (CHGJRN) command to set the maximum number of journaled objects.

End of change
Start of change

Journal recovery count

On the CHGJRN command, you can use the Journal Recovery Count (JRNRCYCNT) parameter to indicate how many journal entries can exist between the last deposited entry and the oldest forced entry for a journaled object. A value between 10,000 and 2,000,000,000 will be allowed. A value of *SYSDFT will also be allowed to reset the journal’s recovery count to the system default journal recovery count.

End of change
Related concepts
Journal management and independent disk pools
Send your own journal entries
Commitment control
JKLPROD
JKLDEV
Related reference
Work with triggers and contraints