The purpose of this article is to explain the ESCA (Extended Shared Common Area) memory allocation in a z/OS logical partition with an active Qlik R4Z component for DB2 CDC.
What drives how much ECSA memory is required by each CDC service?
Qlik Replicate R4Z mechanism (Replicate for zSeries) uses ECSA as follows:
For each defined replicate “service”, there is:
ANCHOR - 56 bytes
Maxsessions (default 32) x session control block, using about 260 bytes each
Each active session will use:
The configuredIFI buffer size+ (an aux buffer, 260 bytes of miscellaneous info) + (filter list)
Where filter list = 260 bytes + 4 * number of tables
With TRACE level task logging for SOURCE_CAPTURE component, one can find this in two messaged from the UDTF, as follows:
The number of tables in the task and the IFI buffer size are the two big variable. It’s not recommended to configure for more than a 256 kb IFI buffer, but maximum number of tables could be as high as 50,000 or 200 kb for the filter list. This is a possible maximum of more than 456 kb per active task, Although the experience shows that it is very unlikely that any task would have 50,000 tables and even less likely that more than one task would have that many.'