<?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>question Re: Optimization nifi delete in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335857#M232053</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is oracle database&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LejlaKM_0-1644390603316.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33501i68804EAAB9C2FFEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LejlaKM_0-1644390603316.png" alt="LejlaKM_0-1644390603316.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Feb 2022 07:10:14 GMT</pubDate>
    <dc:creator>LejlaKM</dc:creator>
    <dc:date>2022-02-09T07:10:14Z</dc:date>
    <item>
      <title>Optimization nifi delete</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335773#M232028</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have one big table in one database that I have to sink on destination.&lt;/P&gt;&lt;P&gt;Firs I have flow with incremental insert and it works fine. Than in other flow I have incremental delete by ID column.&lt;/P&gt;&lt;P&gt;I am trying to delete 3179958 records from table.&amp;nbsp; I have one table on source and I have to do increment delete on destination.&amp;nbsp; This is my flow.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LejlaKM_0-1644317370284.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33490iBEEC6E5D6F49C5B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LejlaKM_0-1644317370284.png" alt="LejlaKM_0-1644317370284.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sending every processor separate:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;generatetablefetch:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LejlaKM_1-1644314568905.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33486i3A69F4E6F4EE6222/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LejlaKM_1-1644314568905.png" alt="LejlaKM_1-1644314568905.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;execute sql:&amp;nbsp;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LejlaKM_2-1644314619744.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33487iD594BFFFA9FE233E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LejlaKM_2-1644314619744.png" alt="LejlaKM_2-1644314619744.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;putdatabaserecord - delete&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LejlaKM_3-1644314687573.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33488i2EF438A7AA40FB24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LejlaKM_3-1644314687573.png" alt="LejlaKM_3-1644314687573.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I have much less records it all works fine. But now flow can't finished... Is there any other solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 10:49:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335773#M232028</guid>
      <dc:creator>LejlaKM</dc:creator>
      <dc:date>2022-02-08T10:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Optimization nifi delete</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335829#M232041</link>
      <description>&lt;P&gt;What's the underlying database? Could you please share the full configuration of the PutDatabaseRecord processor?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 21:21:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335829#M232041</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-02-08T21:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Optimization nifi delete</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335857#M232053</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is oracle database&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LejlaKM_0-1644390603316.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33501i68804EAAB9C2FFEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LejlaKM_0-1644390603316.png" alt="LejlaKM_0-1644390603316.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 07:10:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335857#M232053</guid>
      <dc:creator>LejlaKM</dc:creator>
      <dc:date>2022-02-09T07:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Optimization nifi delete</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335861#M232054</link>
      <description>Can you please provide the full configuration of PutDatabaseRecord?&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Feb 2022 08:57:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335861#M232054</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-02-09T08:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Optimization nifi delete</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335878#M232055</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95035"&gt;@LejlaKM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's some guidelines that should help with performance:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;On the database side, ensure that both tables (source and target) have a primary key enforced by an index to guarantee uniqueness and delete performance&lt;/LI&gt;&lt;LI&gt;GenerateTableFetch&lt;UL&gt;&lt;LI&gt;Columns to Return: specify only the primary key column (if the primary key is a composite key, specify the list of key columns separated by commas)&lt;/LI&gt;&lt;LI&gt;Maximum-value Columns: If the primary key increases monotonically, list the primary key column in this property too. If not, you should look for an alternative column that increases monotonically to specify here. Without this performance can be terrible.&lt;/LI&gt;&lt;LI&gt;Column for Value Partitioning: same as for "Maximum-value Columns"&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please let me know if this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 10:46:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335878#M232055</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-02-09T10:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Optimization nifi delete</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335909#M232062</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very very much...&lt;/P&gt;&lt;P&gt;Delete for&amp;nbsp;3179958 records works now 6 minutes&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 16:06:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Optimization-nifi-delete/m-p/335909#M232062</guid>
      <dc:creator>LejlaKM</dc:creator>
      <dc:date>2022-02-09T16:06:28Z</dc:date>
    </item>
  </channel>
</rss>

