Select to view content in your preferred language

How to remove domains that look corrupted

998
5
03-21-2011 02:48 AM
JoseSanchez
Frequent Contributor
Hi all

We have domaisn in our sde dataabse that are not associated with feature classes but when deleting them they look they are used by a feature.

Is there a way to remove them when ArcCatalog does not allow it
0 Kudos
5 Replies
VinceAngelo
Esri Esteemed Contributor
What database are you using?

What version and service pack of ArcSDE are you using?

What version and service pack of ArcGIS are you using?

Is the domain referenced by a table in the GDB metadata?

Does that table still exist?

- V
0 Kudos
JoseSanchez
Frequent Contributor
Oracle 10G

ArcSDE 9.3

ArcCatalog 9.3.1 last package available

The domain is not referenced by a feature in the database

Features have been deleted
0 Kudos
VinceAngelo
Esri Esteemed Contributor
Does an GDB_OBJECTCLASSES row that corresponds to the dropped table exist?
Is there an entry in GDB_DOMAINS which corresponds to the object class ID?

The easiest way to uncorrupt the geodatabase registry is to create a table with
the name of the dropped table via SQL, then use Catalog to delete it.

- V
0 Kudos
JoseSanchez
Frequent Contributor
How can I check if a GDB_OBJECTCLASSES row corresponds to the dropped feature class?

How can I check if any entry in GDB_DOMAINS corresponds to the object class ID?

All features and tables were deleted in the sde instance..

What we need is a way to fix the problem.  What do you suggest?


Does an GDB_OBJECTCLASSES row that corresponds to the dropped table exist?
Is there an entry in GDB_DOMAINS which corresponds to the object class ID?

The easiest way to uncorrupt the geodatabase registry is to create a table with
the name of the dropped table via SQL, then use Catalog to delete it.

- V
0 Kudos
VinceAngelo
Esri Esteemed Contributor
If all tables registered with ArcSDE have been dropped *AND* there are no
tables using ST_GEOMETRY in the instance, then the easiest way to fix your
ArcSDE instance is to "DROP USER sde CASCADE" and reinstall. 

Note that if you *DO* have outstanding tables with ST_GEOMETRY columns,
then dropping SDE will corrupt your Oracle instance to the point that it too will
need to be dropped and recreated.

If you are uncomfortable doing SQL queries against the SDE metadata tables
to assess the status of your instance, then you should probably log an incident
and have a Tech Support analyst walk you through the necessary steps.

- V
0 Kudos