Start of changeFrequently asked questions about journaling and disk unit usageEnd of change

Start of changeJournaling affects the disk units that store the journal receiver.End of change

How the journal receiver affects the disk unit depend on several factors :

  • The threshold setting you are using for your journal receiver.
  • Whether or not you are using a maximum receiver-size option.
  • The way in which the system writes journal entries to disk.

Start of changeThe following are frequently asked questions about journaling and disk unit usage:End of change

How many units in my disk pool will journaling use?

Which journal parameters and settings affect the number of the disk units the journal receiver uses?

Why is the system not using the new disk units I added to my disk pool?

Why are some disk units used by journal receivers noticeably busier than the others and what can I do to spread out the usage?

Start of changeHow many units in my disk pool will journaling use?End of change

Start of changeStarting in IBM® i 7.1, journal receivers will be spread across all disk units in the disk pool. Journaling no longer directs writes to specific disk units.End of change

The journal receiver threshold value will influence the number of parallel writes that journal will allow. The higher the journal receiver threshold value, the more parallel I/0 requests will be allowed. Allowing more parallel I/O requests may improve performance.

Start of changeFor more information about disk unit use and journaling see: Striving for Optimal Journal Performance on DB2® Universal Database for iSeries Link to PDF (3.1 MB)End of change

Back to questions

Start of changeWhich journal parameters and settings affect the number of the disk units the journal receiver uses?End of change

Start of changeThe threshold for the journal receiver and whether you use a maximum receiver-size option have the largest effect on how many disk units the journal receiver uses. If you have a system which is before V5R2, removing internal entries also affects the number of disk units that are used.End of change

Back to questions

Start of changeWhy is the system not using the new disk units I added to my disk pool?End of change

Start of changeThere can be a several reasons. First, to use the newly added disk units, you must perform a change journal operation to attach a new journal receiver. Also, the system does not necessarily use all of the disk units in a disk pool. If you are not using a maximum receiver-size option, the most disk units the system will spread the receiver over is ten. The number of disk units the receiver uses also depends on the threshold you use for your journal receiver. If you use a maximum receiver-size option and increase your threshold, it is more likely that your new disk unit will be used.End of change

Start of changeIf you use system-managed access-path protection (SMAPP), the system generates internal journal entries to protect the access paths for database files. If you have not upgraded to at least V5R2, setting your journal receiver to remove internal entries is an issue if you are not producing these internal entries. Before V5R2, removing internal entries can steal disk units from the normal journal entries. For example, if you have six disk units in the disk pool housing your journal receiver and remove internal entries, two units are dedicated to the internal entries and four units are used for your regular journal entries. If you do not produce any internal entries, those two units remained idle. For V5R2 and later, this is not an issue.End of change

Start of changeFor more information about disk unit use and journaling see Striving for Optimal Journal Performance on DB2 Universal Database for iSeries.End of change

Back to questions

Start of changeWhy are some disk units used by journal receivers noticeably busier than the others and what can I do to spread out the usage?End of change

Start of changeThe journal receivers probably use some disk units more than other because of the way journal management writes journal entries to disk. When the system produces journal entries, journal management stores the journal entries in memory. When it is ready, journal management sends the journal entries to a disk unit in one group. When the next group of journal entries are ready, journal management sends the entries to the next disk unit. Journal management continues in this sequential manner until all of the disk units it uses have received a group of journal entries. The cycle then repeats.End of change

You can spread out the usage by increasing your threshold and using a maximum receiver-size option.

Start of changeFor more information about disk unit use and journaling see Striving for Optimal Journal Performance on DB2 Universal Database for iSeries.End of change

Back to questions