I believe a few of the tables within Microsoft SQL Server that were created by the sde user when creating the database have gotten deleted. Is there a way to 'repair' the enterprise geodatabase in order ensure that all the tables needed to keep the geodatabase functioning are present?
thanks
First question: How did they get deleted?
Do you know what tables were deleted?
Where they deleted due to no records being in them? (I have seen DBA's removed "empty" tables)
I am not aware of a way to repair / replace those tables. Even if you "rebuilt" them, it is possible that some triggers / stored procedures could be messed up.
I would recommend rolling back to a known good back up or creating a new Enterprise Geodatabase and copying the data over. Hopefully there are no errors when copying.
I don't know which ones were deleted, but I believe some are missing:
What purpose do these sde.SDE tables serve, and if they are needed to have the database function, how can they be so easily deleted / how do you even know if all the admin tables are there?
It looks as if the database still works in ArcGIS Pro, but it seems some tables are missing.
These are the option I would look at
There is this article that shows the core tables needed for the GDB to run:
Therefore, theoretically could
sde.i6, sde.i8, sde.i9 be removed?
Obviously I will not do that, but if they are not core tables and no data is stored in the GDB, why are they there?
I believe those tables are some sort of table to help with creating ids in a table. Here is a post that provides some more details: https://gis.stackexchange.com/questions/266461/arcgis-sde-i5-i6-i7-tables
So best practice is to probably close SQL Server after the enterprise geodatabase is created and then do everything within ArcGIS Pro.
They really should make the admin tables hidden or put locks on them so that they cannot be deleted and/or modified.
Yes on item #1.
I usually do not do anything in SSMS or the like, unless it is related to backup / restore or other true DBA tasks (I know that "DBA" tasks is open to interpretation).