<?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: SDE database slow. in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738114#M41668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's hard to tell what the issue might be without further clarification --&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of SQL-Server are you using?&amp;nbsp; Express, Standard, or Enterprise?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of ArcGIS are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you load the point data into an ArcSDE layer?&amp;nbsp; What storage format&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have a spatial index built?&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, 22 May 2013 22:23:16 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2013-05-22T22:23:16Z</dc:date>
    <item>
      <title>SDE database slow.</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738113#M41667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First, let me say I'm noob to SQL Server, but I have installed SQL Express for workgroups on my local machine with no other users other than myself. I have a table that has 197368 records including lat lon fields. I add that table to create&amp;nbsp; and xy event layer. If I export the event layer back to the SQL database it take a couple of minutes. If I export to a file geodatabase it is almost instantaneous. To carry this further, for a web app I have to use the add XY coordinates tool. When I run this using the SQL feature class it takes about 44 minutes. If I run the tool using the feature class from the file geodatabase it takes 44 seconds. Is this normal or do I have a configuration problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 13:52:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738113#M41667</guid>
      <dc:creator>MarkPaulson</dc:creator>
      <dc:date>2013-05-22T13:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: SDE database slow.</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738114#M41668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's hard to tell what the issue might be without further clarification --&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of SQL-Server are you using?&amp;nbsp; Express, Standard, or Enterprise?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of ArcGIS are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you load the point data into an ArcSDE layer?&amp;nbsp; What storage format&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have a spatial index built?&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, 22 May 2013 22:23:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738114#M41668</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-05-22T22:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: SDE database slow.</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738115#M41669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It's hard to tell what the issue might be without further clarification --&lt;BR /&gt;What version of SQL-Server are you using?&amp;nbsp; Express, Standard, or Enterprise?&lt;BR /&gt;What version of ArcGIS are you using?&lt;BR /&gt;Did you load the point data into an ArcSDE layer?&amp;nbsp; What storage format&lt;BR /&gt;Do you have a spatial index built?&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 Running Express 2008 R2 and Desktop Advanced 10.1 sp1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know what you mean by and ArcSDE Layer. Like I said I'm a noob. I drug a table created by querying another SQL database&amp;nbsp; on another machine which created the local table on my Machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
--TRUNCATE TABLE Temp_Prod_Data;

DROP TABLE Temp_Prod_Data;
CREATE TABLE [dbo].[Temp_Prod_Data](
 [client] [varchar](50) NULL,
 [ownerno] [varchar](25) NULL,
 [propertyno] [varchar](25) NULL,
 [lease] [varchar](50) NULL,
 [API] [varchar](25) NULL,
 [LPD_ID] [varchar](25) NULL,
 [well_name] [varchar](50) NULL,
 [WELL_NUM] [varchar](15) NULL,
 [COUNTY] [varchar](50) NULL,
 [STATE] [varchar](2) NULL,
 [OPERATOR] [varchar](50) NULL,
 [YYYYMM] [varchar](10) NULL,
 [ProdDateT] [datetime] NULL,
 [ProdDate] [varchar](25) NULL,
 [GAS] [float] NULL,
 [OIL] [float] NULL,
 [Latitude] [float] NULL,
 [Longitude] [float] NULL,
 [DEPTH] [int] NULL
) ON [PRIMARY]

GO
INSERT INTO Temp_Prod_Data (client, ownerno, propertyno, lease, API, LPD_ID, well_name, WELL_NUM, COUNTY, STATE, OPERATOR, YYYYMM, ProdDate, GAS, OIL, Latitude, Longitude, DEPTH) Exec [trinitylt\SQL2008].[LandTracker].dbo.sp_Prod_Data_5_year_Export;

SELECT * FROM Temp_Prod_Data;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The above creates the table that I use to create the XY event layer which is then exported back into my database as a feature class. Which is what I use to add the run the XY coordinate tool. Hope this makes sense.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no idea about the Spatial index. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:26:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738115#M41669</guid>
      <dc:creator>MarkPaulson</dc:creator>
      <dc:date>2021-12-12T07:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: SDE database slow.</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738116#M41670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;An event layer has nothing at all to do with ArcSDE.&amp;nbsp; It's just a table with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; X and Y columns that are calculated into a point on the fly.&amp;nbsp; They will have &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;awful draw performance, since the full table must be scanned for every&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; draw request (though if you had an index on the X and Y columns, there's&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; a chance it might work faster).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An ArcSDE layer is the table behind an ArcGIS feature class with a geometry&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(shape) column.&amp;nbsp; Geometry columns come in many flavors (storage types),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but they all share the capability of using a spatial index, which allows for&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;efficient spatial searching.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds like you need to export this event layer into a feature class.&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, 22 May 2013 23:43:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738116#M41670</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-05-22T23:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: SDE database slow.</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738117#M41671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;BR /&gt;It sounds like you need to export this event layer into a feature class.&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is exactly what I am doing. I then process that feature class with the add XY tool. This part takes about 44 minutes. If I export it to a file geodatabase and process that feature class the same way, it only takes about 40 seconds. While I understand it shoul take a little longer, I think taking 60 plus times longer means something is wrong...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the responses.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 00:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738117#M41671</guid>
      <dc:creator>MarkPaulson</dc:creator>
      <dc:date>2013-05-23T00:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: SDE database slow.</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738118#M41672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, something is wrong.&amp;nbsp; File geodatabase should be a bit faster, but not by&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;two orders of magnitude.&amp;nbsp; Full table queries should always be bound by I/O&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;access to the table blocks.&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, 23 May 2013 02:20:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738118#M41672</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-05-23T02:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: SDE database slow.</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738119#M41673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, something is wrong.&amp;nbsp; File geodatabase should be a bit faster, but not by&lt;BR /&gt;two orders of magnitude.&amp;nbsp; Full table queries should always be bound by I/O&lt;BR /&gt;access to the table blocks.&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just heard back from ESRI support and they are experiencing the same issue with the data I sent them. I will post findings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 02:34:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738119#M41673</guid>
      <dc:creator>MarkPaulson</dc:creator>
      <dc:date>2013-05-23T02:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: SDE database slow.</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738120#M41674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Just heard back from ESRI support and they are experiencing the same issue with the data I sent them. I will post findings.&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;Is there any update for the above issue.... ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for sharing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-AS&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 20:59:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-database-slow/m-p/738120#M41674</guid>
      <dc:creator>User35489</dc:creator>
      <dc:date>2013-05-30T20:59:45Z</dc:date>
    </item>
  </channel>
</rss>

