<?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 Update and add values in a materialized view using incremental load in Data &amp; Schema Discussions</title>
    <link>https://community.incorta.com/t5/data-schema-discussions/update-and-add-values-in-a-materialized-view-using-incremental/m-p/3862#M298</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have quite a big MV that's takes about and 1.5 hours to finish loading, I've tried using incremental load but it doesn't seem to update values only append. I want to know if there's a way to keep data up till a certain date, and everything after that essentially gets reloaded.&lt;/P&gt;&lt;P&gt;For example, I have data from 2018 till current day, but I only want records in 2023 to be updated or added, if I need to reload data from 2018 I can use a full load, but I want to use incremental load to only have an effect for 2023 data.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2023 05:46:21 GMT</pubDate>
    <dc:creator>keenan</dc:creator>
    <dc:date>2023-03-07T05:46:21Z</dc:date>
    <item>
      <title>Update and add values in a materialized view using incremental load</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/update-and-add-values-in-a-materialized-view-using-incremental/m-p/3862#M298</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have quite a big MV that's takes about and 1.5 hours to finish loading, I've tried using incremental load but it doesn't seem to update values only append. I want to know if there's a way to keep data up till a certain date, and everything after that essentially gets reloaded.&lt;/P&gt;&lt;P&gt;For example, I have data from 2018 till current day, but I only want records in 2023 to be updated or added, if I need to reload data from 2018 I can use a full load, but I want to use incremental load to only have an effect for 2023 data.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 05:46:21 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/update-and-add-values-in-a-materialized-view-using-incremental/m-p/3862#M298</guid>
      <dc:creator>keenan</dc:creator>
      <dc:date>2023-03-07T05:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Update and add values in a materialized view using incremental load</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/update-and-add-values-in-a-materialized-view-using-incremental/m-p/3863#M299</link>
      <description>&lt;P&gt;I have seen this before ( and in fact am about to implement a solution again )&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a schema for your historic data and create a table w/in&amp;nbsp; ( I use &amp;lt; beginning of month ) but whatever works for you )&lt;/P&gt;&lt;P&gt;In your main schema, edit the data source to only bring in &amp;gt;= beginning of month&lt;/P&gt;&lt;P&gt;Then add a second data source querying the historic Incorta table.&amp;nbsp; &amp;nbsp; Incorta queries are really fast so you'll cut down the load time by a factor of a lot.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the source structure is identical you'll be doing essentially a UNION ALL w/disparate data sets and whatever formula columns you already have can remain intact and will continue working as before.&lt;/P&gt;&lt;P&gt;Schedule the main schema as a full load which will run quickly since it's only querying current month from the DB and the rest of the data from the historic schema.&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 22:26:57 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/update-and-add-values-in-a-materialized-view-using-incremental/m-p/3863#M299</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2023-03-07T22:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Update and add values in a materialized view using incremental load</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/update-and-add-values-in-a-materialized-view-using-incremental/m-p/3865#M300</link>
      <description>&lt;P&gt;Thank for the response&lt;/P&gt;&lt;P&gt;Do you think this will work for a Materialized View, as the only way to load the historical data and current data is through a MV&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 06:07:40 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/update-and-add-values-in-a-materialized-view-using-incremental/m-p/3865#M300</guid>
      <dc:creator>keenan</dc:creator>
      <dc:date>2023-03-08T06:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update and add values in a materialized view using incremental load</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/update-and-add-values-in-a-materialized-view-using-incremental/m-p/3867#M301</link>
      <description>&lt;P&gt;It will work via a MV.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The factor that drove me to using a multi-source Incorta table is that you cannot control the load order for MVs&amp;nbsp; ( they always load after tables in the schema have loaded ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 14:21:47 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/update-and-add-values-in-a-materialized-view-using-incremental/m-p/3867#M301</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2023-03-08T14:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Update and add values in a materialized view using incremental load</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/update-and-add-values-in-a-materialized-view-using-incremental/m-p/3871#M304</link>
      <description>&lt;P&gt;Ok perfect&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 11:06:42 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/update-and-add-values-in-a-materialized-view-using-incremental/m-p/3871#M304</guid>
      <dc:creator>keenan</dc:creator>
      <dc:date>2023-03-09T11:06:42Z</dc:date>
    </item>
  </channel>
</rss>

