<?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: (Qlik Replicate) Handling FK Violations in Oracle to PostgreSQL Replication in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Handling-FK-Violations-in-Oracle-to-PostgreSQL/m-p/2125292#M7550</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/175433"&gt;@Vinicius_Luiz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't have an answer to your direct question, but you can avoid issues with FK violations by running the tasks in transactional apply mode, so that every transaction on the target mimics what happens on the source in the same order. The obvious downside to this is it performs much slower. Just wanted to point this out in case you were not aware.&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 21:24:09 GMT</pubDate>
    <dc:creator>Dana_Baldwin</dc:creator>
    <dc:date>2023-10-04T21:24:09Z</dc:date>
    <item>
      <title>(Qlik Replicate) Handling FK Violations in Oracle to PostgreSQL Replication</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Handling-FK-Violations-in-Oracle-to-PostgreSQL/m-p/2125290#M7549</link>
      <description>&lt;P&gt;Hello everyone, to make my question easier to understand, here are two scenarios:&lt;/P&gt;
&lt;P&gt;Scenario 1. In a replication task (Oracle -&amp;gt; Oracle). When replicating a record that will have an FK violation, the data error will be stored in the "attrep_apply_exceptions" table in the target database and the task continues to operate normally.&lt;/P&gt;
&lt;P&gt;Scenario 2. In a replication task (Oracle -&amp;gt; PostgreSQL). When replicating a record that will have an FK violation, the data error is stored in the table log, and in addition, the transaction is pending in the task until the error is resolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Scenario 2 is problematic because data replication is completely affected due to a record with FK violation (figure 1). Is there any way to make the registry with violated FK treated the same way as in scenario 1? It is important to highlight that the Error Handling configuration is the same in both scenarios.&lt;/P&gt;
&lt;P&gt;Figure 1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vinicius_Luiz_1-1696451702424.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/117637iDC43D603B9F429F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vinicius_Luiz_1-1696451702424.png" alt="Vinicius_Luiz_1-1696451702424.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Replicação Qlik" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 21:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Handling-FK-Violations-in-Oracle-to-PostgreSQL/m-p/2125290#M7549</guid>
      <dc:creator>Vinicius_Luiz</dc:creator>
      <dc:date>2023-10-04T21:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: (Qlik Replicate) Handling FK Violations in Oracle to PostgreSQL Replication</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Handling-FK-Violations-in-Oracle-to-PostgreSQL/m-p/2125292#M7550</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/175433"&gt;@Vinicius_Luiz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't have an answer to your direct question, but you can avoid issues with FK violations by running the tasks in transactional apply mode, so that every transaction on the target mimics what happens on the source in the same order. The obvious downside to this is it performs much slower. Just wanted to point this out in case you were not aware.&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 21:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Handling-FK-Violations-in-Oracle-to-PostgreSQL/m-p/2125292#M7550</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2023-10-04T21:24:09Z</dc:date>
    </item>
  </channel>
</rss>

