<?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>topic Re: Considerations of having multiple Replicate servers reading the same source in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2425595#M9892</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;&amp;gt;&amp;gt;&amp;gt; yes : "&lt;SPAN&gt;It's both right? Too many connections and too many reads to the same database's transaction logs are both causes of overhead?"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Too many connection all reading and interpreting the same transaction log will cause too much overhead on the source server to deliver the data and too much overhead on the Replicate server to interpret that data over and over.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2024 00:26:15 GMT</pubDate>
    <dc:creator>Heinvandenheuvel</dc:creator>
    <dc:date>2024-03-01T00:26:15Z</dc:date>
    <item>
      <title>Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2423862#M9805</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;
&lt;P&gt;I need some guidance. What should be considered when there is 1 Replicate server with almost 100 tasks reading from the same source endpoint. Then another server will be added to read from the same source endpoint.&lt;/P&gt;
&lt;P&gt;My current thoughts:&lt;/P&gt;
&lt;P&gt;* Estimated number of tasks on the new server&lt;/P&gt;
&lt;P&gt;* Estimated number and size of tables on new server&lt;/P&gt;
&lt;P&gt;* Any LOBs in the tables&lt;/P&gt;
&lt;P&gt;* Is there currently any source latency that indicates the source server is already under too much stress&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What considerations am I missing? Thanks.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 05:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2423862#M9805</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-02-27T05:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2423864#M9806</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik community.&lt;/P&gt;
&lt;P&gt;I would recommend you to consider "logstream task" if you have multiple tasks reading from same source.&lt;/P&gt;
&lt;P&gt;Please refer to the below user guide&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/November2023/Content/Replicate/Main/Log%20Stream%20Staging/intro.htm" target="_blank"&gt;https://help.qlik.com/en-US/replicate/November2023/Content/Replicate/Main/Log%20Stream%20Staging/intro.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Arun&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 05:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2423864#M9806</guid>
      <dc:creator>aarun_arasu</dc:creator>
      <dc:date>2024-02-27T05:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2423907#M9810</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;If our response has been helpful, please consider clicking "Accept as Solution". This will assist other users in easily finding the answer.&lt;/P&gt;
&lt;P&gt;Regards, &lt;BR /&gt;Arun&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 07:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2423907#M9810</guid>
      <dc:creator>aarun_arasu</dc:creator>
      <dc:date>2024-02-27T07:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2424120#M9825</link>
      <description>&lt;P&gt;Let's take a step back... WHY do you think you should have 100 tasks reading from the same source endpoint?&lt;/P&gt;
&lt;P&gt;IMHO The only valid reason is many different target endpoints.&lt;/P&gt;
&lt;P&gt;Are you using Logstream already? You should.&lt;/P&gt;
&lt;P&gt;With logstream in place, what is the indication that you might need a second Replicate server?&lt;/P&gt;
&lt;P&gt;There is nothing wrong in using a second server, but you should have a solid reason.&lt;/P&gt;
&lt;P&gt;Examples of bad reasoning:&lt;/P&gt;
&lt;P&gt;- Our tasks are not allowed to have more that NN tables each.&lt;/P&gt;
&lt;P&gt;- Our tasks are not allowed to mix source schemas because those represent different customers which must be kept separate. Yeah - no!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 13:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2424120#M9825</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-02-27T13:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2424335#M9835</link>
      <description>&lt;P&gt;Hi Hein,&lt;/P&gt;
&lt;P&gt;Thanks for the answer. Yes the reason is to reduce weight/stress on the current Replicate server. There is a new project which I believe will be large so that's why the need of more servers has appeared. Also the plan is to a new target (Snowflake) to the new server.&amp;nbsp; Yep, also logstream is a no-brainer, I'll ensure that this is configured efficiently.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 22:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2424335#M9835</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-02-27T22:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2424726#M9851</link>
      <description>&lt;P&gt;Thanks for the clarification Mohammed.&lt;/P&gt;
&lt;P&gt;But what I do NOT see is WHY you have hundreds of&amp;nbsp; (CDC?) task planned for a single source endpoint.&lt;/P&gt;
&lt;P&gt;This question is in the context of CDC tasks right? For full-load multiple tasks may well server scheduling purposes.&lt;/P&gt;
&lt;P&gt;Some folks come up with a silly arbitrarily rule that no CDC task shall have more then 100 tables and wiith 5000 tables think they need 50 tasks. Nonsense! They need 1, maybe 5 tasks, but no more and will reduce the Replicate server overhead by a factor of 10 just by NOT having to re-read the change log (logstream or direct) over and over.&lt;/P&gt;
&lt;P&gt;What I also do NOT see is an indication of having multiple target endpoints for which multiple tasks would be unavoidable. I only hear about maybe 1 more Snowflake target, not dozens. So why not just 1 tasks for everything you had and 1 more for snowflake?&lt;/P&gt;
&lt;P&gt;Push your customer for good, concise answer before going for a knee-jerk just add a server 'solution' (workaround!)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 13:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2424726#M9851</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-02-28T13:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2424978#M9855</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;The execution of 100 CDC tasks will establish 100 connections for reading the transaction log. If these tasks are all directed towards the same database server, it could result in significant server load.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 02:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2424978#M9855</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-02-29T02:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2425579#M9891</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125525"&gt;@DesmondWOO&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Yep this makes sense. Please help my understanding. Is the main concern with too many connections from Replicate? or is it with it with too many tasks reading from one transaction log right?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's both right? Too many connections and too many reads to the same database's transaction logs are both causes of overhead?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 22:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2425579#M9891</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-02-29T22:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2425595#M9892</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;&amp;gt;&amp;gt;&amp;gt; yes : "&lt;SPAN&gt;It's both right? Too many connections and too many reads to the same database's transaction logs are both causes of overhead?"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Too many connection all reading and interpreting the same transaction log will cause too much overhead on the source server to deliver the data and too much overhead on the Replicate server to interpret that data over and over.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 00:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2425595#M9892</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-03-01T00:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2425597#M9894</link>
      <description>&lt;P&gt;Hi Hein,&lt;/P&gt;
&lt;P&gt;Thanks. In the theoretical scenario where a server has 10 different databases and there are 10 different logstream staging tasks each reading one of the databases. There are 10 connections to the server, but 1 connection to each database so my understanding is that not much overhead is created in this scenario.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So mainly the issue is too many connections on the same 1 database. Not too many connections on the server which contains these databases. Thanks for the help, it's truly appreciated.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 00:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2425597#M9894</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-03-01T00:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2428096#M10050</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you talk more about the source endpoint involved then we would suggest and clear the design confusion here.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sushil Kumar&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 08:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2428096#M10050</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2024-03-07T08:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Considerations of having multiple Replicate servers reading the same source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2428346#M10063</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;EM&gt;&amp;nbsp;In the theoretical scenario where a server has 10 different databases and there are 10 different logstream staging tasks each reading one of the databases.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Correct, for 10 different database you must have 10 different end-points and 1 logstream task to read changes from each.&lt;/P&gt;
&lt;P&gt;HOWEVER - this is a completely different scenario from the original discussion: "&lt;SPAN&gt;&lt;EM&gt;100 tasks reading from the same source endpoint.&lt;/EM&gt;".&amp;nbsp; - Which is 99% certain to be the wrong design choice.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;nbsp;So mainly the issue is too many connections on the same 1 database. Not too many connections on the server which contains these databases.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;INCORRECT. This issue (for the original stated problem) is not the number of connections but rather that each CDC connection must &lt;STRONG&gt;actively&lt;/STRONG&gt; read/poll the transaction log which typically has high, constant, resource usage on the source server and network, as well as the Replicate server. One CDC reader per database is unavoidable (so 10 per new scenario due to 10 different databases), but more than one should be minimized typically by using logstream, but sometimes by just handling more and more tables in a single task.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&lt;EM&gt;&amp;nbsp;Not too many connections&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Each client tasks will still have all the normal 'full-load' connection to check the schema/table definitions, to be able to reload tables, and to be able to read lobs. So even logstream the total number of connections to the source will be more or less the same, but most of them will be &lt;STRONG&gt;inactive&lt;/STRONG&gt; during regular operations. There will be fewer (1) &lt;STRONG&gt;active&lt;/STRONG&gt; CDC streams which is a big win normally.&lt;/P&gt;
&lt;P&gt;BTW... perhaps an interesting observation:&amp;nbsp; For Oracle sources with&amp;nbsp;&lt;SPAN&gt;pluggable database (PDB's) the REDO/ARCH logs are actually shared and managed in the CDB. Replicate will end up reading the single and same physical log over and over selecting CDC events for each V$INSTANCE number for each PDB.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 15:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Considerations-of-having-multiple-Replicate-servers-reading-the/m-p/2428346#M10063</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-03-07T15:11:17Z</dc:date>
    </item>
  </channel>
</rss>

