Calculating the storage requirement for the extended common service area

You need to calculate the approximate requirement for the extended common service area (ECSA).

Procedure

To estimate storage that is needed for ECSA (above the 16-MB line) for each DB2® subsystem:

  1. Start with 3 MB of ECSA for the base and the first 100 users.
  2. Start with 0.1 MB for IRLM.
  3. Add 1.9 MB for IRLM required trace buffers.
  4. Add 1.9 MB for IRLM optional trace buffers.
  5. Add 4 KB for each additional user.
  6. Start of changeAdd 4 KB for each active remote thread.End of change
  7. Add 4 MB or more for instrumentation facility interface (IFI) buffers as requested by the monitoring programs.
  8. Start of changeAdd up to 1 MB for each concurrently executing DB2 command.End of change

What to do next

If you use the distributed data functions of DB2, you may find that you need more virtual storage. You can estimate how much your storage needs are likely to increase in the ECSA above the 16-MB line by adding the following amounts:

  1. 1 KB for each conversation
  2. 2 KB for each thread that uses distributed processing
  3. 1 KB for each DB2 site in your network
  4. 40 KB for code that relates to distributed processing

Specify this sum or a value that is larger than this sum as the second value of the CSA parameter of the IEASYSxx z/OS® logical PARMLIB member. The logical PARMLIB is usually referred to as SYS1.PARMLIB. Specifying values that are too high is preferable to specifying values that are too low; making your values too low can result in a need to IPL z/OS. For example, if the ECSA size is too small, z/OS places the global load modules and control blocks for DB2 in CSA below the 16-MB line instead of above it. This can cause problems with coexisting z/OS subsystems.

Start of changeDistributed threads use extended system queue area (ESQA) when they are paused. The amount of storage that is used might vary depending on the z/OS release that is used. Estimate 4 KB of ESQA for every active distributed thread. End of change