<?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: Best Practices for DEV -&amp;gt; PROD migration in Data &amp; Schema Discussions</title>
    <link>https://community.incorta.com/t5/data-schema-discussions/best-practices-for-dev-gt-prod-migration/m-p/2958#M205</link>
    <description>&lt;P&gt;Adding - I just deleted a physical schema from DEV and imported the PROD copy.&amp;nbsp; &amp;nbsp;Just for kicks I tried to load the schema from stage and ...&amp;nbsp; it worked.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;So a new question is when do staging tables ( files ) go away and how can I take advantage of this apparent persistence?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I hadn't made any changes to data sources ( SQL ) so there weren't any inconsistencies that way - but if there were I'd expect an error on the table load - but the schema I think should work w/ the other tables.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 16:26:32 GMT</pubDate>
    <dc:creator>RADSr</dc:creator>
    <dc:date>2022-10-13T16:26:32Z</dc:date>
    <item>
      <title>Best Practices for DEV -&gt; PROD migration</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/best-practices-for-dev-gt-prod-migration/m-p/2957#M204</link>
      <description>&lt;P&gt;I'm about to embark on a change which will impact a whole bunch ( tech term )&amp;nbsp; of measures from different tables and views in both physical and business schemae.&amp;nbsp; &amp;nbsp; I have a DEV environment - huzzah! - so I intend to make changes there.&amp;nbsp; &amp;nbsp;That brings up a question of the best way to move changes from DEV to PROD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just for the record I did search first and found this:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.incorta.com/t5/administration-knowledgebase/best-practices-article-index/ta-p/1731" target="_blank"&gt;https://community.incorta.com/t5/administration-knowledgebase/best-practices-article-index/ta-p/1731&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and this:&amp;nbsp;&lt;A href="https://community.incorta.com/t5/administration-knowledgebase/migrating-content-between-environments/ta-p/1865" target="_blank"&gt;https://community.incorta.com/t5/administration-knowledgebase/migrating-content-between-environments/ta-p/1865&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but am still left w/ a few questions - I think an important note is that I'm all cloud so no fiddling about w/ copying files and whatnot directly in the OS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) In DEV I may be working on changes to several tables and be ready to promote only one of them - is there a way to do this other than to re-key the changes in PROD?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1a) I know I can hack around in the XML exports to swap out table definitions and whatnot, although I assume that's not a supported technique ?&amp;nbsp; &amp;nbsp; &amp;nbsp; What is the best way to move table/view changes from DEV to PROD?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Is there a way to move schema/table/view changes from DEV to PROD w/out wiping out existing stored data?&amp;nbsp; If I make changes on a half-dozen tables of a 50 table schema do I need to do a full load of all 50 after a schema import ( I think ) ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Objects ( schemas and dashboards ) are numbered in the XML - is this meaningful?&amp;nbsp; Is there a risk of collision if I'm not actively avoiding conflicts?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;4) It looks like importing a schema of the same name ( and number? ) retains the version history in the metadata db so I can still rollback if need be w/ out importing a backup - is that correct?&amp;nbsp; Perhaps more importantly is that the design intent and can I rely on it as part of the migration process?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure there are more questions and considerations and I'm hopeful I'm not the only person thinkgin about them &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 16:10:43 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/best-practices-for-dev-gt-prod-migration/m-p/2957#M204</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2022-10-13T16:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Best Practices for DEV -&gt; PROD migration</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/best-practices-for-dev-gt-prod-migration/m-p/2958#M205</link>
      <description>&lt;P&gt;Adding - I just deleted a physical schema from DEV and imported the PROD copy.&amp;nbsp; &amp;nbsp;Just for kicks I tried to load the schema from stage and ...&amp;nbsp; it worked.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;So a new question is when do staging tables ( files ) go away and how can I take advantage of this apparent persistence?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I hadn't made any changes to data sources ( SQL ) so there weren't any inconsistencies that way - but if there were I'd expect an error on the table load - but the schema I think should work w/ the other tables.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 16:26:32 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/best-practices-for-dev-gt-prod-migration/m-p/2958#M205</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2022-10-13T16:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Best Practices for DEV -&gt; PROD migration</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/best-practices-for-dev-gt-prod-migration/m-p/2960#M206</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;1) In DEV I may be working on changes to several tables and be ready to promote only one of them - is there a way to do this other than to re-key the changes in PROD?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, it is not possible today.&amp;nbsp; We need to consider other dependent objects as well, such as aliases and joins.&amp;nbsp; Currently export and import are done &lt;STRONG&gt;at the schema level&lt;/STRONG&gt;.&amp;nbsp; We do have a relative new feature that allows you to export a notebook of a MV and you can import the notebook only to another new or old MV that can be any place, either another env or the same env.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The practice is to migrate the entire schema when all objects in the schema are ready.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When multiple changes need to be done to the same schema, I will made the change in a sequential order for migrating to the new env.&amp;nbsp; Development work for a bigger change may be done in a different schema first and reimplement in the DEV env when it is ready.&lt;/P&gt;
&lt;P&gt;Adding columns and adding tables should have minimum impact to the downstream process.&amp;nbsp; I may just go ahead to release it without the new business view or new dashboards that uptake the new schema change.&lt;/P&gt;
&lt;P&gt;I will not manually update the schema for the individual table change in PROD.&amp;nbsp; As the migration and the development work may be done by different people and the change prompted should be fully tested first in DEV.&amp;nbsp; However, some changes may have to be done in this way are scheduled job, MV properties, adding DB hints to SQL, sharing to different groups.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A good practice is to perform a schema comparison between the target schema in the PROD and the to-be-prompted schema from DEV and see the difference before migrating.&amp;nbsp; It will be important if you start having the practice of applying individual changes to the PROD.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 17:22:29 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/best-practices-for-dev-gt-prod-migration/m-p/2960#M206</guid>
      <dc:creator>dylanwan</dc:creator>
      <dc:date>2022-10-14T17:22:29Z</dc:date>
    </item>
  </channel>
</rss>

