<?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: 76 million rows...SDE st_geometry vs Oracle sdo_geometry... in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/76-million-rows-sde-st-geometry-vs-oracle-sdo/m-p/560289#M21617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I regularly load 8 million row GeoNames tables in minutes using the '&lt;/SPAN&gt;&lt;A href="ftp://ftp.esri.com/pub/staff/vangelo/se_toolkit/docs/dat/asc2sde.html"&gt;asc2sde&lt;/A&gt;&lt;SPAN&gt;' utility, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and have no difficulty copying sde.ST_GEOMETRY tables one to another, so the issue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;may be something in your environment, or something specifically to do with the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sde. ST_GEOMETRY constructor.&amp;nbsp; Have you tried using sde.ST_POINT, much like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the SDO_POINT you're using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may be introducing inefficiencies by not specifying a coordinate reference (best&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;practice is to *always* define a non-zero SRID), but a call to Tech Support is the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;best way to find out exactly what is happening, and what can be done to make&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it better.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Sep 2013 15:22:57 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2013-09-27T15:22:57Z</dc:date>
    <item>
      <title>76 million rows...SDE st_geometry vs Oracle sdo_geometry...</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/76-million-rows-sde-st-geometry-vs-oracle-sdo/m-p/560287#M21615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone know of why the sde.st_geometry functions take so long to run?&amp;nbsp; I need convert 76 million lat/lon's to shape objects.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're running on a Windows 2008 server using Oracle 11gR2 64bit with 64G ram and 24 core processors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following is the code I used to accomplish this and the results of both the SDE methods and the Oracle methods.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;--Oracle sdo_geomtry�?�

create table sample_points (
RECORDID,
SHAPE) nologging as
&amp;nbsp; (select&amp;nbsp; /*+ NO_PARALLEL_INDEX(jl) */
&amp;nbsp;&amp;nbsp; tab_row_id,
sdo_geometry(2001, null,
sdo_point_type(longitude, latitude, null)
null,null)
from jl_points_all jl);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Table created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Elapsed: 00:01:24.29&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;--ESRI st_geometry�?�

create table sample_points (
&amp;nbsp;&amp;nbsp; RECORDID,
&amp;nbsp;&amp;nbsp; SHAPE) nologging as
&amp;nbsp;&amp;nbsp; (select&amp;nbsp; /*+ NO_PARALLEL_INDEX(jl) */
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tab_row_id,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sde.st_geometry (longitude, latitude, null, null,0)
&amp;nbsp;&amp;nbsp; from jl_points_all jl);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--Still running after 11 hours �?? only 4% of the datablocks read from the source table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know of faster methods using the SDE functions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:10:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/76-million-rows-sde-st-geometry-vs-oracle-sdo/m-p/560287#M21615</guid>
      <dc:creator>JohnLewis</dc:creator>
      <dc:date>2021-12-12T00:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: 76 million rows...SDE st_geometry vs Oracle sdo_geometry...</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/76-million-rows-sde-st-geometry-vs-oracle-sdo/m-p/560288#M21616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can post the question on &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/forums/32-Geodatabase-amp-ArcSDE"&gt;Geodatabse and ArcSDE&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 09:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/76-million-rows-sde-st-geometry-vs-oracle-sdo/m-p/560288#M21616</guid>
      <dc:creator>NidhinKarthikeyan</dc:creator>
      <dc:date>2013-09-25T09:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: 76 million rows...SDE st_geometry vs Oracle sdo_geometry...</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/76-million-rows-sde-st-geometry-vs-oracle-sdo/m-p/560289#M21617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I regularly load 8 million row GeoNames tables in minutes using the '&lt;/SPAN&gt;&lt;A href="ftp://ftp.esri.com/pub/staff/vangelo/se_toolkit/docs/dat/asc2sde.html"&gt;asc2sde&lt;/A&gt;&lt;SPAN&gt;' utility, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and have no difficulty copying sde.ST_GEOMETRY tables one to another, so the issue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;may be something in your environment, or something specifically to do with the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sde. ST_GEOMETRY constructor.&amp;nbsp; Have you tried using sde.ST_POINT, much like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the SDO_POINT you're using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may be introducing inefficiencies by not specifying a coordinate reference (best&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;practice is to *always* define a non-zero SRID), but a call to Tech Support is the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;best way to find out exactly what is happening, and what can be done to make&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it better.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 15:22:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/76-million-rows-sde-st-geometry-vs-oracle-sdo/m-p/560289#M21617</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-09-27T15:22:57Z</dc:date>
    </item>
  </channel>
</rss>

