<?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: Loading Data into a versioned dataset in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/loading-data-into-a-versioned-dataset/m-p/408997#M23397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do you think would happen if you delete all features and add new ones in a new version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd expect that the number of rows in the adds table would equal the count of new rows, and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the deletes table would have the number of rows in the base table, and the base table would&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;be unchanged.&amp;nbsp; Other users would not have access to the version spontaneously.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, if the table were *unversioned*, and no users had a read lock on it, then you could slide&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in new content with a truncate-and-append, no sweat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you really need to determine why a basemap layer is registered as versioned if you don't&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; intend to use versioned editing on it.&amp;nbsp; And if versioned editing is desired, then why are you &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bulk-editing the table using SQL (without a safety valve like a versioned view)?&amp;nbsp; The optimistic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; locking editing model is quite powerful, but it can trip you up if you don't honor the terms of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the use contract.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Dec 2013 18:36:48 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2013-12-05T18:36:48Z</dc:date>
    <item>
      <title>Loading Data into a versioned dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/loading-data-into-a-versioned-dataset/m-p/408994#M23394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there anything wrong with loading data into versioned feature class using the data load function in ArcCatalog?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I performed this task on a Street_Centerlines feature class in my own version, but it appears to have caused a massive data corruption to occur in both my version and the Default version.&amp;nbsp; I hadn't posted the changes, but I did perform the data load outside of an edit session. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested this process in an inactive sde database, and it worked flawlessly.&amp;nbsp; When I later attempted it on the active database (which has considerably more overhead), it broke.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The goal here was to delete all features from the Street_Centerlines feature class, and load in an updated version of the feature class without disconnecting users.&amp;nbsp; I know this isn't the best practice, but I was trying to work around the limitations of using Truncate and Append on a versioned data set.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts or insights on this topic are appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 15:12:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/loading-data-into-a-versioned-dataset/m-p/408994#M23394</guid>
      <dc:creator>CraigCarsley</dc:creator>
      <dc:date>2013-12-05T15:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Data into a versioned dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/loading-data-into-a-versioned-dataset/m-p/408995#M23395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there anything wrong with loading data into versioned feature class using the data load function in ArcCatalog?&lt;BR /&gt;&lt;BR /&gt;I performed this task on a Street_Centerlines feature class in my own version, but it appears to have caused a massive data corruption to occur in both my version and the Default version.&amp;nbsp; I hadn't posted the changes, but I did perform the data load outside of an edit session. &lt;BR /&gt;&lt;BR /&gt;I tested this process in an inactive sde database, and it worked flawlessly.&amp;nbsp; When I later attempted it on the active database (which has considerably more overhead), it broke.&lt;BR /&gt;&lt;BR /&gt;The goal here was to delete all features from the Street_Centerlines feature class, and load in an updated version of the feature class without disconnecting users.&amp;nbsp; I know this isn't the best practice, but I was trying to work around the limitations of using Truncate and Append on a versioned data set.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Any thoughts or insights on this topic are appreciated!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the question is why did it work in the test environment and not in the production environment.&amp;nbsp; The only thing I can think of is that with your users attached, and you deleted the features, that fouled things up.&amp;nbsp; Not much help I know, but what if you were to boot everyone off and then try it?&amp;nbsp; My experience with working with SDE is to get everyone off before doing any kind of db mantenance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 15:46:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/loading-data-into-a-versioned-dataset/m-p/408995#M23395</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2013-12-05T15:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Data into a versioned dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/loading-data-into-a-versioned-dataset/m-p/408996#M23396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think that certainly could have been a factor.. who knows? The whole idea, though, was to run the data load without having to interrupt users.&amp;nbsp; My theory was that I could perform a data load exclusively on the version of the data.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any reason to believe that the data loader should not be connection-specific?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 17:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/loading-data-into-a-versioned-dataset/m-p/408996#M23396</guid>
      <dc:creator>CraigCarsley</dc:creator>
      <dc:date>2013-12-05T17:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Data into a versioned dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/loading-data-into-a-versioned-dataset/m-p/408997#M23397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do you think would happen if you delete all features and add new ones in a new version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd expect that the number of rows in the adds table would equal the count of new rows, and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the deletes table would have the number of rows in the base table, and the base table would&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;be unchanged.&amp;nbsp; Other users would not have access to the version spontaneously.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, if the table were *unversioned*, and no users had a read lock on it, then you could slide&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in new content with a truncate-and-append, no sweat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you really need to determine why a basemap layer is registered as versioned if you don't&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; intend to use versioned editing on it.&amp;nbsp; And if versioned editing is desired, then why are you &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bulk-editing the table using SQL (without a safety valve like a versioned view)?&amp;nbsp; The optimistic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; locking editing model is quite powerful, but it can trip you up if you don't honor the terms of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the use contract.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 18:36:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/loading-data-into-a-versioned-dataset/m-p/408997#M23397</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-12-05T18:36:48Z</dc:date>
    </item>
  </channel>
</rss>

