<?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 index Rnnn_SDE_ROWID_UK in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136860#M7865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyboby.&lt;/P&gt;&lt;P&gt;When I register a table and a layer with the following commands :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sdetable -o register -t EDMC_GEOMT_REGN_ADMNS -c IDE_GEOMT_REGN_ADMNS -C USER -k SDO -i sde:oracle11g:lbl01-scan.mtq.min.certif/OL1220.WORLD -u schema_user -p password&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sdelayer -o register -l EDMC_GEOMT_REGN_ADMNS,GEO_REGN_ADMNS -t SDO_GEOMETRY -C IDE_GEOMT_REGN_ADMNS -e na+ -k SDO -R 2 -i sde:oracle11g:lbl01-scan.mtq.min.certif/OL1220.WORLD -u schema_user -p password&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The existing PK index on IDE_GEOMT_REGN_ADMNS column is dropped and an Rnnn_SDE_ROWID_UK index is created for the same column (IDE_GEOMT_REGN_ADMNS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This append only for 5 tables. All others tables with same kind of geometry stay unchanged. The PK index is still there after registration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can produce this effect (drop of the PK and creation of a UK) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2015 21:22:13 GMT</pubDate>
    <dc:creator>EricVacher</dc:creator>
    <dc:date>2015-12-17T21:22:13Z</dc:date>
    <item>
      <title>index Rnnn_SDE_ROWID_UK</title>
      <link>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136860#M7865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyboby.&lt;/P&gt;&lt;P&gt;When I register a table and a layer with the following commands :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sdetable -o register -t EDMC_GEOMT_REGN_ADMNS -c IDE_GEOMT_REGN_ADMNS -C USER -k SDO -i sde:oracle11g:lbl01-scan.mtq.min.certif/OL1220.WORLD -u schema_user -p password&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sdelayer -o register -l EDMC_GEOMT_REGN_ADMNS,GEO_REGN_ADMNS -t SDO_GEOMETRY -C IDE_GEOMT_REGN_ADMNS -e na+ -k SDO -R 2 -i sde:oracle11g:lbl01-scan.mtq.min.certif/OL1220.WORLD -u schema_user -p password&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The existing PK index on IDE_GEOMT_REGN_ADMNS column is dropped and an Rnnn_SDE_ROWID_UK index is created for the same column (IDE_GEOMT_REGN_ADMNS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This append only for 5 tables. All others tables with same kind of geometry stay unchanged. The PK index is still there after registration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can produce this effect (drop of the PK and creation of a UK) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 21:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136860#M7865</guid>
      <dc:creator>EricVacher</dc:creator>
      <dc:date>2015-12-17T21:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: index Rnnn_SDE_ROWID_UK</title>
      <link>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136861#M7866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want to pick a place and add some tags to facilitate getting an answer &lt;A href="https://community.esri.com/docs/DOC-1544"&gt;GeoNet Community Structure&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 21:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136861#M7866</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-12-17T21:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: index Rnnn_SDE_ROWID_UK</title>
      <link>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136862#M7867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'sdelayer -o register' will register the table with ArcSDE, so your 'sdetable -o register' is moot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Back in the day, the presence of a PK would crash registration.&amp;nbsp; If you need a PK, only create it after registration is complete.&amp;nbsp; The unique key is created, but disabled, so that it doesn't hurt performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 22:10:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136862#M7867</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2015-12-17T22:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: index Rnnn_SDE_ROWID_UK</title>
      <link>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136863#M7868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank's for your remark. It's my first try with GeoNet. I added two tags and placed my question into Data Managment community.&lt;BR /&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 14:12:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136863#M7868</guid>
      <dc:creator>EricVacher</dc:creator>
      <dc:date>2015-12-18T14:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: index Rnnn_SDE_ROWID_UK</title>
      <link>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136864#M7869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vince.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some informations about the context to clarify the situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is 20 tables with spatial data (SDO_GEOMETRY) in our oracle 12c database. We used the ArcMap and ArcCatalog tools (10.3.1 version), but without the SDE schemas objects (no SDE user installed, no TABLE_REGISTRY, LAYERS, etc).&lt;/P&gt;&lt;P&gt;Some functions used by our spatial analyst returns errors, like buffer with more than 100 items, export data to local gdb, and so on. But not every time. Sometime it works, sometime not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;The ESRI support only answer to resolve this situation is&lt;/SPAN&gt; :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Install the SDE schema and register your tables and layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm in charge of validating if this solution solve our bugs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, after installation of the SDE reporitory, I had to register the spatial tables and views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As many of the functions I'm accustomed to use with SDE tools, like sdetable, sdelayers, sdemigrate, ... , did not have an complet equivalent in ArcTools, ESRI allow (and support) using 10.2.2 sde command instead of ArcTools. &lt;/P&gt;&lt;P&gt;We don't want to mix ArcPy command and SDE command in our production process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, until ESRI give us the same functions in ArcPy and in SDE commands, we decided to use only SDE command tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's why I use the sdetable - register.&lt;/P&gt;&lt;P&gt;Why did you say it's moot ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I apply the sdelayer - register, the existing PK (1 column) is replaced by an Rnnn_SDE_ROWID_UK, with the same column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the Rnnn_SDE_ROWID_UK created, it's not disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And why did this substitution is done on only 5 tables ?&lt;/P&gt;&lt;P&gt;Why it is not done on all our spatial tables ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As most of our registrated tables did not have the PK replaced by a UK index, I want to avoid this substitution on the 5 one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help to obtain a explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 14:49:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136864#M7869</guid>
      <dc:creator>EricVacher</dc:creator>
      <dc:date>2015-12-18T14:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: index Rnnn_SDE_ROWID_UK</title>
      <link>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136865#M7870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Invoking 'sdelayer -o register' also registers the table with ArcSDE.&amp;nbsp; If you add ",USER" after the '-C IDE_GEOMT_REGN_ADMNS' in the 'sdelayer' command, you can comment out the 'sdetable' call entirely.&amp;nbsp; That's not to say having it there hurts anything, but it shouldn't be necessary either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never had good luck with PKs or UKs before registration, so my installation scripts:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use SQL to create tables without any special constraints&lt;/LI&gt;&lt;LI&gt;Use SQL to build spatial indexes&lt;/LI&gt;&lt;LI&gt;Use ArcSDE command-line tools to register tables&lt;/LI&gt;&lt;LI&gt;Use SQL to ALTER tables for required constraints&lt;/LI&gt;&lt;LI&gt;Use 'sdelayer' to place the layer in load-only I/O mode (if an ArcSDE-enabled app will be doing inserts, otherwise just drop the spatial index)&lt;/LI&gt;&lt;LI&gt;Load the data (SQL or ArcGIS client, as appropriate)&lt;/LI&gt;&lt;LI&gt;Use 'sdelayer' to place the layer in normal-I/O mode (if it was placed in load-only I/O mode)&lt;/LI&gt;&lt;LI&gt;Use SQL to build the remaining indexes&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's no way I can diagnose intermittent&amp;nbsp; behavior via GoeNet.&amp;nbsp; Tech Support is the best place to address this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 15:29:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136865#M7870</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2015-12-18T15:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: index Rnnn_SDE_ROWID_UK</title>
      <link>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136866#M7871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's Vince.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You didn't directly answer to my problem, but you pointed me in the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I had to register a spatial table, I have always used the combination of sdetable and sdelayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's because we also register our descriptive table into the ESRI repository (SDE schema), with the sdetable command alone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, from time to time, the combination of those 2 commands (sdetable and sdelayer) is replacing the PK by a Rxxx_SDE_ROWID_UK, at&amp;nbsp; the sdelayer command executing time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I only use the sdelayer command to register my spatial table, PK remain unchanged (no Rxxx_SDE_ROWID_UK index created).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;an unknown action must occured under the hood of these command when they are combined. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct sdelayer command I use now is :&lt;/P&gt;&lt;P&gt;*=================================*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sdelayer -o register -l EDMC_GEOMT_REGN_ADMNS,GEO_REGN_ADMNS -t SDO_GEOMETRY -C IDE_GEOMT_REGN_ADMNS&lt;SPAN style="text-decoration: underline; color: #e23d39;"&gt;&lt;STRONG&gt;,USER&lt;/STRONG&gt;&lt;/SPAN&gt; -e na+ -k SDO -R 2 -i sde:oracle11g:lbl01-scan.mtq.min.certif/OL1220.WORLD -u schema_user -p password&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No more sdetable - o register need before sdelayer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 20:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/index-rnnn-sde-rowid-uk/m-p/136866#M7871</guid>
      <dc:creator>EricVacher</dc:creator>
      <dc:date>2015-12-18T20:44:21Z</dc:date>
    </item>
  </channel>
</rss>

