<?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 Impact on CDC Replicate Tasks when Dropping Partition from Oracle Table in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-CDC-Replicate-Tasks-when-Dropping-Partition-from/m-p/2021461#M4582</link>
    <description>&lt;P&gt;we have a qlik replicate CDC task configured to ingest the data from oracle source to snowflake target in near real time manner.&amp;nbsp; All the tables that we have in the tasks are partitioned based on YYYYMM. Last year we did the initial full load on all these tables and from that point onwards we are receiving the CDC changes.&lt;/P&gt;
&lt;P&gt;Over a period of time the size of the table has grown bigger and now we have decided to clean up some of the old transactions from the table. As part of the clean up exercise we have decided to drop older partitions by altering the tables.&lt;/P&gt;
&lt;P&gt;If we alter the table and drop old partition will there be any impact on the CDC task which are currently active with those tables.&lt;/P&gt;
&lt;P&gt;This is what we are planning to do.&lt;/P&gt;
&lt;P&gt;1. Stop the application and make sure there are no activities on the oracle DB&lt;/P&gt;
&lt;P&gt;2. Stop the CDC task&lt;/P&gt;
&lt;P&gt;3. Drop partitions (by executing alter table drop partition command)&lt;/P&gt;
&lt;P&gt;4. Resume the CDC task&lt;/P&gt;
&lt;P&gt;Please let me know if there is any impact.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2023 20:47:17 GMT</pubDate>
    <dc:creator>NewbieQlik</dc:creator>
    <dc:date>2023-01-03T20:47:17Z</dc:date>
    <item>
      <title>Impact on CDC Replicate Tasks when Dropping Partition from Oracle Table</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-CDC-Replicate-Tasks-when-Dropping-Partition-from/m-p/2021461#M4582</link>
      <description>&lt;P&gt;we have a qlik replicate CDC task configured to ingest the data from oracle source to snowflake target in near real time manner.&amp;nbsp; All the tables that we have in the tasks are partitioned based on YYYYMM. Last year we did the initial full load on all these tables and from that point onwards we are receiving the CDC changes.&lt;/P&gt;
&lt;P&gt;Over a period of time the size of the table has grown bigger and now we have decided to clean up some of the old transactions from the table. As part of the clean up exercise we have decided to drop older partitions by altering the tables.&lt;/P&gt;
&lt;P&gt;If we alter the table and drop old partition will there be any impact on the CDC task which are currently active with those tables.&lt;/P&gt;
&lt;P&gt;This is what we are planning to do.&lt;/P&gt;
&lt;P&gt;1. Stop the application and make sure there are no activities on the oracle DB&lt;/P&gt;
&lt;P&gt;2. Stop the CDC task&lt;/P&gt;
&lt;P&gt;3. Drop partitions (by executing alter table drop partition command)&lt;/P&gt;
&lt;P&gt;4. Resume the CDC task&lt;/P&gt;
&lt;P&gt;Please let me know if there is any impact.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 20:47:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-CDC-Replicate-Tasks-when-Dropping-Partition-from/m-p/2021461#M4582</guid>
      <dc:creator>NewbieQlik</dc:creator>
      <dc:date>2023-01-03T20:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Impact on CDC Replicate Tasks when Dropping Partition from Oracle Table</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-CDC-Replicate-Tasks-when-Dropping-Partition-from/m-p/2021464#M4583</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128304"&gt;@NewbieQlik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note the following limitations on Oracle partitions.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Data changes resulting from partition/sub-partition operations (ADD, DROP, EXCHANGE and TRUNCATE) will not be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.replicate variable"&gt;replicate&lt;/SPAN&gt;d and may cause the following errors:
&lt;UL&gt;
&lt;LI&gt;For ADD operations, updates and deletes on the added data may return a "0 rows affected" warning.&lt;/LI&gt;
&lt;LI&gt;For DROP and TRUNCATE operations, new inserts may result in "duplicates" errors.&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;For EXCHANGE operations, both a "0 rows affected" warning and "duplicates" errors may be encountered.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.replicate variable"&gt;replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;changes resulting from partition/sub-partition operations, you need to reload the tables in question. When adding a new&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;empty&lt;/I&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;partition, operations on the newly added partition will be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.replicate variable"&gt;replicate&lt;/SPAN&gt;d to the target as normal.&lt;/P&gt;
&lt;A href="https://help.qlik.com/en-US/replicate/May2021/Content/Replicate/Main/Oracle/OracleDB_source_limitations.htm" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2021/Content/Replicate/Main/Oracle/OracleDB_source_limitations.htm&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 03 Jan 2023 21:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-CDC-Replicate-Tasks-when-Dropping-Partition-from/m-p/2021464#M4583</guid>
      <dc:creator>Alan_Wang</dc:creator>
      <dc:date>2023-01-03T21:03:25Z</dc:date>
    </item>
  </channel>
</rss>

