<?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: Oracle nifi big data in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333824#M231525</link>
    <description>&lt;P&gt;Than you I will try this. I'm new in nifi, so I make flow like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LejlaKM_0-1642165448181.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33157iFB206989E923702D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LejlaKM_0-1642165448181.png" alt="LejlaKM_0-1642165448181.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, I need&amp;nbsp;&lt;SPAN&gt;GenerateTableFetch&amp;nbsp;processor before QueryDatabaseTable? Am I right?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jan 2022 13:06:29 GMT</pubDate>
    <dc:creator>LejlaKM</dc:creator>
    <dc:date>2022-01-14T13:06:29Z</dc:date>
    <item>
      <title>Oracle nifi big data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333820#M231522</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to move one big table (16 GB)&amp;nbsp; from one oracle database to another. When I try to move table with more then 1 GB data, my nifi GUI crashes. Can you suggest me how to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks' in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lejla&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 12:09:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333820#M231522</guid>
      <dc:creator>LejlaKM</dc:creator>
      <dc:date>2022-01-14T12:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle nifi big data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333822#M231524</link>
      <description>&lt;P&gt;What I understand : As soon as you start the processor&amp;nbsp;&lt;SPAN&gt;ExecuteSQL&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;to load the data from oracle to NiFI , after few min NiFi UI became unviable but when you check on host , NiFi process id shows running. if this the case then&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a behaviour of resource constraints in NiFi with respect to memory and not the right way to read/load data from database.&lt;/P&gt;&lt;P&gt;Two things needs to be considered here .&lt;/P&gt;&lt;P&gt;1. Need to make sure NiFi os configured with right heap settings&lt;/P&gt;&lt;P&gt;2. Load the data in incremental manner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NiFi can run various Sql loads with 8-16 GB of heap, so this much heap is required&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use&amp;nbsp;&lt;SPAN&gt;GenerateTableFetch before&amp;nbsp;ExecuteSQL and limit number of records in each flow file with settings "Max Rows Per Flow File"&amp;nbsp; &amp;amp; "Output Batch Size" &amp;amp;&amp;nbsp;Fetch Size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;With some test run iterations you need to determine what would be right value for above setting which does not create high heap usage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 13:00:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333822#M231524</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2022-01-14T13:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle nifi big data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333824#M231525</link>
      <description>&lt;P&gt;Than you I will try this. I'm new in nifi, so I make flow like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LejlaKM_0-1642165448181.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33157iFB206989E923702D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LejlaKM_0-1642165448181.png" alt="LejlaKM_0-1642165448181.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, I need&amp;nbsp;&lt;SPAN&gt;GenerateTableFetch&amp;nbsp;processor before QueryDatabaseTable? Am I right?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 13:06:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333824#M231525</guid>
      <dc:creator>LejlaKM</dc:creator>
      <dc:date>2022-01-14T13:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle nifi big data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333827#M231528</link>
      <description>&lt;P&gt;Thanks for additional details , You can use&amp;nbsp;&lt;SPAN&gt;QueryDatabaseTable or&amp;nbsp;GenerateTableFetch with ExecuteSQL both will be fine, as said you need to limit number of records per flow file .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When you say "When I try to move table with more then 1 GB data, my nifi GUI crashes"does that mean 1 flow file size is 1GB ? in NiFi generate by QueryDatabaseTable ? Is this happening when loading into NiFi by&amp;nbsp;QueryDatabaseTable or after SplitAvro ? or At PutDabaseRecord ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ideal way is to have small flow file size at the loading from DB by limiting setting in&amp;nbsp;QueryDatabaseTable or&amp;nbsp;GenerateTableFetch which ever you use so memory footprint will be less and records will be streamed into multiple flow files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank You.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 13:26:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333827#M231528</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2022-01-14T13:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle nifi big data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333830#M231531</link>
      <description>&lt;P&gt;Thank you very very much. My nifi crashes on insert (processor&amp;nbsp; PutDatabaseRecord). Now I will try set these values&amp;nbsp;&lt;SPAN&gt;Max Rows Per Flow File"&amp;nbsp; &amp;amp; "Output Batch Size" &amp;amp;&amp;nbsp;Fetch Size and try again. If it works I let You know. Thank's again&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 13:34:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333830#M231531</guid>
      <dc:creator>LejlaKM</dc:creator>
      <dc:date>2022-01-14T13:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle nifi big data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333832#M231533</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank You, If you found this response assisted with your query, please take a moment to login and click on "&lt;/SPAN&gt;&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;&lt;SPAN&gt;" below this post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank You.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 13:45:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333832#M231533</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2022-01-14T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle nifi big data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333843#M231538</link>
      <description>&lt;P&gt;Thank you for everything. I try this and nifi doesn't crashes. Processor GenerateTableFetch finish work very quick, but insert into database (processor PutDatabaseRecod) is very slow. Can the process be somehow speeded up? I'm sending picture of my flow&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LejlaKM_0-1642172770805.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33161i57338A3796F5363C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LejlaKM_0-1642172770805.png" alt="LejlaKM_0-1642172770805.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank's in advance&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 15:06:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333843#M231538</guid>
      <dc:creator>LejlaKM</dc:creator>
      <dc:date>2022-01-14T15:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle nifi big data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333850#M231539</link>
      <description>&lt;P&gt;&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;Sharing your dataflow design and processor component configurations may help get you more/better responses to your query.&lt;BR /&gt;&lt;BR /&gt;Things you will want to look at before and when you run this dataflow:&lt;BR /&gt;1. NiFi heap usage and general memory usage on the host&lt;BR /&gt;2. Disk I/O and Network I/O&lt;BR /&gt;3. NiFi Host CPU Utilization (If your flow consumes 100% of the CPU(s) during execution, this can lead to what you are observing.&amp;nbsp; Does UI functionality return once copy is complete?)&lt;BR /&gt;4. Your dataflow design implementation including components used, configurations, concurrent tasks etc.&lt;BR /&gt;&lt;BR /&gt;While most use cases can be accomplished through dataflow implementations within NiFi, not all use cases are a good fit for NiFi.&amp;nbsp; IN this case your description points at copying a large Table from One Oracle DB to another.&amp;nbsp; You made not mention of any filtering, modifying, enhancing, etc being done to the Table data between this move which is where NiFi would fit in.&amp;nbsp; If your use case is a straight forward copying from A to B, then NiFi may not be the best fit for this specific us case as it will introduce unnecessary overhead to the process.&amp;nbsp; NiFi ingest content and writes it a content_repository and creates FlowFiles with attributes/metadata about the ingested data stored in a FlowFile_repository.&amp;nbsp; Then it has to read that content as it writes ti back out to a destination.&amp;nbsp; &amp;nbsp;For simple copy operations where not intermediate manipulation or routing of the DB contents needs to be done, a tool that directly streams from DB A to DB B would likely be much faster.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 15:24:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oracle-nifi-big-data/m-p/333850#M231539</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2022-01-14T15:24:06Z</dc:date>
    </item>
  </channel>
</rss>

