<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Replicate R4Z: Understanding ECSA memory allocation for each DB2z CDC service in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-R4Z-Understanding-ECSA-memory-allocation-for-each/ta-p/1950815</link>
    <description>&lt;P class="x_MsoNormal"&gt;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. &amp;nbsp;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;&lt;I&gt;What drives how much ECSA memory is required by each CDC service?&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;Qlik Replicate R4Z mechanism (Replicate for zSeries) uses ECSA as follows:&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;For each defined replicate “service”, there is: &amp;nbsp;&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle" type="disc"&gt;
&lt;LI class="x_MsoListParagraph"&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;ANCHOR&lt;/FONT&gt; - 56 bytes&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="x_MsoListParagraph"&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;U&gt;&lt;SPAN&gt;Maxsessions&lt;/SPAN&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;(default 32) x session control block, using about 260 bytes each&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="x_MsoListParagraph"&gt;Each active session will use:&lt;BR /&gt;&lt;BR /&gt;The configured&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG style="font-family: inherit;"&gt;&lt;U&gt;IFI buffer size&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;+ (an aux buffer, 260 bytes of miscellaneous info) + (filter list)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Where&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;filter list = 260 bytes + 4 * number of tables&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="x_MsoNormal"&gt;With &lt;FONT face="courier new,courier"&gt;TRACE&lt;/FONT&gt; level task logging for &lt;FONT face="courier new,courier"&gt;SOURCE_CAPTURE&lt;/FONT&gt; component, one can find this in two messaged from the UDTF, as follows:&lt;/P&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;00031324: 2022-06-24T19:18:51:745788 [SOURCE_CAPTURE&amp;nbsp; ]T:&amp;nbsp; R4DB2: Updated&amp;nbsp;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;EXT buffer length 260&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;RC 0 (r4z2util.c:1877&amp;nbsp; (db2z_ifi_api.c:994)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;00031324: 2022-06-24T19:18:55:960285 [SOURCE_CAPTURE&amp;nbsp; ]T:&amp;nbsp; R4DB2: Updated&amp;nbsp;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;EXT buffer length 272&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;RC 0 (r4z2util.c:1877&amp;nbsp; (db2z_ifi_api.c:994)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;Here the 12 byte increase is from 2 user tables plus &lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLES&lt;/FONT&gt;, which is always included in the list.&lt;/P&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;The IFI Buffer size is also shown in the following message:&lt;/P&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;00031324: 2022-06-24T19:18:51:741801 [SOURCE_CAPTURE&amp;nbsp; ]I:&amp;nbsp; R4DB2:&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;IFI Buffer size 256 KB&lt;/FONT&gt;&lt;/STRONG&gt;. (r4zudf.c:352&amp;nbsp; (db2z_ifi_api.c:994)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;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.&amp;nbsp; 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.'&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="x_MsoNormal"&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 14:24:39 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2022-07-01T14:24:39Z</dc:date>
    <item>
      <title>Qlik Replicate R4Z: Understanding ECSA memory allocation for each DB2z CDC service</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-R4Z-Understanding-ECSA-memory-allocation-for-each/ta-p/1950815</link>
      <description>&lt;P class="x_MsoNormal"&gt;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. &amp;nbsp;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;&lt;I&gt;What drives how much ECSA memory is required by each CDC service?&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;Qlik Replicate R4Z mechanism (Replicate for zSeries) uses ECSA as follows:&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;For each defined replicate “service”, there is: &amp;nbsp;&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle" type="disc"&gt;
&lt;LI class="x_MsoListParagraph"&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;ANCHOR&lt;/FONT&gt; - 56 bytes&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="x_MsoListParagraph"&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;U&gt;&lt;SPAN&gt;Maxsessions&lt;/SPAN&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;(default 32) x session control block, using about 260 bytes each&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="x_MsoListParagraph"&gt;Each active session will use:&lt;BR /&gt;&lt;BR /&gt;The configured&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG style="font-family: inherit;"&gt;&lt;U&gt;IFI buffer size&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;+ (an aux buffer, 260 bytes of miscellaneous info) + (filter list)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Where&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;filter list = 260 bytes + 4 * number of tables&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="x_MsoNormal"&gt;With &lt;FONT face="courier new,courier"&gt;TRACE&lt;/FONT&gt; level task logging for &lt;FONT face="courier new,courier"&gt;SOURCE_CAPTURE&lt;/FONT&gt; component, one can find this in two messaged from the UDTF, as follows:&lt;/P&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;00031324: 2022-06-24T19:18:51:745788 [SOURCE_CAPTURE&amp;nbsp; ]T:&amp;nbsp; R4DB2: Updated&amp;nbsp;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;EXT buffer length 260&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;RC 0 (r4z2util.c:1877&amp;nbsp; (db2z_ifi_api.c:994)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;00031324: 2022-06-24T19:18:55:960285 [SOURCE_CAPTURE&amp;nbsp; ]T:&amp;nbsp; R4DB2: Updated&amp;nbsp;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;EXT buffer length 272&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;RC 0 (r4z2util.c:1877&amp;nbsp; (db2z_ifi_api.c:994)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;Here the 12 byte increase is from 2 user tables plus &lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLES&lt;/FONT&gt;, which is always included in the list.&lt;/P&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;The IFI Buffer size is also shown in the following message:&lt;/P&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;00031324: 2022-06-24T19:18:51:741801 [SOURCE_CAPTURE&amp;nbsp; ]I:&amp;nbsp; R4DB2:&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;IFI Buffer size 256 KB&lt;/FONT&gt;&lt;/STRONG&gt;. (r4zudf.c:352&amp;nbsp; (db2z_ifi_api.c:994)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;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.&amp;nbsp; 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.'&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="x_MsoNormal"&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="x_MsoNormal lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 14:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-R4Z-Understanding-ECSA-memory-allocation-for-each/ta-p/1950815</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2022-07-01T14:24:39Z</dc:date>
    </item>
  </channel>
</rss>

