[GIS] Understanding Geodatabase Archiving and H tables in ArcSDE

arcgis-10.0archivingenterprise-geodatabasesql serverversioning

We have ArcSDE 10.0 on MSSQL 2008 with Geodatabase archiving enabled. In the process of updating a topology I deleted the topology, disabled archiving, unregistered as versioned and then recreated the topology.

It seems that when I did this a copy of the feature classes in the feature dataset were created at the root of the geodatabase suffixed with an "_H". When I deleted and created the topology again the features classes were copied to the root of the gdb again with an "_H1" suffixed.

Does anyone know what's going on? I was told these were the Archiving tables. Please provide links if available.

Best Answer

Try disabling archiving before you delete anything. When you disable archiving, you should get a message that gives you an option to keep or discard the history (the _H table). If you keep it, then it becomes a regular ol' feature class. The _H tables track the history of changes to the default version, as you make edits to a feature class that has archiving enabled. The _H1 tables likely got created when you re-created something in the archiving enabled feature dataset. In this case, the geodatabase first tried to create the _H table, saw that a table with that name already existed, and so added the suffix 1 to it. If you repeated the set of operations, you would end up with _H2 tables, and so on.

Related Question