I am not an expert when it comes to Administering Multi-User Geodatabase. However, I refer to Esri's documentation for best practices and efficient workflows before putting on my GIS Admin's hat to perform any Geodatabase Administrative task.
Recently, one my tasks involved making schema changes (adding fields and deleting fields) to a feature class part of feature dataset which is registered as versioned. As per the Esri documentation here, it is required to unregister the dataset as Versioning before making any schema changes to the feature class. Keeping this mind, I followed the steps highlighted below:
- Take a Geodatabase and XML Backup of the Production DB
- Connected to the Geodatabase Administrative Account
- Removed all the locks from the dataset
- Connected to the Geodatabase Data-owner Account
- Unregister the Dataset as Versioning - ArcGIS Prompted me to compress the edits to the base - I checked option before hitting Continue (I remember checking the mark but have no way to confirm I did)
- Added the fields and deleted the fields required to complete the task
- Registered the feature dataset as versioned
ArcGIS for Desktop Version - 10.4.1 Oracle Enterprise Database Version - 11g
Later, the data owner reported that was data missing from the user's version. Upon investigating further, the data was missing from DEFAULT Version and User's Version (one year worth). The data was retrieved from the backup but my still need to know what caused such huge data loss.
My research tell me that the data loss occurred due to not checking the compress option. However, the data editor's version regularly post their edits to DEFAULT which should logically delete only the data (edits worth 3 days) that was not posted to Default before making the above changes.
I am asking for some guidance from experts in the field who can propose any reason for such huge data loss or guide me to the right direction to find a way to look into the System Tables to answer this question.
Thank you in advance.