<?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: How do we Migrate Oracle SDE Versioned Data to MS SQL in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64777#M3737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess it depends on how complex the original state tree is.&amp;nbsp; The first step would be to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;identify all the branches in the state tree.&amp;nbsp; Then to determine the numbers of features in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;each segment which are inserts and deletes along each segment. From there you can &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make stateN-stateM-mode exports out of the source database, and reapply the edits in &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the same order into the target database. This would of course be complicated by custom&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;behaviors and object properties. It's not a pleasant task, but it probably isn't impossible &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(unless you require the same objectids and state numbers in the target database).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In theory you could even use sdeexport/sdeimport to transfer the data (since sdeimport&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can specify a target version), but you'd need a way to identify the features in a form&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that a where clause could evaluate to make the exports (because sdexport doesn't expose&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;access to the full range of version difference rules that the ArcSDE API and ArcObjects&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;provide).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd have to defer to the replication gurus on whether this is a simpler task from their&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;standpoint, but the source database would have to be replication-ready (or a clone of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the original made that way) to make that work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Mar 2011 03:33:49 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2011-03-20T03:33:49Z</dc:date>
    <item>
      <title>How do we Migrate Oracle SDE Versioned Data to MS SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64775#M3735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are trying to Migrate all our Oracle SDE date including our versioned data to Microsoft SQL server.&amp;nbsp; I know that ArcCatalog will move all the "default" version data from Oracle to SQL, but how can we move the other versions in Oracle to SQL.&amp;nbsp; We have to keep these other versions seperate from the default version so we can not reconcile them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Skip Daniels&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 13:59:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64775#M3735</guid>
      <dc:creator>AnthonyDaniels</dc:creator>
      <dc:date>2011-03-18T13:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do we Migrate Oracle SDE Versioned Data to MS SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64776#M3736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Even i tried it many times and finally concluded that....... is is not possible to carry the versions when we are changing the underlying DBMS.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Mar 2011 22:59:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64776#M3736</guid>
      <dc:creator>KishorePerla1</dc:creator>
      <dc:date>2011-03-19T22:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do we Migrate Oracle SDE Versioned Data to MS SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64777#M3737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess it depends on how complex the original state tree is.&amp;nbsp; The first step would be to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;identify all the branches in the state tree.&amp;nbsp; Then to determine the numbers of features in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;each segment which are inserts and deletes along each segment. From there you can &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make stateN-stateM-mode exports out of the source database, and reapply the edits in &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the same order into the target database. This would of course be complicated by custom&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;behaviors and object properties. It's not a pleasant task, but it probably isn't impossible &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(unless you require the same objectids and state numbers in the target database).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In theory you could even use sdeexport/sdeimport to transfer the data (since sdeimport&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can specify a target version), but you'd need a way to identify the features in a form&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that a where clause could evaluate to make the exports (because sdexport doesn't expose&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;access to the full range of version difference rules that the ArcSDE API and ArcObjects&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;provide).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd have to defer to the replication gurus on whether this is a simpler task from their&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;standpoint, but the source database would have to be replication-ready (or a clone of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the original made that way) to make that work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2011 03:33:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64777#M3737</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-03-20T03:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do we Migrate Oracle SDE Versioned Data to MS SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64778#M3738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Vince, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Though, this thread is a little older but I found it useful and would like to request your help if you can elaborate how do we make stateN-stateM-mode exports and what would be the activities workflow in this regard? A particular reference to an API with relevant example would be really appreciated in this regard. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly, usage of sdeexport, sdeimport is not very clear for me. In this case append is the only option i can use but it would over-write all existing records in the parent version. However, what in your opinion would be the impact if all these records are over-written from child to parent version in the version tree. If there is not any significant impact then I can go for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For sdeimport update option I can not build a where clause for about 60 versions and each containing about 270 object classes. Some of these feature classes contain more than a million recoreds and some with complex topology rules which I am not sure if we can migrate using sdeexport/sdeimport.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, i think it can not be achieved with replication mechanism as my source environment is not replication-ready. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My work environment is ArcSDE 9.3.1 on windows with 64bit Oracle 11g R2. I am thankful for your time and support.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 05:13:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64778#M3738</guid>
      <dc:creator>MohammadIshfaq</dc:creator>
      <dc:date>2012-05-07T05:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do we Migrate Oracle SDE Versioned Data to MS SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64779#M3739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are several ways to accomplish this, at least one for each avaliable API ('C', Java, and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcObjects).&amp;nbsp; The &lt;/SPAN&gt;&lt;A href="ftp://ftp.esri.com/pub/staff/vangelo/se_toolkit/index.html"&gt;se_toolkit&lt;/A&gt;&lt;SPAN&gt; 'sdequery' utility can export features based on a state or difference&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of states, but there is no se_toolkit tool to diagram the version state tree (I began one once but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;didn't have funding to continue), and no way to get exported ASCII data back into versions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;('asc2sde' is not yet version-aware)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The key to attempting this resides in the data.&amp;nbsp; If you have versioned feature datasets, where&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the content of more than one table is dictated by the same state, then it would not be possible&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to reconstitute the data without custom coding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even if you ignore the complex topologies (which can't be preserved with non-geodatabase tools),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you're looking at several hundred to possibly thousands of hours of effort (not including the time&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it takes to master the versioning model and API of choice).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since every ArcSDE install is replication ready, I suggest you research this option more fully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 11:26:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64779#M3739</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-05-07T11:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do we Migrate Oracle SDE Versioned Data to MS SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64780#M3740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Vince for your quick response. I don't think using se_toolkit to export each state is a solution for me. Its reason is because I am working with legacy data and because of poorly designed business workflows I have seen versions with more than 250000 changes and as you said if a state is referencing changes from more then one feature classes this would be a nightmare. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you said sdeexport won't be an option here because it works only with simple features, I think ArcObject is the only option which I am familiar with and can work with. But I am really not sure the exact path / objects and objects activity flow to accomplish it. First of all I can construct the versions ancestor tree using a simple sql statement. Then I can use arcobjects to identify and extract the version differences for each feature class. What I really have not done so far is delete a child version, recreate it again after a feature class/feature data is recreated in the target gdb environment and populate extracted changes into this newly created version and all related child versions. Just to keep in mind, some of the feature classes are participating in different topology rules. Before, I can get my hands real dirty with it, do you think it is a viable option?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I am suffering from the legacy data as I converted it 99% into replication ready datasets i.e., it should be versioned, should have global ids and be of high precision. Though, all these conditions are met, I am still facing a very strange error with just 1% of remaining data stating 'The spatial reference z values do not match'. Here is the reference link to my question on details about this issue on this forum '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/57008-The-spatial-reference-z-values-do-not-match" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/57008-The-spatial-reference-z-values-do-not-match&lt;/A&gt;&lt;SPAN&gt;'. I wander, if I would be able to get a solution to it forever.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 15:16:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64780#M3740</guid>
      <dc:creator>MohammadIshfaq</dc:creator>
      <dc:date>2012-05-08T15:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do we Migrate Oracle SDE Versioned Data to MS SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64781#M3741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At some point, Forums queries become Tech Support calls, and then beyond that,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sometimes Tech Support drifts into situation where a Services contract is needed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to untangle matters.&amp;nbsp; You're probably perched in the grey area between the TS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and PS; either way, it's past the point where I could provide effective Forums&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;commentary.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 16:14:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64781#M3741</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-05-08T16:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do we Migrate Oracle SDE Versioned Data to MS SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64782#M3742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My company already has a dedicated services contract with ESRI and I have escalated this issue at all levels but so far did not get any effective response on it. So, I decided to try posting it here but seems that even it might not help. Thanks for your kind help and support so far.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 19:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-we-migrate-oracle-sde-versioned-data-to-ms/m-p/64782#M3742</guid>
      <dc:creator>MohammadIshfaq</dc:creator>
      <dc:date>2012-05-08T19:39:08Z</dc:date>
    </item>
  </channel>
</rss>

