<?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 [resolved] Manage Partition/Truncate Partition in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Manage-Partition-Truncate-Partition/m-p/2352159#M118594</link>
    <description>Hi, 
&lt;BR /&gt;I need to insert dat in oracle partitioned table (year-month), suppose we have created all the partitions necessary! 
&lt;BR /&gt;Before insert I need to truncate partition. 
&lt;BR /&gt;The only way I know is run a pre-job with tOracle_Row using variables where I have: 
&lt;BR /&gt;alter table tab_name truncate partition context.yearmonth 
&lt;BR /&gt;There's another simple and better way? 
&lt;BR /&gt;Because my solution suppose to have partition name saved into a variable, but if i have into data flow two months, 
&lt;BR /&gt;I must run pre_job and insert_job two times separatly. I want run one/two jobs only one time. 
&lt;BR /&gt;tOracleOutput have UPDATE/INSERT option but my performance decade so much, and I have around 30 millions of record each months. 
&lt;BR /&gt;Thanks in advance, 
&lt;BR /&gt;Gino.</description>
    <pubDate>Fri, 31 May 2013 11:33:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-31T11:33:03Z</dc:date>
    <item>
      <title>[resolved] Manage Partition/Truncate Partition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Manage-Partition-Truncate-Partition/m-p/2352159#M118594</link>
      <description>Hi, 
&lt;BR /&gt;I need to insert dat in oracle partitioned table (year-month), suppose we have created all the partitions necessary! 
&lt;BR /&gt;Before insert I need to truncate partition. 
&lt;BR /&gt;The only way I know is run a pre-job with tOracle_Row using variables where I have: 
&lt;BR /&gt;alter table tab_name truncate partition context.yearmonth 
&lt;BR /&gt;There's another simple and better way? 
&lt;BR /&gt;Because my solution suppose to have partition name saved into a variable, but if i have into data flow two months, 
&lt;BR /&gt;I must run pre_job and insert_job two times separatly. I want run one/two jobs only one time. 
&lt;BR /&gt;tOracleOutput have UPDATE/INSERT option but my performance decade so much, and I have around 30 millions of record each months. 
&lt;BR /&gt;Thanks in advance, 
&lt;BR /&gt;Gino.</description>
      <pubDate>Fri, 31 May 2013 11:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Manage-Partition-Truncate-Partition/m-p/2352159#M118594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-31T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Manage Partition/Truncate Partition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Manage-Partition-Truncate-Partition/m-p/2352160#M118595</link>
      <description>There is currently no other way to execute database special SQL like yours. 
&lt;BR /&gt;As far as I know, you should not insert into a partition. You can simple insert into the main table and Oracle decided by the given field content in which partition is must be added. 
&lt;BR /&gt;It is always a matter of how fast is your storage. I would recommend to discuss the usage of table spaces with your database administrator. It could be a good thing to have for the most recent partitions dedicated table spaces. 
&lt;BR /&gt;For more performance you should take a look to the Oracle bulk input components.</description>
      <pubDate>Sat, 01 Jun 2013 13:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Manage-Partition-Truncate-Partition/m-p/2352160#M118595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-01T13:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Manage Partition/Truncate Partition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Manage-Partition-Truncate-Partition/m-p/2352161#M118596</link>
      <description>Hi jlolling,
&lt;BR /&gt;thanks for reply, sorry for the late but i work hard in these days.</description>
      <pubDate>Thu, 06 Jun 2013 09:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Manage-Partition-Truncate-Partition/m-p/2352161#M118596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-06T09:21:06Z</dc:date>
    </item>
  </channel>
</rss>

