<?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: Some ghost tables in ArcSDE (Oracle) in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309222#M17634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Marco, this is actually what I meant by "purging": deleting the records that are no longer synchronised with the actual state od the DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, if I inderstand correctly, there is no other way than recreating all the schemas and table?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is quite annoying cause I even have the opposite case now: a table that exists in Oracle (even has a &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;shape&lt;/SPAN&gt;&lt;SPAN&gt; column) but that is no longer displayed in ArcGIS... The problem probably arose while I had to delete and re-create this table a few times (sometimes within Oracle, sometimes within ArcGIS). If I rename this table, it appears in ArcGIS. But as soon as I give it its real name back, it disappears... My assumption is that there must be a record in the ArcSDE schema saying that this table is invalid or something...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Nov 2013 08:07:20 GMT</pubDate>
    <dc:creator>StéphaneHenriod</dc:creator>
    <dc:date>2013-11-11T08:07:20Z</dc:date>
    <item>
      <title>Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309213#M17625</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;I have a geodatabase in Oracle, with many tables in many schemas. My problem is that some tables (and even some schemas) have been deleted in Oracle, but still appear in ArcGIS. Obviously, no data can be displayed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]28926[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Deleting those tables is not possible:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]28927[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume that there must be some cached info somewhere (in an Oracle table?). Has anyone been facing such a problem and do you have any idea how I can solve it?&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;Stéphane&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: ArcGIS 10.1 &amp;amp; Oracle 11.2&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 13:02:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309213#M17625</guid>
      <dc:creator>StéphaneHenriod</dc:creator>
      <dc:date>2013-11-07T13:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309214#M17626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: mboeringa2010&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think your first stop is your DBA to ask for a restore from a backup, prior to the deletions. That the data still appears in ArcGIS, is probably due to the data being registered in the ArcSDE Repository (e.g. &lt;/SPAN&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;see here&lt;/A&gt;&lt;SPAN&gt; for more info), as part of your geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If a backup is not an option, you should probably contact ESRI to help restore the repository or discuss other options.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 19:26:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309214#M17626</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-11-07T19:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309215#M17627</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;restore is unfortunately not an option. Some tables have been deleted 2 years ago and we obviously can't restore to a point that far in the past...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will have a look at your link and contact ESRI if this proves insufficient.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stéphane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 19:50:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309215#M17627</guid>
      <dc:creator>StéphaneHenriod</dc:creator>
      <dc:date>2013-11-07T19:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309216#M17628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: vangelo&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is not generally necessary to use backups if you simply want to remove the corruption&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; from your geodatabase metadata.&amp;nbsp; It is generally enough to create a new table with the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;name of the missing table ("CREATE TABLE foo (objectid INTEGER NOT NULL)"), then &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use Desktop to remove it again.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have complex relationships involving the corrupt table, Desktop may be less willing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to delete it, at which point it would be wise to get Tech Support on the line.&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, 07 Nov 2013 20:05:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309216#M17628</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-11-07T20:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309217#M17629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;as vince mentioned you can re-create the table from Oracle Side using SQL Command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create table MEYER.G2B09_POLYGON ( objectid INTEGER NOT NULL);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then, re-connect to your schema "MEYER" in ArcCatalog and delete it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or you can use the sdelayer -o delete command to remove the layer. this will clean sde metadata tables.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 03:33:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309217#M17629</guid>
      <dc:creator>EmadAl-Mousa</dc:creator>
      <dc:date>2013-11-10T03:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309218#M17630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: vangelo&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, &lt;/SPAN&gt;&lt;STRONG&gt;do &lt;SPAN style="font-style:italic;"&gt;not&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; use 'sdelayer -o delete' for this purpose. 'sdelayer -o delete' should&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;almost &lt;SPAN style="font-style:italic;"&gt;never&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; be used:&lt;/SPAN&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;It does not delete all SDE metadata associated with the table (as 'sdetable -o delete' &lt;/LI&gt;&lt;BR /&gt;would)&lt;BR /&gt;&lt;LI&gt;It does not delete geodatabase metadata associated with the table ('sdetable -o delete' &lt;/LI&gt;&lt;BR /&gt;won't either).&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;You should always use ArcGIS to delete tables which have been manipulated by&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS or otherwise registered with the geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 11:48:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309218#M17630</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-11-10T11:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309219#M17631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks everybody for the answers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't there any other option than recreating the tables in Oracle and then deleting them in Desktop? There are quite a lot of them, including in schemas that no longer exist and this would require quite some manual work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would have hoped that there is some kind of metadata table that can simply be purged?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 06:45:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309219#M17631</guid>
      <dc:creator>StéphaneHenriod</dc:creator>
      <dc:date>2013-11-11T06:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309220#M17632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks everybody for the answers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't there any other option than recreating the tables in Oracle and then deleting them in Desktop? There are quite a lot of them, including in schemas that no longer exist and this would require quite some manual work. There is no complex relationship though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would have hoped that there is some kind of metadata table that can simply be purged?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 06:46:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309220#M17632</guid>
      <dc:creator>StéphaneHenriod</dc:creator>
      <dc:date>2013-11-11T06:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309221#M17633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: mboeringa2010&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks everybody for the answers&lt;BR /&gt;&lt;BR /&gt;Isn't there any other option than recreating the tables in Oracle and then deleting them in Desktop? There are quite a lot of them, including in schemas that no longer exist and this would require quite some manual work. There is no complex relationship though.&lt;BR /&gt;&lt;BR /&gt;I would have hoped that there is some kind of metadata table that can simply be purged?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, you can not "purge a metadata table", they are vital elements of the geodatabase. It is the &lt;/SPAN&gt;&lt;STRONG&gt;records&lt;/STRONG&gt;&lt;SPAN&gt; in these geodatabase and ArcSDE system tables referring to your deleted datasets / tables, that need to be "purged" / deleted. By recreating the schema's and tables, ArcGIS will be able to recognize them again, and delete the proper records in the geodatabase and ArcSDE system tables, if I understand the suggestions by Vince and Emad Al-Mousa well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 07:44:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309221#M17633</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-11-11T07:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309222#M17634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Marco, this is actually what I meant by "purging": deleting the records that are no longer synchronised with the actual state od the DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, if I inderstand correctly, there is no other way than recreating all the schemas and table?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is quite annoying cause I even have the opposite case now: a table that exists in Oracle (even has a &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;shape&lt;/SPAN&gt;&lt;SPAN&gt; column) but that is no longer displayed in ArcGIS... The problem probably arose while I had to delete and re-create this table a few times (sometimes within Oracle, sometimes within ArcGIS). If I rename this table, it appears in ArcGIS. But as soon as I give it its real name back, it disappears... My assumption is that there must be a record in the ArcSDE schema saying that this table is invalid or something...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 08:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309222#M17634</guid>
      <dc:creator>StéphaneHenriod</dc:creator>
      <dc:date>2013-11-11T08:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309223#M17635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: mboeringa2010&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This is quite annoying cause I even have the opposite case now: a table that exists in Oracle (even has a &lt;SPAN style="font-style:italic;"&gt;shape&lt;/SPAN&gt; column) but that is no longer displayed in ArcGIS... &lt;STRONG&gt;The problem probably arose while I had to delete and re-create this table a few times (sometimes within Oracle, sometimes within ArcGIS).&lt;/STRONG&gt; If I rename this table, it appears in ArcGIS. But as soon as I give it its real name back, it disappears... My assumption is that there must be a record in the ArcSDE schema saying that this table is invalid or something...&lt;BR /&gt;&lt;BR /&gt;Any idea?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is bad practice, you shouldn't delete tables registered with your geodatabase using Oracle tools. Use ArcGIS to delete datasets in any case where data is registered with the geodatabase, as ArcGIS will automatically handle the removal of metadata records in the geodatabase system tables in the ArcSDE Repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It really sounds you have a host of issues in your geodatabase. It may be better to start with a clean bill, by creating a new database, and than copy &amp;amp; paste any good datasets from the corrupted database to the new one. This will leave the junk in the old database, which you can delete afterwards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, if it is a large database with many layers, users and permission settings, this may not be an easy solution, in which case you may need to contact ESRI Tech Support to clean out your database and restore ArcSDE (Geodatabase) Repository integrity.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 08:23:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309223#M17635</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-11-11T08:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Some ghost tables in ArcSDE (Oracle)</title>
      <link>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309224#M17636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I now realize this isn't exactly good practices! Learning (and suffering) by doing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Recreating a DB is also not an option... I will thus contact ESRI support and see whether they can help at this point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 08:28:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/some-ghost-tables-in-arcsde-oracle/m-p/309224#M17636</guid>
      <dc:creator>StéphaneHenriod</dc:creator>
      <dc:date>2013-11-11T08:28:19Z</dc:date>
    </item>
  </channel>
</rss>

