<?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 Bi-directional loading &amp;quot;attrep_loopback_prevention&amp;quot; Table in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Bi-directional-loading-quot-attrep-loopback-prevention-quot/m-p/2132331#M7867</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I'm trying Bi-direction task between the oracle and postgres-aurora endpoints,&lt;/P&gt;
&lt;P&gt;as soon as I start the task, there is error saying "attrep_loopback_prevention" doesn't exists.&lt;/P&gt;
&lt;P&gt;So I had to manually create the table at the oracle source.&lt;/P&gt;
&lt;P&gt;Is it not that the&amp;nbsp; "attrep_loopback_prevention" Table should be created on its own, as soon I start the task?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Manjunath&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2023 04:22:15 GMT</pubDate>
    <dc:creator>Manjunathps</dc:creator>
    <dc:date>2023-10-27T04:22:15Z</dc:date>
    <item>
      <title>Bi-directional loading "attrep_loopback_prevention" Table</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Bi-directional-loading-quot-attrep-loopback-prevention-quot/m-p/2132331#M7867</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I'm trying Bi-direction task between the oracle and postgres-aurora endpoints,&lt;/P&gt;
&lt;P&gt;as soon as I start the task, there is error saying "attrep_loopback_prevention" doesn't exists.&lt;/P&gt;
&lt;P&gt;So I had to manually create the table at the oracle source.&lt;/P&gt;
&lt;P&gt;Is it not that the&amp;nbsp; "attrep_loopback_prevention" Table should be created on its own, as soon I start the task?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Manjunath&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 04:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Bi-directional-loading-quot-attrep-loopback-prevention-quot/m-p/2132331#M7867</guid>
      <dc:creator>Manjunathps</dc:creator>
      <dc:date>2023-10-27T04:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bi-directional loading "attrep_loopback_prevention" Table</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Bi-directional-loading-quot-attrep-loopback-prevention-quot/m-p/2132334#M7868</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/226839"&gt;@Manjunathps&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Thank you for reaching out to the Qlik community!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;These are directions for how to use the bi-directional task in a one-way mode to ignore transactions.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;First&amp;nbsp; create the attrep_loopback_prevention manually in the source:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;  ( "task_name" VARCHAR2(128) NOT NULL ENABLE,  

"timestamp" TIMESTAMP (0),  

 CONSTRAINT "HRattrep_loopback_prevention" PRIMARY KEY ("task_name") ENABLE,  

 SUPPLEMENTAL LOG DATA (PRIMARY KEY) COLUMNS 

   ) 

 &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-contrast="auto"&gt;Make sure to insert a dummy row into the&lt;EM class="Highlight ht2c6c403f-9a8b-4443-aff9-302b6cb5b142"&gt;&amp;nbsp;new&amp;nbsp;&lt;/EM&gt;table:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;insert into "attrep_loopback_prevention" values ('JUNK', sysdate); &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-contrast="auto"&gt;When doing an operation make sure to ignore then include an operation against this table:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;delete from job_history where employee_id &amp;gt; 999; 

update "attrep_loopback_prevention" set "timestamp" = sysdate; 

commit; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-contrast="auto"&gt;Create a bi-directional task.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-contrast="auto"&gt;DOWNSIDE: Every transaction applied to the target will update the attrep_loopback_prevention table.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;refer the below articles for the same.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Using-Bi-Directional-to-Ignore-Transactions/ta-p/1735968" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Using-Bi-Directional-to-Ignore-Transactions/ta-p/1735968&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Setting-up-Bi-Directional-Replication/ta-p/1735967" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Setting-up-Bi-Directional-Replication/ta-p/1735967&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sachin B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 04:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Bi-directional-loading-quot-attrep-loopback-prevention-quot/m-p/2132334#M7868</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2023-10-27T04:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Bi-directional loading "attrep_loopback_prevention" Table</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Bi-directional-loading-quot-attrep-loopback-prevention-quot/m-p/2132453#M7872</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/226839"&gt;@Manjunathps&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"attrep_loopback_prevention" should be created by Replicate automatically. If it fails to do so, you can enable TRACE/VERBOSE logging on TARGET_APPLY to check why.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 11:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Bi-directional-loading-quot-attrep-loopback-prevention-quot/m-p/2132453#M7872</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2023-10-27T11:11:25Z</dc:date>
    </item>
  </channel>
</rss>

