<?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: Move Spatially enabled SQL data to SDE in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/move-spatially-enabled-sql-data-to-sde/m-p/351689#M20125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It all depends on how you want to proceed -- You can use an ArcPy script to make a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Query Layer request and extract the data from the source database, then insert it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;into a truncated target table (after the service which would lock the truncate has&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;been stopped).&amp;nbsp; Or you can link the servers and query the export table directly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from the ArcSDE connection.&amp;nbsp; Or you can use Well-Known Text in an ASCII export&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to repopulate the table with a command-line utility like 'asc2sde'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Detecting change over time isn't all that difficult if you have access to a cryptographic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hashing function to generate {key,hash} pairs (based on rowid column, usually).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Two skinny tables and three views can be used to identify the insert, update, and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;delete events.&amp;nbsp; You can even run the analysis in realtime to update the content&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;more frequiently than daily, and it wouldn't require any downtime.&amp;nbsp; All you need is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a location for the intermediary files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I must point out that proper tuning of a Geometry layer could produce better &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;performance than a SDEBINARY layer, so you might not be asking the right &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2013 20:17:57 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2013-03-27T20:17:57Z</dc:date>
    <item>
      <title>Move Spatially enabled SQL data to SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/move-spatially-enabled-sql-data-to-sde/m-p/351686#M20122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a spatially enabled SQL 2008 R2 database that has a table in it that I want to move to SDE 10.1 every night because the performance is dramatically better using the SDE server (SQL 2008 R2&amp;nbsp; as well) to present the data in my flex app.&amp;nbsp; It presents customer data, so it changes but a daily refresh is often enough.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone done this and how did you do it and would you do it this way again?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 15:09:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-spatially-enabled-sql-data-to-sde/m-p/351686#M20122</guid>
      <dc:creator>MikeSmith7</dc:creator>
      <dc:date>2013-03-27T15:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Move Spatially enabled SQL data to SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/move-spatially-enabled-sql-data-to-sde/m-p/351687#M20123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There's at least a dozen ways to accomplish this, but it's not completely clear what&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; you want as the end product.&amp;nbsp; Data does not ever reside "in" ArcSDE -- ArcSDE is a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;protocol used by ArcGIS to access data in databases.&amp;nbsp; There are several different &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;possible geometry storage methods, which include native database types like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Geometry and Geography, as well as the traditional SDEBINARY ("three table")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; storage option. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; So is it the database or the storage format you're looking to change in this migration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; process? (It makes a large difference on how you would go about moving the data.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you looking for unattended conversion processes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do the two machines share a single security domain?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you need to do further processing to manage the data accessed through ArcSDE?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How many edits occur in the data to be moved (expressed as a fraction of the total table)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would moving &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;only&lt;/SPAN&gt;&lt;SPAN&gt; the inserts, updates, and deletes be attractive in terms of availability,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or is it okay if the application is disabled during the maintence window?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 16:43:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-spatially-enabled-sql-data-to-sde/m-p/351687#M20123</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-03-27T16:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Move Spatially enabled SQL data to SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/move-spatially-enabled-sql-data-to-sde/m-p/351688#M20124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There's at least a dozen ways to accomplish this, but it's not completely clear what&lt;BR /&gt; you want as the end product.&amp;nbsp; Data does not ever reside "in" ArcSDE -- ArcSDE is a &lt;BR /&gt;protocol used by ArcGIS to access data in databases.&amp;nbsp; There are several different &lt;BR /&gt;possible geometry storage methods, which include native database types like&lt;BR /&gt; Geometry and Geography, as well as the traditional SDEBINARY ("three table")&lt;BR /&gt; storage option. &lt;BR /&gt;&lt;BR /&gt; So is it the database or the storage format you're looking to change in this migration&lt;BR /&gt; process? (It makes a large difference on how you would go about moving the data.)&lt;BR /&gt;&lt;BR /&gt;Are you looking for unattended conversion processes?&lt;BR /&gt;&lt;BR /&gt;Do the two machines share a single security domain?&lt;BR /&gt;&lt;BR /&gt;Do you need to do further processing to manage the data accessed through ArcSDE?&lt;BR /&gt;&lt;BR /&gt;How many edits occur in the data to be moved (expressed as a fraction of the total table)?&lt;BR /&gt;Would moving &lt;SPAN style="font-style:italic;"&gt;only&lt;/SPAN&gt; the inserts, updates, and deletes be attractive in terms of availability,&lt;BR /&gt;or is it okay if the application is disabled during the maintence window?&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would see the end result being in the traditional SDEBINARY format.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unattended is the goal of this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Same domain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No editing of the copied data will ever occur.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is Ok for the data to go offline for a short period of time.&amp;nbsp; Since I will not know exactly what changed in the original data a complete replacement is likely easiest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 17:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-spatially-enabled-sql-data-to-sde/m-p/351688#M20124</guid>
      <dc:creator>MikeSmith7</dc:creator>
      <dc:date>2013-03-27T17:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Move Spatially enabled SQL data to SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/move-spatially-enabled-sql-data-to-sde/m-p/351689#M20125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It all depends on how you want to proceed -- You can use an ArcPy script to make a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Query Layer request and extract the data from the source database, then insert it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;into a truncated target table (after the service which would lock the truncate has&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;been stopped).&amp;nbsp; Or you can link the servers and query the export table directly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from the ArcSDE connection.&amp;nbsp; Or you can use Well-Known Text in an ASCII export&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to repopulate the table with a command-line utility like 'asc2sde'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Detecting change over time isn't all that difficult if you have access to a cryptographic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hashing function to generate {key,hash} pairs (based on rowid column, usually).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Two skinny tables and three views can be used to identify the insert, update, and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;delete events.&amp;nbsp; You can even run the analysis in realtime to update the content&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;more frequiently than daily, and it wouldn't require any downtime.&amp;nbsp; All you need is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a location for the intermediary files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I must point out that proper tuning of a Geometry layer could produce better &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;performance than a SDEBINARY layer, so you might not be asking the right &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 20:17:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-spatially-enabled-sql-data-to-sde/m-p/351689#M20125</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-03-27T20:17:57Z</dc:date>
    </item>
  </channel>
</rss>

