<?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 Spatial Views stopped working when we upgraded to 10.1 in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518535#M29410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are a data warehouse environment where we have both business and spatial data inside the same Geodatabase, but the business data is not managed by GDB/SDE. We did that as a design decision, and it was backed up by Esri technical staff. Anyhow, in order to support our GIS applications we have built our own custom Spatial ETL using Python and ArcPy, then at the end of the process the data is loaded to ArcSDE and all of our business and spatial data is joined via a spatial view to be consumed by ArcIMS, ArcGIS Server and .NET. This code has been running for years, and with each upgrade we have handled the changes for Python and ArcGIS Desktop as they came out. ArcGIS 10.1 has thrown us a wrinkle that is killing our process, and it happens in two ways:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Our code is taking much longer to process the data, from minutes in some Feature class to HOURS. This is counterproductive to the idea of an upgrade and we will be reviewing the changes in ArcPy from the two versions to see where some code issues might be occurring. If we find any that will go to the Geoprocessing forum. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the second issue 2) is the one that is really hurting us. When we load the new refreshed data using our process to ArcSDE using direct connect (as we have for years, like since ArcGIS 9.0 as SDE services, then direct connect) the views stopped working. In ArcCatalog or ArcMap it makes the views look like they are empty, or if they draw, you can't zoom in, out or pan because the features, if present disappear. We have tried rebuilding the spatial indexes, no change in behavior. We have tried recreating the views and relaoding them with our code (this test is still pending). I have done traces on the queries that get generated when you view a spatial view, and I can capture that the ArcSDE sp's that call, join etc the data show up in SQL Server. But the ArcGIS tools are not seeing them, or displaying them. As I am writing this, I am wondering if it is a client issue, but since we use both ArcGIS Server and ArcIMS I am trying to rule that out. Anyhow, it will be no small feat for us to have to recreate all of our Spatial Views across all of our data marts, especially if the next day's data load produces the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so I am wondering, has anyone seen this type of erratic behavior from ArcSDE/ArcGIS after upgrading to 10.1 with Spatial Views? What GDB changes were made that may have affected this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So like I said before, we are SQL Server 2008 R2, ArcGIS 10.1 shop, and Python 2.7.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2013 19:16:23 GMT</pubDate>
    <dc:creator>JoeWeyl</dc:creator>
    <dc:date>2013-05-17T19:16:23Z</dc:date>
    <item>
      <title>Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518535#M29410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are a data warehouse environment where we have both business and spatial data inside the same Geodatabase, but the business data is not managed by GDB/SDE. We did that as a design decision, and it was backed up by Esri technical staff. Anyhow, in order to support our GIS applications we have built our own custom Spatial ETL using Python and ArcPy, then at the end of the process the data is loaded to ArcSDE and all of our business and spatial data is joined via a spatial view to be consumed by ArcIMS, ArcGIS Server and .NET. This code has been running for years, and with each upgrade we have handled the changes for Python and ArcGIS Desktop as they came out. ArcGIS 10.1 has thrown us a wrinkle that is killing our process, and it happens in two ways:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Our code is taking much longer to process the data, from minutes in some Feature class to HOURS. This is counterproductive to the idea of an upgrade and we will be reviewing the changes in ArcPy from the two versions to see where some code issues might be occurring. If we find any that will go to the Geoprocessing forum. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the second issue 2) is the one that is really hurting us. When we load the new refreshed data using our process to ArcSDE using direct connect (as we have for years, like since ArcGIS 9.0 as SDE services, then direct connect) the views stopped working. In ArcCatalog or ArcMap it makes the views look like they are empty, or if they draw, you can't zoom in, out or pan because the features, if present disappear. We have tried rebuilding the spatial indexes, no change in behavior. We have tried recreating the views and relaoding them with our code (this test is still pending). I have done traces on the queries that get generated when you view a spatial view, and I can capture that the ArcSDE sp's that call, join etc the data show up in SQL Server. But the ArcGIS tools are not seeing them, or displaying them. As I am writing this, I am wondering if it is a client issue, but since we use both ArcGIS Server and ArcIMS I am trying to rule that out. Anyhow, it will be no small feat for us to have to recreate all of our Spatial Views across all of our data marts, especially if the next day's data load produces the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so I am wondering, has anyone seen this type of erratic behavior from ArcSDE/ArcGIS after upgrading to 10.1 with Spatial Views? What GDB changes were made that may have affected this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So like I said before, we are SQL Server 2008 R2, ArcGIS 10.1 shop, and Python 2.7.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 19:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518535#M29410</guid>
      <dc:creator>JoeWeyl</dc:creator>
      <dc:date>2013-05-17T19:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518536#M29411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't state from what version you are upgrading (9.3? 10.0? what service pack?), and whether or not you installed SP1 with 10.1 and any applicable patches.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, I do know that Multiversioned Views changed from 10.0 to 10.1. They are now not only called &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//006z0000000q000000"&gt;"Versioned Views"&lt;/A&gt;&lt;SPAN&gt;, but the associated stored procedures and functions in the ArcSDE Repository also underwent changes. &lt;/SPAN&gt;&lt;STRONG&gt;Versioned Views now are also *fully automatically* created as soon as you register a layer as versioned.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These changes have to do with the introduction of the ArcGIS Spatial Data Server, and a general better possibility to use - and edit - these views programmatically and through SQL or programming. There is now a new editing option that allows you to edit the DEFAULT version through a Versioned View (actually, this last thing is not entirely new but had issues at 9.3.1 and below, and only now seems fully implemented).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//006z000000vp000000"&gt;This 10.1 Help page&lt;/A&gt;&lt;SPAN&gt; talks of the need to re-create Multiversioned Views 10.1 as Versioned Views in order to be fully useable (see one of the "Note" remarks), so this change may have effected your Spatial Views (assuming they used Multiversioned Views), and they may indeed need to be re-created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would really try and see if you can create a new test dataset and 10.1 style Versioned View by importing a layer, and registering as versioned. Than use the Query Layer option of 10.1 to add the data to ArcMap, or simply browse the database connection in ArcCatalog and add from there. If that layer with its 10.1 Versioned View still doesn't display properly, there may be a deeper underlying issue. If it does display properly, than you know it's not the database connection or Versioned View functionality by itself, but maybe something with your "legacy" Spatial Views.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 19:53:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518536#M29411</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-05-17T19:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518537#M29412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply. We upgraded from ArcGIS 10, SP 5 to ArcGIS 10.1 SP1 on SQL Server 2008 R2. No multi-versioned views, we don't even use a lot of Geodatabase behavior, simple feature classes (points and polygons) are that types of data we create. Since they aren't versioned views I am not sure what benefit that would get us, but we had thought about creating a 10.1 Geodatabase and then migrating all of our data to it, and run our code against it and see if the behavior repeats. That might be a weekend test. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 20:11:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518537#M29412</guid>
      <dc:creator>JoeWeyl</dc:creator>
      <dc:date>2013-05-17T20:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518538#M29413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What happens when you create a new spatial view using the options now available in the context menu of a Database Connection as described here?:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002n000000tp000000"&gt;Creating a database view in ArcGIS for Desktop&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may also wish to use this page as a quick reference for what to do when attempting the option described in the link above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002q000000r3000000"&gt;&lt;BR /&gt;Example: Creating a spatial view in SQL Server using SQL&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;By the way, did you switch storage type (SDEBINARY to SQL Server native "Geometry")?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 20:58:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518538#M29413</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-05-17T20:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518539#M29414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="font-style:italic;"&gt;What happens when you create a new spatial view using the options now available in the context menu of a Database Connection as described here?:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Creating a database view in ArcGIS for Desktop&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The data shows up as a table, no spatial rendering occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;You may also wish to use this page as a quick reference for what to do when attempting the option described in the link above:&lt;BR /&gt;&lt;BR /&gt;Example: Creating a spatial view in SQL Server using SQL&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the issue with recreating the views is that we have many, more than 30 that would have to be recreated and we don't know that one our ETL runs again the views will work. We are still testing that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;By the way, did you switch storage type (SDEBINARY to SQL Server native "Geometry")?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Storage is still SDEBinary - we haven't even looked at changing it yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 19:29:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518539#M29414</guid>
      <dc:creator>JoeWeyl</dc:creator>
      <dc:date>2013-05-20T19:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518540#M29415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-style:italic;"&gt;What happens when you create a new spatial view using the options now available in the context menu of a Database Connection as described here?:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Creating a database view in ArcGIS for Desktop&lt;/SPAN&gt;&lt;BR /&gt;The data shows up as a table, no spatial rendering occurs.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At 10.1, it is normal for a Spatial View, or for that matter any table or database view with a spatial column, to initially show up as a table. Once you click it, ArcGIS will read the first record(s?) and determine the geometry type and show it in the catalog tree. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This behavior is because ArcGIS can't "know" the feature/geometry type beforehand, as it isn't "stored" like in a table registered with an ESRI geodatabase, where such system metadata is stored in the ArcSDE Repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But anyway, the data &lt;/SPAN&gt;&lt;STRONG&gt;should&lt;/STRONG&gt;&lt;SPAN&gt; render in ArcCatalog, if that isn't the case even with the standard "New\View" option, than there is a deeper issue...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;the issue with recreating the views is that we have many, more than 30 that would have to be recreated and we don't know that one our ETL runs again the views will work. We are still testing that.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To be honest, I can't think of any reason why the ETL should influence the functioning of any database view or not. Spatial Views are like any other normal database view. They just store the SQL statement necessary to collect or process the tables and perform any joins etc. If the underlying tables change (new or deleted records), it has no consequences for the SQL statements, &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;UNLESS there are schema changes&lt;/SPAN&gt;&lt;SPAN&gt; (e.g. changes in field names, field types).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This raises a question though:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you see any changes to schema, and especialy the keyfields that perform the join between the existing spatial tables in your database and the extracted business data between the old and new setup?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe the join fails at 10.1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-style:italic;"&gt;By the way, did you switch storage type (SDEBINARY to SQL Server native "Geometry")?&lt;/SPAN&gt;&lt;BR /&gt;Storage is still SDEBinary - we haven't even looked at changing it yet.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may be time to contact ESRI support...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 08:45:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518540#M29415</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-05-21T08:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518541#M29416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I already have an open incident with Esri Technical Support I just didn't think I would have been the first to encounter this issue with Spatial Views and SQL Server 2008, ArcGIS 10.1 since 10.1 has been out for so long. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Table never converted to a spatial table after clicking on it. The select statement in ArcGIS has the right columns, it just isn't recognizing it as spatial. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The joins are all still good. They haven't changed in about 5-7 years....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As well as the spatial ETL we created, that has been running since 2005 loading the base tables used in the views for the Geography/Geometery, and that is why we can't understand why it stopped working at 10.1. What we aren't sure of, is if it is a ArcGIS Desktop issue? or an SDE/GDB issue, since the tables shows all the records, but the rendering of the data is messed up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 13:10:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518541#M29416</guid>
      <dc:creator>JoeWeyl</dc:creator>
      <dc:date>2013-05-21T13:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518542#M29417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am wondering if it is some kind of projection / spatial reference issue, with the stored SRID of the shapes somehow being messed up?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your first post you were slightly unclear, suggesting that in some cases, you did see shapes appearing? ("&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;... In ArcCatalog or ArcMap it makes the views look like they are empty, or if they draw, you can't zoom in, out or pan because the features, if present disappear...&lt;/SPAN&gt;&lt;SPAN&gt;")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Do&lt;/STRONG&gt;&lt;SPAN&gt; you, or &lt;/SPAN&gt;&lt;STRONG&gt;don't&lt;/STRONG&gt;&lt;SPAN&gt; you ever see shapes appearing in ArcMap / ArcCatalog?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 14:26:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518542#M29417</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-05-21T14:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518543#M29418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am wondering if it is some kind of projection / spatial reference issue, with the stored SRID of the shapes somehow being messed up?&lt;BR /&gt;&lt;BR /&gt;In your first post you were slightly unclear, suggesting that in some cases, you did see shapes appearing? ("&lt;SPAN style="font-style:italic;"&gt;... In ArcCatalog or ArcMap it makes the views look like they are empty, or if they draw, you can't zoom in, out or pan because the features, if present disappear...&lt;/SPAN&gt;")&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Do&lt;/STRONG&gt; you, or &lt;STRONG&gt;don't&lt;/STRONG&gt; you ever see shapes appearing in ArcMap / ArcCatalog?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm a colleague of Joe's and have been at the pointy end of the conversion stick.&amp;nbsp; Starting with the answer to the immediate question above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;It depends&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;.&amp;nbsp; In some cases, we see the initial feature draw when viewing the spatial view at full extent, but any extent change causes some or all features to fail to show up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In other cases the features draw, but Identify operations are unable, ever, to find any features from which to select attributes.&amp;nbsp; In such instances, attempting to display the view as a table instead of as a map shows an empty table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In yet other cases, no features ever draw.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In no case did we change the join conditions when we dropped and re-created the spatial views during conversion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In all cases the data are (supposed to be) WGS84.&amp;nbsp; We are relying on the Esri tools to correctly detect and handle that during data migration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now on to the longer, more sordid history.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have tried dropping the views, converting the data, then re-creating the views.&amp;nbsp; They seem to work initially, but the instant we refresh the spatial data they fail again.&amp;nbsp; Our refresh method uses SQL-based business and spatial data as inputs, file GDBs to build the data, then the APPEND tool to bring it back into an existing feature class in SQL Server.&amp;nbsp; The views are built on these existing feature classes, which are emptied and reloaded each time the data are refreshed rather than being dropped and re-created, so there can't be any schema change happening once the views themselves have been created after data migration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One side issue was that we created them on the first attempt with the new Create Database View tool, but the resulting views could not be used in Spatial Join operations because they didn't show up in the SDE_LAYERS table (and why would they?).&amp;nbsp; Creating them with SDETABLE -o create_view made the Spatial Join tool happy, but then something else broke instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We also tested the supposition that perhaps it was broken spatial indexes that were the culprit, and proved to our satisfaction that that was not the cause.&amp;nbsp; Our test method was to delete and re-create the spatial index after a data reload, letting the tool calculate the grid sizes from the re-loaded data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At this stage we have abandoned the idea of convert-in-place and are headed down the path of creating completely new, empty DBs in an isolated environment, so that they will never have gone through either SQL Server or ArcGIS upgrades and conversions-- they'll be ArcGIS 10.1, SQL Server 2008R2 from the get-go.&amp;nbsp; We plan to create brand new spatial views, again using SDETABLE, from the newly-transferred data once the tables themselves have been copied.&amp;nbsp; Once everything is ready, we will use the new DBs to replace the existing production version and, hopefully, everything will be hunky-dory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue we face now is that writing data to the new databases is &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;unbelievably&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; slow- only a few features a second when writing polygons averaging 2,100 vertices per feature- and we have millions of features that have to be written.&amp;nbsp; We can't possibly get the job done in a time frame that allows us to maintain our regularly daily data update production schedule.&amp;nbsp; (Joe alluded to this in the first message in this thread;we are pretty sure now that the GEOMETRY data type is the culprit based on other threads that we've read.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've seen that there's a patch for ArcGIS 10.1 when used with SQL Server 2012 that supposedly addresses this issue but since we're at SQL Server 2008R2 we haven't gone to get it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any light you can shed on this vexing problem.&amp;nbsp; We seem to be stuck between two equally non-viable courses of action!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-= Keith Adams =-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SAIC Systems Analyst&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HRSA Data Warehouse&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 19:09:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518543#M29418</guid>
      <dc:creator>KeithAdams</dc:creator>
      <dc:date>2013-07-15T19:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518544#M29419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm running SQL-server 2008R2 on a laptop with disk encryption, and just loaded 500k points into&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;both SDEBINARY and GEOMETRY tables.&amp;nbsp; SDEBINARY is faster, but I'm still getting 1700+ transactions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;per second from GEOMETRY:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
% bzcat data/pop_places-txt.bz2 | asc2sde -o create -l tmp_places1,shape -k SDEBINARY -g 2 -f - -C etc/pop_places.ctl -vI 50k -# 500k

ASCII to ArcSDE 10.1 Loader Utility&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mon Jul 15 16:42:21 2013
------------------------------------------------------------------------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 100000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 150000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 200000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 250000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 300000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 350000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 400000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 450000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 500000 source records read...

Results:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Records read: 500000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rows created: 500000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Insert time: 1.88 min (4424.94 TPS)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Elapsed time: 2.54 min

% bzcat data/pop_places-20130604.txt.bz2 | asc2sde -o create -l tmp_places2,shape -k GEOMETRY -f - -C etc/pop_places.ctl -vI 50k -# 500k

ASCII to ArcSDE 10.1 Loader Utility&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mon Jul 15 16:45:27 2013
------------------------------------------------------------------------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 100000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 150000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 200000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 250000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 300000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 350000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 400000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 450000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp; 500000 source records read...

Results:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Records read: 500000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rows created: 500000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Insert time: 4.86 min (1715.56 TPS)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Elapsed time: 7.81 min

&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I repeated the test with 10k pseudo-random circles with 2100 vertices, and again did not see a significant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;performance defect for SQL-Server GEOMETRY:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
% asc2sde -o create -l tmp_circles1,shape -g 2 -C circles.ctl -vI 2000 -c 1000 -k SDEBINARY

ASCII to ArcSDE 10.1 Loader Utility&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mon Jul 15 16:59:07 2013
------------------------------------------------------------------------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10000 source records read...

Results:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Records read: 10000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rows created: 10000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Insert time: 56.68 secs (176.43 TPS)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Elapsed time: 1.00 min

% asc2sde -o create -l tmp_circles2,shape -C circles.ctl -vI 2000 -c 1000 -k GEOMETRY

ASCII to ArcSDE 10.1 Loader Utility&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mon Jul 15 17:00:33 2013
------------------------------------------------------------------------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8000 source records read...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10000 source records read...

Results:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Records read: 10000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rows created: 10000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Insert time: 1.47 min (113.48 TPS)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Elapsed time: 2.05 min
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These performance numbers are for a layer with load-only I/O mode (bulk loading)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;enabled; if you want to reproduce my load, download the appropriate &lt;/SPAN&gt;&lt;A href="ftp://ftp.esri.com/pub/staff/vangelo/se_toolkit/index.html" rel="nofollow noopener noreferrer" target="_blank"&gt;se_toolkit&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set the SDEUSER, SDEPASSWORD, and other environment varialbles, set a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RANDOME_SEED_VALUE variable to 12345, and execute the above commands&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with this control file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
COORDREF_XY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -400,-400,1000000
COORDSYS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GCS_WGS_1984

EFLAGS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "na+"
REGISTER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objectid(SDE)
ROWLIMIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10000

COLUMNS
objectid&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sequence&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N
shape&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RndCircle(-179,-89,179,89,1.0,1.0,2100) -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y
END
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I'm not sure what's happening at your site, but you should be able to out-perform an&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;encrypted laptop.&amp;nbsp; Even though it does not appear to be easily reproducible, you should&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at least contact Tech Support to see what they might be able to see.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:37:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518544#M29419</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2021-12-11T22:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518545#M29420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In all cases the data are (supposed to be) WGS84.&amp;nbsp; &lt;STRONG&gt;We are relying on the Esri tools to correctly detect and handle that during data migration.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;The issue we face now is that writing data to the new databases is &lt;SPAN style="font-style:italic;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;unbelievably&lt;/STRONG&gt;&lt;/SPAN&gt; slow- only a few features a second when writing polygons averaging 2,100 vertices per feature- and we have millions of features that have to be written.&amp;nbsp; We can't possibly get the job done in a time frame that allows us to maintain our regularly daily data update production schedule.&amp;nbsp; (Joe alluded to this in the first message in this thread;we are pretty sure now that the GEOMETRY data type is the culprit based on other threads that we've read.)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vince (and Keith): you are noticing that ArcGIS may actually be performing a full &lt;/SPAN&gt;&lt;STRONG&gt;re-projection&lt;/STRONG&gt;&lt;SPAN&gt; including datum transformation during the load using these 2100 vertices / feature datasets with "millions" of features? What would be the consequences of that during the data load?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no real-world experience with these numbers to share... but I would sure love to hear the answer!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also wonder what happens if the data is just loaded like it is, with the projection of the Feature Class set to that of the data, to avoid re-projection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: I now see Vince reported 1700 features as &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;point features&lt;/SPAN&gt;&lt;SPAN&gt;, so loading 1700 individual vertices / second on a laptop with encryption into SQL Server GEOMETRY... and 113 features per second with 2100 vertices per feature = &lt;/SPAN&gt;&lt;STRONG&gt;+/- 240K vertices per second&lt;/STRONG&gt;&lt;SPAN&gt; for the generated circles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/87986-Spatial-View-so-slow?p=313334&amp;amp;viewfull=1#post313334"&gt;The data load of 14700-18900 vertices / s&lt;/A&gt;&lt;SPAN&gt; on real server hardware may not be that unexpected than... &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;depending on the hardware, network and other possible issues (reprojection going on).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 20:29:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518545#M29420</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-07-15T20:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518546#M29421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I doubt reprojection is occurring, and if it is, then the SDEBINARY layer would be working under&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; the same handicap (though any host of greater capability than my toaster-oven should be able&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; to reproject more than a couple of 2100-vertex shapes per second).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will say that you don't want to be doing a simple append when there are millions of features&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;involved.&amp;nbsp; Array-insert enabled steam on a load-only I/O layer is certainly called for by this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;situation.&amp;nbsp; I regularly load 8 million GeoNames points in under 20 minutes on my servers;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wouldn't want to waste my time with a simple insert with a trivial commit interval.&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, 15 Jul 2013 20:49:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518546#M29421</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-07-15T20:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518547#M29422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Vince.&amp;nbsp; Is it possible to accomplish the same task, at similar speeds, using the geoprocessing tools provided with ArcGIS Desktop?&amp;nbsp; We have a bunch of tables and views scattered across a half-dozen databases, and I'm trying to do as much of the work as I can in a testable, repeatable fashion with a Python GP script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I have to rely on the SE_TOOLKIT, what tool do I use to transfer data from one SQL Server-based feature class to another?&amp;nbsp; The sdecopy tool comes back with a "Not yet supported" message... so I'm kind of at a loss as to how to get from one SDE / SQL Server feature class to another with the toolkit.&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;-= Keith Adams =-&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 14:54:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518547#M29422</guid>
      <dc:creator>KeithAdams</dc:creator>
      <dc:date>2013-07-16T14:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518548#M29423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The workaround for a missing 'sdecopy' is to export via 'sdequery' and pipe the result into 'asc2sde':&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
set TZ=GMT
set SDEUSER=username
set SDEPASSWORD=passw0rd
set SDEDATABASE=arcgis
set SDEINSTANCE=...
sdeping
sdequery -t mylayer -f -,CTL=mylayer.ctl -w 1=0
sdequery -t mylayer -f - | asc2sde -o create -f - -C mylayer.ctl -l newlayer,shape -g automatic -k keyword -v -vI 1m -c 2000
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that 'asc2sde' is not a geodatabase-aware tool, so using GP tools is the "best" way (but it's very&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;possible that 'asc2sde' will be more time-efficient for simple feature classes -- it once added 680 million&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;points to a simple point table in 20 hours [actually, it took that long in each of three different RDBMSes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; on identically configured PCs]).&amp;nbsp; I haven't tried comparing my loaders to the new da cursors at 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:37:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518548#M29423</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2021-12-11T22:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518549#M29424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Vince-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the extended example.&amp;nbsp; Since asc2sde is not geodatabase-aware, I assume that I'll have to find a way to register the results (and get them into the desired feature datasets) separately?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 18:27:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518549#M29424</guid>
      <dc:creator>KeithAdams</dc:creator>
      <dc:date>2013-07-16T18:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518550#M29425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi-&lt;BR /&gt;&lt;BR /&gt;Thanks Vince.&amp;nbsp; Is it possible to accomplish the same task, at similar speeds, using the geoprocessing tools provided with ArcGIS Desktop?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You probably already saw it, but have a look at my post in the other thread you posted in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/87986-Spatial-View-so-slow?p=313416&amp;amp;viewfull=1#post313416"&gt;http://forums.arcgis.com/threads/87986-Spatial-View-so-slow?p=313416&amp;amp;viewfull=1#post313416&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 18:33:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518550#M29425</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-07-16T18:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518551#M29426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Vince-&lt;BR /&gt;&lt;BR /&gt;Thanks for the extended example.&amp;nbsp; Since asc2sde is not geodatabase-aware, &lt;STRONG&gt;I assume that I'll have to find a way to register the results&lt;/STRONG&gt; (and get them into the desired feature datasets) separately?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;10.1 extended upon the number of tools you can use to administer a (geo-)database, and you can register datasets or enable geodatabase functionality easily from the toolboxes and geoprocessing tools available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, you can use &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00s50000000n000000"&gt;Query Layers&lt;/A&gt;&lt;SPAN&gt; to access the data in read-only mode directly, without the need of registering the data with a geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See also my PDF here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/83644-quot-The-ESRI-Geodatabase-Framework-quot-PDF?p=295462&amp;amp;viewfull=1#post295462"&gt;http://forums.arcgis.com/threads/83644-quot-The-ESRI-Geodatabase-Framework-quot-PDF?p=295462&amp;amp;viewfull=1#post295462&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and the "Future" PDF here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/83644-quot-The-ESRI-Geodatabase-Framework-quot-PDF?p=303021&amp;amp;viewfull=1#post303021"&gt;http://forums.arcgis.com/threads/83644-quot-The-ESRI-Geodatabase-Framework-quot-PDF?p=303021&amp;amp;viewfull=1#post303021&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 18:41:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518551#M29426</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-07-16T18:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518552#M29427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Vince-&lt;BR /&gt;&lt;BR /&gt;Thanks for the extended example.&amp;nbsp; Since asc2sde is not geodatabase-aware, I assume that I'll have to find a way to register the results (and get them into the desired feature datasets) separately?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ArcSDE 'C' API doesn't interact with feature datasets at all (they do not exist in that API).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any table created by 'C' or Java API functions will register the table with ArcSDE, but not with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the XML geodatabase (right-click "Register with Geodatabase" will still be available). ArcSDE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDK functions work fine with tables that happen to be in feature datasets, BUT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;They will not honor topologies&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;They're unlikely to handle CAD objects properly&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;They will not modify geodatabase metadata&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;In addition, the 'se_toolkit' tools will not insert, update, or delete within versioned tables&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or tables where archiving is enabled, or interact with ArcGIS-only raster types.&amp;nbsp; Finally,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; the ArcSDE 'C' API will be deprecated with the release of 10.2, so long term plans for&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;toolkit use should be limited.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should really determine where your I/O bottleneck is, since there isn't any clear&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;indication of why your database is so slow. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 19:12:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518552#M29427</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-07-16T19:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518553#M29428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;10.1 extended upon the number of tools you can use to administer a (geo-)database, and you can register datasets or enable geodatabase functionality easily from the toolboxes and geoprocessing tools available.&lt;BR /&gt;&lt;BR /&gt;Also, you can use &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00s50000000n000000"&gt;Query Layers&lt;/A&gt; to access the data in read-only mode directly, without the need of registering the data with a geodatabase.&lt;BR /&gt; &lt;BR /&gt;See also my PDF here:&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/83644-quot-The-ESRI-Geodatabase-Framework-quot-PDF?p=295462&amp;amp;viewfull=1#post295462"&gt;http://forums.arcgis.com/threads/83644-quot-The-ESRI-Geodatabase-Framework-quot-PDF?p=295462&amp;amp;viewfull=1#post295462&lt;/A&gt;&lt;BR /&gt;and the "Future" PDF here:&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/83644-quot-The-ESRI-Geodatabase-Framework-quot-PDF?p=303021&amp;amp;viewfull=1#post303021"&gt;http://forums.arcgis.com/threads/83644-quot-The-ESRI-Geodatabase-Framework-quot-PDF?p=303021&amp;amp;viewfull=1#post303021&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a data migration exercise at this point--- I am "just" (note caveat below) trying to get existing data from databases that have been through three SQL Server version updates as well as at least two (maybe three) ArcGIS platform upgrades, into fresh, shiny, unadulterated 10.1 / SQL Server 2008 R2 native data.&amp;nbsp; At the end of the process, the data have to look exactly as they did when I started, except for having all the shape data in SQL Server GEOMETRY instead of SDE_BINARY.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Any time someone uses the word "just" in such a context, it's a tip-off that they are not entirely aware of the implications of what they are saying.&amp;nbsp; I include myself in that, in this context.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've already discovered that I have to use the SDE command line tools to get spatial views to be included in SDE_LAYERS, without which the Spatial Join cannot use them.&amp;nbsp; The "Register with Geodatabase" tool will not register views.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my question about asc2sde, I was merely trying to ascertain and verify that I would have to take some other measure to get that to happen for data transferred by the method Vince outlined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-= Keith =-&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 19:29:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518553#M29428</guid>
      <dc:creator>KeithAdams</dc:creator>
      <dc:date>2013-07-16T19:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Views stopped working when we upgraded to 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518554#M29429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The ArcSDE 'C' API doesn't interact with feature datasets at all (they do not exist in that API).&lt;BR /&gt;Any table created by 'C' or Java API functions will register the table with ArcSDE, but not with&lt;BR /&gt;the XML geodatabase (right-click "Register with Geodatabase" will still be available). ArcSDE&lt;BR /&gt;SDK functions work fine with tables that happen to be in feature datasets, BUT:&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;They will not honor topologies&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;They're unlikely to handle CAD objects properly&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;They will not modify geodatabase metadata&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;In addition, the 'se_toolkit' tools will not insert, update, or delete within versioned tables&lt;BR /&gt;or tables where archiving is enabled, or interact with ArcGIS-only raster types.&amp;nbsp; Finally,&lt;BR /&gt; the ArcSDE 'C' API will be deprecated with the release of 10.2, so long term plans for&lt;BR /&gt;toolkit use should be limited.&lt;BR /&gt;&lt;BR /&gt;You should really determine where your I/O bottleneck is, since there isn't any clear&lt;BR /&gt;indication of why your database is so slow. &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'm not writing any C code directly, so the C API doesn't enter into it from my side.&amp;nbsp; It's either command window or Python, so whatever theSDE command line tools and se_toolkit offer is what I have to work with, along with the other geoprocessing tools available through arcpy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;None of our data are versioned, CAD-based, archive-enabled, or raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the postulated I/O bottleneck: we only see this issue when copying data that are being converted from SDE_BINARY to SQL Server GEOMETRY.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 19:48:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-views-stopped-working-when-we-upgraded-to/m-p/518554#M29429</guid>
      <dc:creator>KeithAdams</dc:creator>
      <dc:date>2013-07-16T19:48:03Z</dc:date>
    </item>
  </channel>
</rss>

