<?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: Approach for Data Model Changes in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811477#M3208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These suggestions have worked for us and we no longer need to disable versioning, archiving and editor tracking for most of the data model changes.&lt;/P&gt;&lt;P&gt;However one question I still have is that if any fields get added or modified in a feature class, which participates in a replica, then does the replica need to be dropped and recreated?&lt;/P&gt;&lt;P&gt;Presently whenever we need to create a new featureclass, and it should be part of replica, we need to drop and recreate the replica. Similarly do field addition/modification/removal or even subtype/domain changes in a featureclass affects the replica?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Apurv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2018 22:27:26 GMT</pubDate>
    <dc:creator>ApurvDanke</dc:creator>
    <dc:date>2018-11-21T22:27:26Z</dc:date>
    <item>
      <title>Approach for Data Model Changes</title>
      <link>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811472#M3203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to start a discussion about data model changes. We have many instances where we need to do some or all of the following -&lt;/P&gt;&lt;P&gt;1. Field addition/deletion/renaming or any other field change.&lt;/P&gt;&lt;P&gt;2. Domain creation/modification.&lt;/P&gt;&lt;P&gt;3. New Feature class/Table creation.&lt;/P&gt;&lt;P&gt;4. New relationship class creation.&lt;/P&gt;&lt;P&gt;5. Enable Z-Aware or M-Aware on existing Feature Classes.&lt;/P&gt;&lt;P&gt;6. Unregister replica and create new replica.&lt;/P&gt;&lt;P&gt;7. Add/modify subtype to existing Feature Class.&lt;/P&gt;&lt;P&gt;8. Assign or modify privileges on feature datasets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our case we have a database where we have datasets registered as versioned, with archiving and editor tracking enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We usually follow the process mentioned below to do any kind of data model change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Disable editor tracking.&lt;/P&gt;&lt;P&gt;2. Disable archiving.&lt;/P&gt;&lt;P&gt;3. Unregister as versioned.&lt;/P&gt;&lt;P&gt;4. Do the data model changes.&lt;/P&gt;&lt;P&gt;5. Register as versioned.&lt;/P&gt;&lt;P&gt;6. Enable archiving.&lt;/P&gt;&lt;P&gt;7. Enable editor tracking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My query is which of the data model changes require us to disable all 3 options i.e. editor tracking, archiving and versioning and which do not?&lt;/P&gt;&lt;P&gt;If some data model changes do not require all the options to be disabled then what is the best practice which should be followed in each instance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Apurv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 11:24:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811472#M3203</guid>
      <dc:creator>ApurvDanke</dc:creator>
      <dc:date>2018-05-22T11:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Approach for Data Model Changes</title>
      <link>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811473#M3204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I am doing this from memory so hopefully I get it all right.&amp;nbsp; The biggest problem is that you must clear locks prior to most of these changes (ie disconnect users).&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;1. Field addition/deletion/renaming or any other field change.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;-Does not require disabling stuff.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;2. Domain creation/modification.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;-Does not require disabling stuff&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;3. New Feature class/Table creation.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;-Does not require disabling stuff.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;-If added inside a dataset, you will need to enable it again (old stuff remains unaffected) depending on your GDB version.&amp;nbsp; Otherwise, the new item won't have versioning/archiving set.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;4. New relationship class creation.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;-Does not require disabling stuff&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;-Changing item&amp;nbsp;may&amp;nbsp;&lt;SPAN&gt;requires disabling&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;versioning and archiving&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;-Adding topologies requires disabling versioning and archiving.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;5. Enable Z-Aware or M-Aware on existing Feature Classes.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;-I don't think you can once it is created.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;6. Unregister replica and create new replica.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;-Requires versioning to be enabled.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;7. Add/modify subtype to existing Feature Class.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;-Does not require disabling stuff.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;8. Assign or modify privileges on feature datasets.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;-Does not require disabling stuff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 12:53:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811473#M3204</guid>
      <dc:creator>KevinDunlop</dc:creator>
      <dc:date>2018-05-22T12:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Approach for Data Model Changes</title>
      <link>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811474#M3205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. There is a lot of shortage of ESRI documentation in this particular area i.e. data model changes as to what are the standard/best practices to be used when working in a versioned geodatabase. I have a few queries.&lt;/P&gt;&lt;P&gt;1. You mentioned that new feature class creation inside a versioned dataset does not require versioning to be disabled. Normally, whenever a dataset is registered as versioned, when we right click on it, we only have 1 option available i.e. to "unregister as versioned".&amp;nbsp; "Register as versioned" option is greyed out. Now if we directly create a new feature class in this dataset, what options will we have enabled? Will both the options be enabled?&lt;/P&gt;&lt;P&gt;2. Similar to the question above, how does adding a new feature class directly in a dataset which has archiving enabled, affect the options "Enable Archiving" and "Disable Archiving" for the dataset?&lt;/P&gt;&lt;P&gt;3. If we're modifying an existing versioned feature class such as adding a new field or modifying existing field - if we directly do the changes without unregistering as versioned; do the changes reflect properly in any versions which still exist? Do any versions need to be deleted&amp;nbsp; before doing this activity; such as posting all the edits to SDE.DEFAULT?&lt;/P&gt;&lt;P&gt;4. If we add or modify fields on a feature class with archiving enabled; how does this affect the corresponding H table? Will the field get added to H table as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Apurv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 08:37:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811474#M3205</guid>
      <dc:creator>ApurvDanke</dc:creator>
      <dc:date>2018-05-31T08:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Approach for Data Model Changes</title>
      <link>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811475#M3206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&amp;nbsp; You will only have the option to Register as Version if Archiving is turned on.&amp;nbsp; If not, then you will have both options.&amp;nbsp; You can't unregister even though the other features classes are already register as version since archiving was turn on.&amp;nbsp; I have attach a screen shot of what it looks like after you create a new feature class in a previously registered dataset with Archiving&amp;nbsp; and editor tracking turn on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/410332_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; See image and answer above.&amp;nbsp; Remember to register as versioned before enabling archiving.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; All field changes affect all versions.&amp;nbsp; Remove a field, and it removed from all versions.&amp;nbsp; Add a new field, and all versions have it with null value for that field.&amp;nbsp; No versions need to be delete to change the field.&amp;nbsp; User locks on the database will prevent you from making a field change.&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; Yes H tables have the same schema as the normal table (plus the additional fields need for archiving to work).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 15:20:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811475#M3206</guid>
      <dc:creator>KevinDunlop</dc:creator>
      <dc:date>2018-05-31T15:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Approach for Data Model Changes</title>
      <link>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811476#M3207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Kevin for your detailed answers. I will try these options and see what happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Apurv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 09:17:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811476#M3207</guid>
      <dc:creator>ApurvDanke</dc:creator>
      <dc:date>2018-06-01T09:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Approach for Data Model Changes</title>
      <link>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811477#M3208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These suggestions have worked for us and we no longer need to disable versioning, archiving and editor tracking for most of the data model changes.&lt;/P&gt;&lt;P&gt;However one question I still have is that if any fields get added or modified in a feature class, which participates in a replica, then does the replica need to be dropped and recreated?&lt;/P&gt;&lt;P&gt;Presently whenever we need to create a new featureclass, and it should be part of replica, we need to drop and recreate the replica. Similarly do field addition/modification/removal or even subtype/domain changes in a featureclass affects the replica?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Apurv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2018 22:27:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811477#M3208</guid>
      <dc:creator>ApurvDanke</dc:creator>
      <dc:date>2018-11-21T22:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Approach for Data Model Changes</title>
      <link>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811478#M3209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. For schema changes, you don't need to recreate Replicas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/technical-article/000009969" title="https://support.esri.com/en/technical-article/000009969"&gt;How To: Update schema changes with replication&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/working-with-schema-changes.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/working-with-schema-changes.htm"&gt;Working with schema changes—ArcGIS Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the second link for supported Schema Changes..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Nov 2018 10:05:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/approach-for-data-model-changes/m-p/811478#M3209</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2018-11-25T10:05:26Z</dc:date>
    </item>
  </channel>
</rss>

