<?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: Period Based Incremental Refresh in Data &amp; Schema Discussions</title>
    <link>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5679#M473</link>
    <description>&lt;P&gt;Hi Maran,&lt;/P&gt;&lt;P&gt;[edit] - it's not as complex as my post probably reads&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp; &amp;nbsp; Let me know if you want to jump on a call and walk through it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you know Incorta doesn't do deletes, but will update if you do an incremental load and have key columns defined and constraints enforced - so you could set up your incremental query with something like ship_date &amp;gt;= add_days(current_day, -30 ) and let 'er rip.&lt;/P&gt;&lt;P&gt;Alternatively - what I did when faced with a similar situation - was create a couple of tables and an MV:&lt;/P&gt;&lt;P&gt;Table 1:&amp;nbsp; Historic data - more or less static and does not need to be re-run&amp;nbsp; ( in my case a full refresh was &amp;gt; 24 hours so I needed to *not* reload static data)&lt;/P&gt;&lt;P&gt;Table 2:&amp;nbsp; In flux data - in your case the last three months which can be pulled in a full load&lt;/P&gt;&lt;P&gt;MV: Union of the two.&amp;nbsp; &amp;nbsp;Since the two sources are resident in Incorta this loads really quickly.&lt;/P&gt;&lt;P&gt;I kept Table 1 in a dedicated schema so it was never loaded unless I wanted it to be.&amp;nbsp; &amp;nbsp;Table 2 and the MV were in my "main" schema because I wanted Incorta to enforce running Table 2 prior to the MV.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2024 12:23:17 GMT</pubDate>
    <dc:creator>RADSr</dc:creator>
    <dc:date>2024-04-26T12:23:17Z</dc:date>
    <item>
      <title>Period Based Incremental Refresh</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5658#M468</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Can anyone explain how to do period-based Incremental load based on the &lt;STRONG&gt;Ship_Date&lt;/STRONG&gt;&amp;nbsp;column(Date format. not timestamp)?&lt;/P&gt;&lt;P&gt;In our current ETl tool, we delete the last 3 months(Ship_Date) records from the Data Warehouse table and load the last 3 months' data from the source table. because there will be changes in the last month's data. So we refresh the data daily for the last 3 months based on &lt;STRONG&gt;Ship_Date&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;How to achieve this in Incorta load?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 12:03:01 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5658#M468</guid>
      <dc:creator>Maran_Rengasamy</dc:creator>
      <dc:date>2024-04-18T12:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Period Based Incremental Refresh</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5661#M469</link>
      <description>&lt;P&gt;I have similar use case and I would appreciate an answer from anyone already familiar with Incorta.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 11:23:56 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5661#M469</guid>
      <dc:creator>KasiaP</dc:creator>
      <dc:date>2024-04-19T11:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Period Based Incremental Refresh</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5669#M470</link>
      <description>&lt;P&gt;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/1018"&gt;@Maran_Rengasamy&lt;/a&gt;&amp;nbsp; - If I understand, it's not a date format? Could you give a few ship_date sample values? Are you working to keep a full history of records in Incorta or only the last three months?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 14:06:11 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5669#M470</guid>
      <dc:creator>JoeM</dc:creator>
      <dc:date>2024-04-22T14:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Period Based Incremental Refresh</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5673#M472</link>
      <description>&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;Thanks for your response. The Ship_Date is in Date format(yyyy/mm/dd). Source data is in Oracle DB and the target table is in SQL Server.&amp;nbsp; Below are some sample dates.&lt;/P&gt;&lt;P&gt;I'm trying to keep the history data(for example 2017/01/01 to today) and try to refresh only the last 3 months' data daily.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="75"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="75"&gt;2024/04/23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024/04/18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024/04/19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024/03/25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024/03/21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024/03/06&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024/03/23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024/03/15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2024/02/22&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 11:12:12 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5673#M472</guid>
      <dc:creator>Maran_Rengasamy</dc:creator>
      <dc:date>2024-04-24T11:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Period Based Incremental Refresh</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5679#M473</link>
      <description>&lt;P&gt;Hi Maran,&lt;/P&gt;&lt;P&gt;[edit] - it's not as complex as my post probably reads&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp; &amp;nbsp; Let me know if you want to jump on a call and walk through it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you know Incorta doesn't do deletes, but will update if you do an incremental load and have key columns defined and constraints enforced - so you could set up your incremental query with something like ship_date &amp;gt;= add_days(current_day, -30 ) and let 'er rip.&lt;/P&gt;&lt;P&gt;Alternatively - what I did when faced with a similar situation - was create a couple of tables and an MV:&lt;/P&gt;&lt;P&gt;Table 1:&amp;nbsp; Historic data - more or less static and does not need to be re-run&amp;nbsp; ( in my case a full refresh was &amp;gt; 24 hours so I needed to *not* reload static data)&lt;/P&gt;&lt;P&gt;Table 2:&amp;nbsp; In flux data - in your case the last three months which can be pulled in a full load&lt;/P&gt;&lt;P&gt;MV: Union of the two.&amp;nbsp; &amp;nbsp;Since the two sources are resident in Incorta this loads really quickly.&lt;/P&gt;&lt;P&gt;I kept Table 1 in a dedicated schema so it was never loaded unless I wanted it to be.&amp;nbsp; &amp;nbsp;Table 2 and the MV were in my "main" schema because I wanted Incorta to enforce running Table 2 prior to the MV.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 12:23:17 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5679#M473</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2024-04-26T12:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Period Based Incremental Refresh</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5688#M477</link>
      <description>&lt;P&gt;Excellent!!! Thanks for your input&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;.&amp;nbsp; I think the alternative method will work for my case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 06:20:31 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/period-based-incremental-refresh/m-p/5688#M477</guid>
      <dc:creator>Maran_Rengasamy</dc:creator>
      <dc:date>2024-04-30T06:20:31Z</dc:date>
    </item>
  </channel>
</rss>

