locked
DBCC CheckDB Error RRS feed

  • Question

  • SQL Server 2014 in a 2 node cluster. When i run DBCC checkDB DB_name, it prints 1 error:

    Msg 602, Level 21, State 30, Line 1
    Could not find an entry for table or index with partition ID 72057595723776000 in database 9. This error can occur if a stored procedure references a dropped table, or metadata is corrupted. Drop and re-create the stored procedure, or execute DBCC CHECKDB.

    How do i go about correcting this error seeing how i just performed 1 suggestion by running DBCC checkDB?

    Thursday, March 24, 2016 11:20 AM

Answers

  • Good day forgiven,

    There is a reason that people backup their database, files, operating system, disks and so on...
    My guess is that if you did not backup your database then you do not backup your machine disks as well, which might lead you to much more serious issues in thee future then "just" losing your database. This is a good (bad) learning experience that you must learn from it! 

    If you read this message, then please stop everything and shut down your machine! backup your disks and design a good backup plan for the future.

    Back to the issue...

    As this issue has potential to destroy your database, and since we have no information regarding the issue or ability to check it directly, I will not tell you what to do, but maybe my comments here can help you

    If you had a full machine backup or even a VSS backup, there was a good chance to save your data, without using undocumented tools and/or complex work, which most likely cost a lot more then hire an Experienced DBA to maintain the database on a regular base.

    *** DISCLAIMER: The information in this post should not be used on a production SQL Server system. Any problem, corruption, damage, or loss you cause by using the information presented here is entirely your own responsibility. Use at your own risk. Danger of death. ***

    There are some built-in tools that can help deal with fixing the files in the binary level of the file (the 0/1 bits) like the "dbcc writepage", but these should NOT be used, without FULL understanding of the binary file (the ability to read and understand the file using binary editor for example). Moreover, once you use these options Microsoft remove their responsibility! There are some companies and individuals experts that focus on fixing corrupted databases, but these cost a lot and will never promise that they will succeed in fully restore the database (you pay for the time even if there is no success!).

    In some cases the issue related to metadata, which mean that theoretically the data itself might still be in the database, and therefore it can be saved. Moreover, it might be related to data in the system tables and not in the database itself. The procedure to restore the data can be simple as 10 minutes or several weeks, depending on case to case. In other cases, we can restore the data itself from the log file or from indexes (for example if specific byte in the data file, which include specific int value, is corrupted and that specific value stored in index, we might be able get the data from the index and manually fix the database file). In some cases fixing a corrupted database might involved with manually alter hidden system tables. In some cases we can restore the data by comparing the data to old version and manually copy data.... In short.. I would not say that you are doomed and there are lot techniques to fix corrupted database :-) 

    ** It is always good idea to fix the data in development environment and NEVER on production!

    ** Fixing the database usually best done as fast as you notice the issue. Once you start trying to fix the database, continue to work with the corrupted database, or even by shout down the server, you might have change something and make the issue worse. First step in most cases is backup your current situation.

    ** Paul S. Randal has great article regarding undocumented commends. These are advance articles! HIGHLY recommended for advance users.

    >> "No catalog entry found for partition ID 72057595723776000 in database 7"
    * You know which partition has a potential problem. You should focus on this, but first make sure that you backup all the other data.

    >> "The metadata is inconsistent"
    * By the way, CHECKDB can't repair metadata corruptions as much as I remember from Paul Randal blogs.

    >> "This error can occur if a stored procedure references a dropped table"
    Did you try to check if the issue is related to SP, and recreate it if so?

    ** All tables, even if not partitioned, are tracked internally as partitions. You can track the relevant partition by query the sys.partitions

    select * from sys.partitions
    where partition_id  = 72057595723776000 -- this is your id according to the error message
    GO

    Track the relevant Object and focus on it 

    ** examine the sys.dm_db_partition_stats in order to find the page and row-count information related to the corrupted partition. An expert might focus on restoring the data on that specific page.

    ** I do not recommend this! but in extrime cases and AFTER we restore/copy any data that can be read (both from log file and data file) and as last step you can execute DBCC CHECKDB with the parameter REPAIR_ALLOW_DATA_LOSS, which mean that you will probably loss data and the CHECKDB might delete much more then only the related corrupted pages! in one case that I manually succeed to repair a corrupted several specific rows in table, the CHECKDB REPAIR_ALLOW_DATA_LOSS deleted all the data on the related table!

     

    do your best to save what’s left. 
    In any case, this is beyond the forum scope I think, since the official way is to restore using your last good backup :-)
    I hope this gave some insights and maybe help you

     

    Very simple cases of corruptions and how to fix them without the use of backups

    >> http://www.sqlskills.com/blogs/paul/using-the-dedicated-admin-connection-to-fix-msg-8992-corrupt-system-tables/

    >> http://www.sqlskills.com/blogs/paul/disaster-recovery-101-fixing-metadata-corruption-without-a-backup/


    signature   Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]    [Linkedin]


    Monday, May 23, 2016 2:00 AM
  • If you dont have backup then you are doomed, did you run repair_rebuild or repair_allow_data_loss the later would give you data loss and might remove business constraints

    Cheers,

    Shashank

    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it

    My TechNet Wiki Articles

    MVP

    Saturday, May 7, 2016 5:41 AM

All replies

  • Can you post complete output of checkdb, was it suggesting any repair ?

    As it says drop and recreate SP did you do that ?


    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it

    My Wiki Articles

    MVP

    Thursday, March 24, 2016 12:10 PM
  • Looks like i am going to have to split this into multiple posts due to the length of the output:

    DBCC results for 'OperationsManager'.
    Service Broker Msg 9675, State 1: Message Types analyzed: 14.
    Service Broker Msg 9676, State 1: Service Contracts analyzed: 6.
    Service Broker Msg 9667, State 1: Services analyzed: 46.
    Service Broker Msg 9668, State 1: Service Queues analyzed: 46.
    Service Broker Msg 9669, State 1: Conversation Endpoints analyzed: 421.
    Service Broker Msg 9674, State 1: Conversation Groups analyzed: 421.
    Service Broker Msg 9670, State 1: Remote Service Bindings analyzed: 0.
    Service Broker Msg 9605, State 1: Conversation Priorities analyzed: 0.
    DBCC results for 'sys.sysrscols'.
    There are 28583 rows in 336 pages for object "sys.sysrscols".
    DBCC results for 'sys.sysrowsets'.
    There are 5038 rows in 57 pages for object "sys.sysrowsets".
    DBCC results for 'sys.sysclones'.
    There are 0 rows in 0 pages for object "sys.sysclones".
    DBCC results for 'sys.sysallocunits'.
    There are 6586 rows in 123 pages for object "sys.sysallocunits".
    DBCC results for 'sys.sysfiles1'.
    There are 2 rows in 1 pages for object "sys.sysfiles1".
    DBCC results for 'sys.sysseobjvalues'.
    There are 10 rows in 1 pages for object "sys.sysseobjvalues".
    DBCC results for 'sys.syspriorities'.
    There are 0 rows in 0 pages for object "sys.syspriorities".
    DBCC results for 'sys.sysdbfrag'.
    There are 0 rows in 0 pages for object "sys.sysdbfrag".
    DBCC results for 'sys.sysfgfrag'.
    There are 0 rows in 0 pages for object "sys.sysfgfrag".
    DBCC results for 'sys.sysdbfiles'.
    There are 2 rows in 1 pages for object "sys.sysdbfiles".
    DBCC results for 'sys.syspru'.
    There are 0 rows in 0 pages for object "sys.syspru".
    DBCC results for 'sys.sysbrickfiles'.
    There are 0 rows in 0 pages for object "sys.sysbrickfiles".
    DBCC results for 'sys.sysphfg'.
    There are 1 rows in 1 pages for object "sys.sysphfg".
    DBCC results for 'sys.sysprufiles'.
    There are 2 rows in 1 pages for object "sys.sysprufiles".
    DBCC results for 'sys.sysftinds'.
    There are 1 rows in 1 pages for object "sys.sysftinds".
    DBCC results for 'sys.sysowners'.
    There are 28 rows in 1 pages for object "sys.sysowners".
    DBCC results for 'sys.sysdbreg'.
    There are 0 rows in 0 pages for object "sys.sysdbreg".
    DBCC results for 'sys.sysprivs'.
    There are 468 rows in 3 pages for object "sys.sysprivs".
    DBCC results for 'sys.sysschobjs'.
    There are 18005 rows in 440 pages for object "sys.sysschobjs".
    DBCC results for 'sys.syscsrowgroups'.
    There are 0 rows in 0 pages for object "sys.syscsrowgroups".
    DBCC results for 'sys.sysexttables'.
    There are 0 rows in 0 pages for object "sys.sysexttables".
    DBCC results for 'sys.syscolpars'.
    There are 41163 rows in 1098 pages for object "sys.syscolpars".
    DBCC results for 'sys.sysxlgns'.
    There are 0 rows in 0 pages for object "sys.sysxlgns".
    DBCC results for 'sys.sysxsrvs'.
    There are 0 rows in 0 pages for object "sys.sysxsrvs".
    DBCC results for 'sys.sysnsobjs'.
    There are 2 rows in 1 pages for object "sys.sysnsobjs".
    DBCC results for 'sys.sysusermsgs'.
    There are 0 rows in 0 pages for object "sys.sysusermsgs".
    DBCC results for 'sys.syscerts'.
    There are 0 rows in 0 pages for object "sys.syscerts".
    DBCC results for 'sys.sysrmtlgns'.
    There are 0 rows in 0 pages for object "sys.sysrmtlgns".
    DBCC results for 'sys.syslnklgns'.
    There are 0 rows in 0 pages for object "sys.syslnklgns".
    DBCC results for 'sys.sysxprops'.
    There are 0 rows in 0 pages for object "sys.sysxprops".
    DBCC results for 'sys.sysscalartypes'.
    There are 48 rows in 1 pages for object "sys.sysscalartypes".
    DBCC results for 'sys.systypedsubobjs'.
    There are 0 rows in 0 pages for object "sys.systypedsubobjs".
    DBCC results for 'sys.sysidxstats'.
    There are 7261 rows in 211 pages for object "sys.sysidxstats".
    DBCC results for 'sys.sysiscols'.
    There are 7921 rows in 56 pages for object "sys.sysiscols".
    DBCC results for 'sys.sysendpts'.
    There are 0 rows in 0 pages for object "sys.sysendpts".
    DBCC results for 'sys.syswebmethods'.
    There are 0 rows in 0 pages for object "sys.syswebmethods".
    DBCC results for 'sys.sysbinobjs'.
    There are 66 rows in 2 pages for object "sys.sysbinobjs".
    DBCC results for 'sys.sysaudacts'.
    There are 0 rows in 0 pages for object "sys.sysaudacts".
    DBCC results for 'sys.sysobjvalues'.
    There are 13961 rows in 1903 pages for object "sys.sysobjvalues".
    DBCC results for 'sys.syscscolsegments'.
    There are 0 rows in 0 pages for object "sys.syscscolsegments".
    DBCC results for 'sys.syscsdictionaries'.
    There are 0 rows in 0 pages for object "sys.syscsdictionaries".
    DBCC results for 'sys.sysclsobjs'.
    There are 36 rows in 1 pages for object "sys.sysclsobjs".
    DBCC results for 'sys.sysrowsetrefs'.
    There are 0 rows in 0 pages for object "sys.sysrowsetrefs".
    DBCC results for 'sys.sysremsvcbinds'.
    There are 0 rows in 0 pages for object "sys.sysremsvcbinds".
    DBCC results for 'sys.sysxmitqueue'.
    There are 0 rows in 1 pages for object "sys.sysxmitqueue".

    Thursday, March 24, 2016 9:39 PM
  • DBCC results for 'sys.sysrts'.
    There are 1 rows in 1 pages for object "sys.sysrts".
    DBCC results for 'sys.sysconvgroup'.
    There are 421 rows in 3 pages for object "sys.sysconvgroup".
    DBCC results for 'sys.sysdesend'.
    There are 421 rows in 8 pages for object "sys.sysdesend".
    DBCC results for 'sys.sysdercv'.
    There are 421 rows in 60 pages for object "sys.sysdercv".
    DBCC results for 'sys.syssingleobjrefs'.
    There are 12163 rows in 75 pages for object "sys.syssingleobjrefs".
    DBCC results for 'sys.sysmultiobjrefs'.
    There are 53116 rows in 362 pages for object "sys.sysmultiobjrefs".
    DBCC results for 'sys.sysguidrefs'.
    There are 2 rows in 1 pages for object "sys.sysguidrefs".
    DBCC results for 'sys.sysfoqueues'.
    There are 0 rows in 0 pages for object "sys.sysfoqueues".
    DBCC results for 'sys.syschildinsts'.
    There are 0 rows in 0 pages for object "sys.syschildinsts".
    DBCC results for 'sys.syscompfragments'.
    There are 0 rows in 0 pages for object "sys.syscompfragments".
    DBCC results for 'sys.sysftsemanticsdb'.
    There are 0 rows in 0 pages for object "sys.sysftsemanticsdb".
    DBCC results for 'sys.sysftstops'.
    There are 0 rows in 0 pages for object "sys.sysftstops".
    DBCC results for 'sys.sysftproperties'.
    There are 0 rows in 0 pages for object "sys.sysftproperties".
    DBCC results for 'sys.sysxmitbody'.
    There are 0 rows in 0 pages for object "sys.sysxmitbody".
    DBCC results for 'sys.sysfos'.
    There are 0 rows in 0 pages for object "sys.sysfos".
    DBCC results for 'sys.sysqnames'.
    There are 205 rows in 2 pages for object "sys.sysqnames".
    DBCC results for 'sys.sysxmlcomponent'.
    There are 273 rows in 2 pages for object "sys.sysxmlcomponent".
    DBCC results for 'sys.sysxmlfacet'.
    There are 168 rows in 2 pages for object "sys.sysxmlfacet".
    DBCC results for 'sys.sysxmlplacement'.
    There are 244 rows in 1 pages for object "sys.sysxmlplacement".
    DBCC results for 'sys.sysobjkeycrypts'.
    There are 0 rows in 0 pages for object "sys.sysobjkeycrypts".
    DBCC results for 'sys.sysasymkeys'.
    There are 0 rows in 0 pages for object "sys.sysasymkeys".
    DBCC results for 'sys.syssqlguides'.
    There are 0 rows in 0 pages for object "sys.syssqlguides".
    DBCC results for 'sys.sysbinsubobjs'.
    There are 4 rows in 1 pages for object "sys.sysbinsubobjs".
    DBCC results for 'sys.syssoftobjrefs'.
    There are 15336 rows in 283 pages for object "sys.syssoftobjrefs".
    DBCC results for 'MT_System$NetworkManagement$FoundryEnvMon_Fault_TemperatureSensor'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$FoundryEnvMon_Fault_TemperatureSensor".
    DBCC results for 'CategoryOverrideStaging'.
    There are 0 rows in 1 pages for object "CategoryOverrideStaging".
    DBCC results for 'MT_System$NetworkManagement$AvocentEnvMon_Fault_PowerSupply_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$AvocentEnvMon_Fault_PowerSupply_Log".
    DBCC results for 'MT_Microsoft$SystemCenter$AgentVersions'.
    There are 1 rows in 1 pages for object "MT_Microsoft$SystemCenter$AgentVersions".
    DBCC results for 'MT_Microsoft$SQLServer$2014$DBFileGroup_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$SQLServer$2014$DBFileGroup_Log".
    DBCC results for 'Event_56'.
    There are 0 rows in 0 pages for object "Event_56".
    DBCC results for 'MT_System$NetworkManagement$Wellfleet_Fault_TemperatureSensor'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Wellfleet_Fault_TemperatureSensor".
    DBCC results for 'MT_Microsoft$Windows$Server$6$2$Core$Computer_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$Windows$Server$6$2$Core$Computer_Log".
    DBCC results for 'MT_Dell$Server$Sensors_Log'.
    There are 0 rows in 0 pages for object "MT_Dell$Server$Sensors_Log".
    DBCC results for 'MT_Microsoft$SystemCenter$Agent'.
    There are 22 rows in 1 pages for object "MT_Microsoft$SystemCenter$Agent".
    DBCC results for 'MT_Dell$FMPDiscovery$Sink_Log'.
    There are 1 rows in 1 pages for object "MT_Dell$FMPDiscovery$Sink_Log".
    DBCC results for 'sys.plan_persist_plan'.
    There are 0 rows in 0 pages for object "sys.plan_persist_plan".
    DBCC results for 'MT_Dell$WindowsServer$PowerSupply_Log'.
    There are 2 rows in 1 pages for object "MT_Dell$WindowsServer$PowerSupply_Log".
    DBCC results for 'MonitoringJobStatus'.
    There are 39 rows in 83 pages for object "MonitoringJobStatus".
    DBCC results for 'MT_System$NetworkManagement$JuniperRouter_Performance_Processor'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$JuniperRouter_Performance_Processor".
    DBCC results for 'MT_Dell$WindowsServer$ManagedRackWorkstationGroup'.
    There are 1 rows in 1 pages for object "MT_Dell$WindowsServer$ManagedRackWorkstationGroup".
    DBCC results for 'ManagementPack'.
    There are 145 rows in 37 pages for object "ManagementPack".
    DBCC results for 'MT_System$NetworkManagement$Foundry_Fault_Card'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Foundry_Fault_Card".
    DBCC results for 'MT_Microsoft$SystemCenter$AllOperationsManagerObjectsGroup'.
    There are 1 rows in 1 pages for object "MT_Microsoft$SystemCenter$AllOperationsManagerObjectsGroup".
    DBCC results for 'MT_System$NetworkManagement$Rugged_Fault_TemperatureSensor_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Rugged_Fault_TemperatureSensor_Log".
    DBCC results for 'MT_Dell$Server$Storage_Log'.
    There are 0 rows in 0 pages for object "MT_Dell$Server$Storage_Log".
    DBCC results for 'MT_System$NetworkManagement$YamahaRT_Performance_Processor_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$YamahaRT_Performance_Processor_Log".
    DBCC results for 'MT_Microsoft$Windows$Server$2012$R2$Core$ComputerGroup'.
    There are 1 rows in 1 pages for object "MT_Microsoft$Windows$Server$2012$R2$Core$ComputerGroup".
    DBCC results for 'ModuleOverrideStaging'.
    There are 0 rows in 7 pages for object "ModuleOverrideStaging".
    DBCC results for 'MT_Microsoft$SystemCenter$GatewayManagementServer_Log'.
    There are 2 rows in 1 pages for object "MT_Microsoft$SystemCenter$GatewayManagementServer_Log".
    DBCC results for 'MT_Dell$FeatureManagement$MonitoringFeature$NotInstalled$ComplexFeature$ServerIB'.
    There are 0 rows in 1 pages for object "MT_Dell$FeatureManagement$MonitoringFeature$NotInstalled$ComplexFeature$ServerIB".
    DBCC results for 'MT_Dell$WindowsServer$UnManagedServer'.
    There are 3 rows in 1 pages for object "MT_Dell$WindowsServer$UnManagedServer".
    DBCC results for 'MT_System$NetworkManagement$CiscoLS1010_Fault_TemperatureSensor'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CiscoLS1010_Fault_TemperatureSensor".
    DBCC results for 'sys.plan_persist_runtime_stats'.
    There are 0 rows in 0 pages for object "sys.plan_persist_runtime_stats".
    DBCC results for 'MT_System$NetworkManagement$CiscoEnvMon_Fault_VoltageSensor'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CiscoEnvMon_Fault_VoltageSensor".
    DBCC results for 'MT_System$NetworkManagement$MrvEnvMon_Fault_PowerSupply'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$MrvEnvMon_Fault_PowerSupply".
    DBCC results for 'MT_Microsoft$SystemCenter$Apm$WcfApplicationMvcTransactionRole'.
    There are 0 rows in 0 pages for object "MT_Microsoft$SystemCenter$Apm$WcfApplicationMvcTransactionRole".
    DBCC results for 'MT_System$NetworkManagement$OldCiscoChassis_Fault_Card_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$OldCiscoChassis_Fault_Card_Log".
    DBCC results for 'MT_Microsoft$SQLServer$Generic$Presentation$AlwaysOnDatabaseReplicasGroup_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$SQLServer$Generic$Presentation$AlwaysOnDatabaseReplicasGroup_Log".
    DBCC results for 'MT_Microsoft$Exchange$15$IISApplicationPool_Log'.
    There are 30 rows in 53 pages for object "MT_Microsoft$Exchange$15$IISApplicationPool_Log".
    DBCC results for 'MT_System$NetworkManagement$HuaweiH3C_Fault_Fan'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$HuaweiH3C_Fault_Fan".
    DBCC results for 'MT_System$NetworkManagement$SwitchCardTellabs_Fault_Card_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$SwitchCardTellabs_Fault_Card_Log".
    DBCC results for 'MT_System$NetworkManagement$Force10CSeries_Performance_Processor'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Force10CSeries_Performance_Processor".
    DBCC results for 'MT_Dell$Server$ManagedRackWorkstationGroup'.
    There are 1 rows in 1 pages for object "MT_Dell$Server$ManagedRackWorkstationGroup".
    DBCC results for 'MT_System$NetworkManagement$ExtremeAlpine_Fault_Fan'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$ExtremeAlpine_Fault_Fan".
    DBCC results for 'MT_System$NetworkManagement$CiscoRF_Fault_Card'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CiscoRF_Fault_Card".
    DBCC results for 'DeployedResourceStaging'.
    There are 0 rows in 0 pages for object "DeployedResourceStaging".
    DBCC results for 'MT_Microsoft$Linux$SLES$11$ComputerGroup'.
    There are 1 rows in 1 pages for object "MT_Microsoft$Linux$SLES$11$ComputerGroup".
    DBCC results for 'apm.PMEVENTTRACE'.
    There are 0 rows in 0 pages for object "apm.PMEVENTTRACE".
    DBCC results for 'MT_System$NetworkManagement$HuaweiMA56XX_Performance_Memory'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$HuaweiMA56XX_Performance_Memory".
    DBCC results for 'MT_System$NetworkManagement$FoundryEnvMon_Fault_TemperatureSensor_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$FoundryEnvMon_Fault_TemperatureSensor_Log".
    DBCC results for 'MonitorOverrideStaging'.
    There are 0 rows in 6 pages for object "MonitorOverrideStaging".
    DBCC results for 'Event_57'.
    There are 0 rows in 0 pages for object "Event_57".
    DBCC results for 'MT_System$NetworkManagement$Wellfleet_Fault_TemperatureSensor_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Wellfleet_Fault_TemperatureSensor_Log".
    DBCC results for 'MT_Microsoft$SystemCenter$Agent_Log'.
    There are 22 rows in 1 pages for object "MT_Microsoft$SystemCenter$Agent_Log".
    DBCC results for 'MT_System$NetworkManagement$ForeATM_Fault_Port'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$ForeATM_Fault_Port".
    DBCC results for 'MT_Microsoft$SQLServer$2014$ComponentsGroup_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$SQLServer$2014$ComponentsGroup_Log".
    DBCC results for 'sys.plan_persist_runtime_stats_interval'.
    There are 0 rows in 0 pages for object "sys.plan_persist_runtime_stats_interval".
    DBCC results for 'MT_System$NetworkManagement$MIB2Common_Fault_NetworkAdapter'.
    There are 3 rows in 1 pages for object "MT_System$NetworkManagement$MIB2Common_Fault_NetworkAdapter".
    DBCC results for 'CSStage.ManagementPackTargetType'.
    There are 0 rows in 0 pages for object "CSStage.ManagementPackTargetType".
    DBCC results for 'MT_System$NetworkManagement$Alaxala_Fault_TemperatureSensor'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Alaxala_Fault_TemperatureSensor".
    DBCC results for 'CategoryOverride'.
    There are 13 rows in 1 pages for object "CategoryOverride".

    Thursday, March 24, 2016 9:40 PM
  • DBCC results for 'MT_Connector'.
    There are 4 rows in 1 pages for object "MT_Connector".
    DBCC results for 'MT_System$NetworkManagement$NetworkMonitoring$Group_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$NetworkMonitoring$Group_Log".
    DBCC results for 'MT_System$NetworkManagement$JuniperRouter_Performance_Processor_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$JuniperRouter_Performance_Processor_Log".
    DBCC results for 'WarehouseModulePredecessor'.
    There are 0 rows in 0 pages for object "WarehouseModulePredecessor".
    DBCC results for 'MT_System$NetworkManagement$FibroLanEnvMon_Fault_PowerSupply'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$FibroLanEnvMon_Fault_PowerSupply".
    DBCC results for 'MT_Microsoft$SQLServer$2014$Mirroring$WitnessRole_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$SQLServer$2014$Mirroring$WitnessRole_Log".
    DBCC results for 'MT_System$NetworkManagement$Foundry_Fault_Card_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Foundry_Fault_Card_Log".
    DBCC results for 'MT_Microsoft$Windows$Server$2012$R2$RemoteDesktopServicesRole$Service$RDVirtualizationHost_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$Windows$Server$2012$R2$RemoteDesktopServicesRole$Service$RDVirtualizationHost_Log".
    DBCC results for 'MT_Microsoft$SQLServer$2014$AlwaysOn$AvailabilityGroupErrorUserPolicy'.
    There are 0 rows in 0 pages for object "MT_Microsoft$SQLServer$2014$AlwaysOn$AvailabilityGroupErrorUserPolicy".
    DBCC results for 'MT_System$NetworkManagement$SNMPCommunity_Log'.
    There are 1 rows in 1 pages for object "MT_System$NetworkManagement$SNMPCommunity_Log".
    DBCC results for 'MT_Microsoft$Linux$UniversalD$1$Computer'.
    There are 0 rows in 0 pages for object "MT_Microsoft$Linux$UniversalD$1$Computer".
    DBCC results for 'DeployedResource'.
    There are 0 rows in 0 pages for object "DeployedResource".
    DBCC results for 'MT_System$NetworkManagement$CienaLEOSChassis_Performance_Processor'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CienaLEOSChassis_Performance_Processor".
    DBCC results for 'apm.PCTYPE'.
    There are 0 rows in 0 pages for object "apm.PCTYPE".
    DBCC results for 'SecureReferenceOverrideStaging'.
    There are 0 rows in 2 pages for object "SecureReferenceOverrideStaging".
    DBCC results for 'MT_Microsoft$SystemCenter$AgentVersions_Log'.
    There are 1 rows in 1 pages for object "MT_Microsoft$SystemCenter$AgentVersions_Log".
    DBCC results for 'MT_System$NetworkManagement$CiscoASR_Fault_Fan'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CiscoASR_Fault_Fan".
    DBCC results for 'MT_System$NetworkManagement$MSFC'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$MSFC".
    DBCC results for 'MT_Dell$FeatureManagement$MonitoringFeature$NotInstalled$ComplexFeature$ServerIB_Log'.
    There are 0 rows in 1 pages for object "MT_Dell$FeatureManagement$MonitoringFeature$NotInstalled$ComplexFeature$ServerIB_Log".
    DBCC results for 'MT_System$NetworkManagement$Accelar_Fault_Card'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Accelar_Fault_Card".
    DBCC results for 'MT_Microsoft$SystemCenter$Apm$CsmAgent'.
    There are 24 rows in 1 pages for object "MT_Microsoft$SystemCenter$Apm$CsmAgent".
    DBCC results for 'MT_System$NetworkManagement$CNT_Ultranet_Global_Performance_Memory'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CNT_Ultranet_Global_Performance_Memory".
    DBCC results for 'MT_System$NetworkManagement$CiscoLS1010_Fault_TemperatureSensor_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CiscoLS1010_Fault_TemperatureSensor_Log".
    DBCC results for 'MT_System$NetworkManagement$Redundancy_Fault_Card'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Redundancy_Fault_Card".
    DBCC results for 'sys.plan_persist_context_settings'.
    There are 0 rows in 0 pages for object "sys.plan_persist_context_settings".
    DBCC results for 'MT_System$NetworkManagement$CiscoEnvMon_Fault_VoltageSensor_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CiscoEnvMon_Fault_VoltageSensor_Log".
    DBCC results for 'MT_System$NetworkManagement$MrvEnvMon_Fault_PowerSupply_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$MrvEnvMon_Fault_PowerSupply_Log".
    DBCC results for 'MT_System$NetworkManagement$LAPD_L1active_Fault_Interface'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$LAPD_L1active_Fault_Interface".
    DBCC results for 'MT_Dell$WindowsServer$ManagedRackWorkstationGroup_Log'.
    There are 0 rows in 0 pages for object "MT_Dell$WindowsServer$ManagedRackWorkstationGroup_Log".
    DBCC results for 'MT_System$NetworkManagement$HuaweiH3C_Fault_Fan_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$HuaweiH3C_Fault_Fan_Log".
    DBCC results for 'MT_Microsoft$SystemCenter$NotificationServer'.
    There are 1 rows in 1 pages for object "MT_Microsoft$SystemCenter$NotificationServer".
    DBCC results for 'MT_Microsoft$SystemCenter$AllOperationsManagerObjectsGroup_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$SystemCenter$AllOperationsManagerObjectsGroup_Log".
    DBCC results for 'MT_System$NetworkManagement$Force10CSeries_Performance_Processor_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Force10CSeries_Performance_Processor_Log".
    DBCC results for 'MT_Microsoft$Exchange$15$ClientAccessServersInClientAccessArray$InstanceGroup'.
    There are 1 rows in 1 pages for object "MT_Microsoft$Exchange$15$ClientAccessServersInClientAccessArray$InstanceGroup".
    DBCC results for 'MT_System$NetworkManagement$CiscoLS1010_0_Fault_PowerSupply'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CiscoLS1010_0_Fault_PowerSupply".
    DBCC results for 'MT_System$NetworkManagement$ExtremeAlpine_Fault_Fan_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$ExtremeAlpine_Fault_Fan_Log".
    DBCC results for 'MT_System$NetworkManagement$CiscoRF_Fault_Card_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CiscoRF_Fault_Card_Log".
    DBCC results for 'MT_Microsoft$Windows$Server$2012$R2$Core$ComputerGroup_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$Windows$Server$2012$R2$Core$ComputerGroup_Log".
    DBCC results for 'MT_Microsoft$SystemCenter$Apm$WebServiceApplicationComponent_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$SystemCenter$Apm$WebServiceApplicationComponent_Log".
    DBCC results for 'MT_System$NetworkManagement$HuaweiMA56XX_Performance_Memory_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$HuaweiMA56XX_Performance_Memory_Log".
    DBCC results for 'MT_Dell$Server$CurrentSensor'.
    There are 0 rows in 0 pages for object "MT_Dell$Server$CurrentSensor".
    DBCC results for 'MonitoringOverrideStaging'.
    There are 0 rows in 1 pages for object "MonitoringOverrideStaging".
    DBCC results for 'Event_58'.
    There are 0 rows in 0 pages for object "Event_58".
    DBCC results for 'MT_Dell$WindowsServer$UnManagedServer_Log'.
    There are 3 rows in 1 pages for object "MT_Dell$WindowsServer$UnManagedServer_Log".
    DBCC results for 'MT_System$NetworkManagement$AlcatelOmniModule_Performance_Processor'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$AlcatelOmniModule_Performance_Processor".
    DBCC results for 'BehaviorImplementations'.
    There are 2 rows in 1 pages for object "BehaviorImplementations".
    DBCC results for 'MT_System$NetworkManagement$ForeATM_Fault_Port_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$ForeATM_Fault_Port_Log".
    DBCC results for 'MT_System$NetworkManagement$AlcatelOmniswitch_Fault_Fan'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$AlcatelOmniswitch_Fault_Fan".
    DBCC results for 'MT_Dell$RemoteAccess$iDRAC8Monolithic'.
    There are 0 rows in 0 pages for object "MT_Dell$RemoteAccess$iDRAC8Monolithic".
    DBCC results for 'MT_System$NetworkManagement$MIB2Common_Fault_NetworkAdapter_Log'.
    There are 3 rows in 1 pages for object "MT_System$NetworkManagement$MIB2Common_Fault_NetworkAdapter_Log".
    DBCC results for 'MT_System$NetworkManagement$Aruba_Performance_Memory'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Aruba_Performance_Memory".
    DBCC results for 'MT_System$NetworkManagement$Alaxala_Fault_TemperatureSensor_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Alaxala_Fault_TemperatureSensor_Log".
    DBCC results for 'MT_Dell$Server'.
    There are 0 rows in 0 pages for object "MT_Dell$Server".
    DBCC results for 'MT_Connector_Log'.
    There are 4 rows in 1 pages for object "MT_Connector_Log".
    DBCC results for 'MT_System$NetworkManagement$Unisphere_FIOA_Fault_Card'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Unisphere_FIOA_Fault_Card".
    DBCC results for 'MT_Microsoft$SystemCenter$SiteManagementServerWatcher'.
    There are 1 rows in 1 pages for object "MT_Microsoft$SystemCenter$SiteManagementServerWatcher".
    DBCC results for 'MT_System$NetworkManagement$FibroLanEnvMon_Fault_PowerSupply_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$FibroLanEnvMon_Fault_PowerSupply_Log".
    DBCC results for 'CS.ManagedEntityProperty'.
    There are 1112 rows in 312 pages for object "CS.ManagedEntityProperty".
    DBCC results for 'Datatype'.
    There are 82 rows in 7 pages for object "Datatype".
    DBCC results for 'MT_System$NetworkManagement$ifMIB_MIB2SNMP_Performance_Interface'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$ifMIB_MIB2SNMP_Performance_Interface".
    DBCC results for 'MT_Dell$Server$ManagedRackWorkstationGroup_Log'.
    There are 0 rows in 0 pages for object "MT_Dell$Server$ManagedRackWorkstationGroup_Log".
    DBCC results for 'MT_HewlettPackard$Servers$BladeSystem$HPBladeSystemEnclosureMonitorService'.
    There are 0 rows in 0 pages for object "MT_HewlettPackard$Servers$BladeSystem$HPBladeSystemEnclosureMonitorService".
    DBCC results for 'MT_Microsoft$Linux$UniversalD$1$Computer_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$Linux$UniversalD$1$Computer_Log".
    DBCC results for 'MT_System$NetworkManagement$CienaLEOSChassis_Performance_Processor_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CienaLEOSChassis_Performance_Processor_Log".
    DBCC results for 'MT_Microsoft$Linux$SLES$11$ComputerGroup_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$Linux$SLES$11$ComputerGroup_Log".
    DBCC results for 'KnowledgeArticleStaging'.
    There are 0 rows in 1590 pages for object "KnowledgeArticleStaging".
    DBCC results for 'MT_System$NetworkManagement$Blade8124_Fault_PowerSupply'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Blade8124_Fault_PowerSupply".
    DBCC results for 'MT_System$NetworkManagement$CiscoASR_Fault_Fan_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CiscoASR_Fault_Fan_Log".
    DBCC results for 'MT_System$NetworkManagement$MSFC_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$MSFC_Log".
    DBCC results for 'MT_Microsoft$SystemCenter$Apm$WebServiceTransaction'.
    There are 0 rows in 0 pages for object "MT_Microsoft$SystemCenter$Apm$WebServiceTransaction".
    DBCC results for 'MT_System$NetworkManagement$Accelar_Fault_Card_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Accelar_Fault_Card_Log".
    DBCC results for 'MT_Microsoft$Windows$Server$6$2$Core$ComputerGroup'.
    There are 1 rows in 1 pages for object "MT_Microsoft$Windows$Server$6$2$Core$ComputerGroup".
    DBCC results for 'MT_Microsoft$SystemCenter$DataWarehouse'.
    There are 1 rows in 1 pages for object "MT_Microsoft$SystemCenter$DataWarehouse".
    DBCC results for 'MT_Microsoft$Linux$SUSE$Computer'.
    There are 2 rows in 1 pages for object "MT_Microsoft$Linux$SUSE$Computer".
    DBCC results for 'MT_System$NetworkManagement$CNT_Ultranet_Global_Performance_Memory_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CNT_Ultranet_Global_Performance_Memory_Log".
    DBCC results for 'MT_Microsoft$SystemCenter$UnixProcess'.
    There are 0 rows in 0 pages for object "MT_Microsoft$SystemCenter$UnixProcess".
    DBCC results for 'MT_System$NetworkManagement$Redundancy_Fault_Card_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Redundancy_Fault_Card_Log".
    DBCC results for 'CSStage.ManagesRelationship'.
    There are 0 rows in 0 pages for object "CSStage.ManagesRelationship".
    DBCC results for 'MT_System$NetworkManagement$LAPD_L1active_Fault_Interface_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$LAPD_L1active_Fault_Interface_Log".
    DBCC results for 'MT_Microsoft$SystemCenter$Apm$IIS$2008$WCFServiceApplication'.
    There are 23 rows in 1 pages for object "MT_Microsoft$SystemCenter$Apm$IIS$2008$WCFServiceApplication".
    DBCC results for 'Infra.WorkItemHistory'.
    There are 0 rows in 0 pages for object "Infra.WorkItemHistory".
    DBCC results for 'MT_System$NetworkManagement$TasmanEnvMon_Fault_TemperatureSensor'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$TasmanEnvMon_Fault_TemperatureSensor".
    DBCC results for 'Relationship'.
    There are 2261 rows in 33 pages for object "Relationship".
    DBCC results for 'MT_Microsoft$SystemCenter$ManagementServiceRuntimePool'.
    There are 2 rows in 1 pages for object "MT_Microsoft$SystemCenter$ManagementServiceRuntimePool".
    DBCC results for 'MT_System$NetworkManagement$CiscoLS1010_0_Fault_PowerSupply_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$CiscoLS1010_0_Fault_PowerSupply_Log".
    DBCC results for 'MT_Microsoft$SQLServer$2014$AlwaysOn$AvailabilityGroupErrorUserPolicy_Log'.
    There are 0 rows in 0 pages for object "MT_Microsoft$SQLServer$2014$AlwaysOn$AvailabilityGroupErrorUserPolicy_Log".
    DBCC results for 'ReportStaging'.
    There are 0 rows in 23 pages for object "ReportStaging".
    DBCC results for 'MT_Microsoft$SystemCenter$CollectionManagementServer'.
    There are 1 rows in 1 pages for object "MT_Microsoft$SystemCenter$CollectionManagementServer".
    DBCC results for 'Event_59'.
    There are 0 rows in 0 pages for object "Event_59".
    DBCC results for 'MT_System$NetworkManagement$AlcatelOmniModule_Performance_Processor_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$AlcatelOmniModule_Performance_Processor_Log".
    DBCC results for 'MT_Microsoft$SystemCenter$Apm$CsmAgent_Log'.
    There are 24 rows in 1 pages for object "MT_Microsoft$SystemCenter$Apm$CsmAgent_Log".
    DBCC results for 'MT_System$NetworkManagement$AlcatelOmniswitch_Fault_Fan_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$AlcatelOmniswitch_Fault_Fan_Log".
    DBCC results for 'MT_Dell$RemoteAccess$iDRAC8Monolithic_Log'.
    There are 0 rows in 0 pages for object "MT_Dell$RemoteAccess$iDRAC8Monolithic_Log".
    DBCC results for 'sys.sqlagent_jobs'.
    There are 0 rows in 0 pages for object "sys.sqlagent_jobs".
    DBCC results for 'MT_System$NetworkManagement$Aruba_Performance_Memory_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Aruba_Performance_Memory_Log".
    DBCC results for 'MT_System$NetworkManagement$Chassis'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Chassis".
    DBCC results for 'MT_System$NetworkManagement$Unisphere_FIOA_Fault_Card_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$Unisphere_FIOA_Fault_Card_Log".
    DBCC results for 'DataWarehouseOutriggerStaging'.
    There are 0 rows in 0 pages for object "DataWarehouseOutriggerStaging".
    DBCC results for 'MT_Microsoft$SystemCenter$SiteManagementServerWatcher_Log'.
    There are 1 rows in 1 pages for object "MT_Microsoft$SystemCenter$SiteManagementServerWatcher_Log".
    DBCC results for 'CS.ManagedEntityType'.
    There are 1508 rows in 31 pages for object "CS.ManagedEntityType".
    DBCC results for 'MT_System$NetworkManagement$SYMBOL_Fault_Interface'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$SYMBOL_Fault_Interface".
    DBCC results for 'MT_Dell$Server$Storage$Controller$Enclosure$EMM'.
    There are 0 rows in 0 pages for object "MT_Dell$Server$Storage$Controller$Enclosure$EMM".
    DBCC results for 'MT_System$SoftwareUpdate'.
    There are 0 rows in 0 pages for object "MT_System$SoftwareUpdate".
    DBCC results for 'MT_Microsoft$SystemCenter$NotificationServer_Log'.
    There are 1 rows in 1 pages for object "MT_Microsoft$SystemCenter$NotificationServer_Log".
    DBCC results for 'MT_System$NetworkManagement$ifMIB_MIB2SNMP_Performance_Interface_Log'.
    There are 0 rows in 0 pages for object "MT_System$NetworkManagement$ifMIB_MIB2SNMP_Performance_Interface_Log".

    Thursday, March 24, 2016 9:41 PM
  • Doing this is going to take MANY posts......... There aren't any errors until the very end:

    CHECKDB found 0 allocation errors and 0 consistency errors in database 'OperationsManager'.
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    Msg 602, Level 21, State 30, Line 1
    Could not find an entry for table or index with partition ID 72057595723776000 in database 9. This error can occur if a stored procedure references a dropped table, or metadata is corrupted. Drop and re-create the stored procedure, or execute DBCC CHECKDB.

    Thursday, March 24, 2016 9:43 PM
  • Try to restore the last good backup from your SQL Log file.
    Friday, March 25, 2016 4:58 AM
  • Unfortunately there aren't any backups
    Friday, March 25, 2016 5:45 PM
  • I REALLY need to fix this DB or find out if this is a serious/critical error and here is what makes me think this is a critical error:

    event id 29181 in event manager that refers to SCOM 2012 R2 DB:

    OpsMgr Management Configuration Service failed to execute 'SnapshotSynchronization' engine work item due to the following exception
    
    Microsoft.EnterpriseManagement.ManagementConfiguration.DataAccessLayer.DataAccessException: Data access operation failed
       at Microsoft.EnterpriseManagement.ManagementConfiguration.DataAccessLayer.DataAccessOperation.ExecuteSynchronously(Int32 timeoutSeconds, WaitHandle stopWaitHandle)
       at Microsoft.EnterpriseManagement.ManagementConfiguration.SqlConfigurationStore.ConfigurationStore.ExecuteOperationSynchronously(IDataAccessConnectedOperation operation, String operationName)
       at Microsoft.EnterpriseManagement.ManagementConfiguration.SqlConfigurationStore.ConfigurationStore.StartSnapshot()
       at Microsoft.EnterpriseManagement.ManagementConfiguration.Engine.SnapshotSynchronizationWorkItem.StartSnapshot()
       at Microsoft.EnterpriseManagement.ManagementConfiguration.Engine.SnapshotSynchronizationWorkItem.ExecuteSharedWorkItem()
       at Microsoft.EnterpriseManagement.ManagementConfiguration.Interop.SharedWorkItem.ExecuteWorkItem()
       at Microsoft.EnterpriseManagement.ManagementConfiguration.Interop.ConfigServiceEngineWorkItem.Execute()
    -----------------------------------
    System.Data.SqlClient.SqlException (0x80131904): Sql execution failed. Error 608, Level 16, State 1, Procedure -, Line 1, Message: No catalog entry found for partition ID 72057595723776000 in database 7. The metadata is inconsistent. Run DBCC CHECKDB to check for a metadata corruption.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader()
       at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult)
       at System.Data.SqlClient.SqlCommand.EndExecuteNonQuery(IAsyncResult asyncResult)
       at Microsoft.EnterpriseManagement.ManagementConfiguration.DataAccessLayer.NonQuerySqlCommandOperation.SqlCommandCompleted(IAsyncResult asyncResult)
    ClientConnectionId:e27056f3-3f1d-4df5-a9f9-5d3083a0fdb0

    I have asked on the SCOM forum and because i havent gotten a response, i am revisiting this threat.

    • Edited by forgiven Friday, May 6, 2016 4:49 PM
    Friday, May 6, 2016 4:44 PM
  • If you dont have backup then you are doomed, did you run repair_rebuild or repair_allow_data_loss the later would give you data loss and might remove business constraints

    Cheers,

    Shashank

    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it

    My TechNet Wiki Articles

    MVP

    Saturday, May 7, 2016 5:41 AM
  • repair_rebuild: 1 error reported at the beginning of the output:

    Msg 608, Level 16, State 1, Line 1
    No catalog entry found for partition ID 72057595723776000 in database 7. The metadata is inconsistent. Run DBCC CHECKDB to check for a metadata corruption.

    Then this at the very end of the output:

    CHECKDB found 0 allocation errors and 0 consistency errors in database 'OperationsManager'.
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.

    Sunday, May 8, 2016 12:22 AM
  • In your case there aren't any backups and when you run repair_rebuild its not guaranteed to solve your problem and remove corruption. If that happens, then fixing from a third party utility like SysTools SQL Recovery would be a better option. 


    Tuesday, May 10, 2016 5:00 AM
  • Good day forgiven,

    There is a reason that people backup their database, files, operating system, disks and so on...
    My guess is that if you did not backup your database then you do not backup your machine disks as well, which might lead you to much more serious issues in thee future then "just" losing your database. This is a good (bad) learning experience that you must learn from it! 

    If you read this message, then please stop everything and shut down your machine! backup your disks and design a good backup plan for the future.

    Back to the issue...

    As this issue has potential to destroy your database, and since we have no information regarding the issue or ability to check it directly, I will not tell you what to do, but maybe my comments here can help you

    If you had a full machine backup or even a VSS backup, there was a good chance to save your data, without using undocumented tools and/or complex work, which most likely cost a lot more then hire an Experienced DBA to maintain the database on a regular base.

    *** DISCLAIMER: The information in this post should not be used on a production SQL Server system. Any problem, corruption, damage, or loss you cause by using the information presented here is entirely your own responsibility. Use at your own risk. Danger of death. ***

    There are some built-in tools that can help deal with fixing the files in the binary level of the file (the 0/1 bits) like the "dbcc writepage", but these should NOT be used, without FULL understanding of the binary file (the ability to read and understand the file using binary editor for example). Moreover, once you use these options Microsoft remove their responsibility! There are some companies and individuals experts that focus on fixing corrupted databases, but these cost a lot and will never promise that they will succeed in fully restore the database (you pay for the time even if there is no success!).

    In some cases the issue related to metadata, which mean that theoretically the data itself might still be in the database, and therefore it can be saved. Moreover, it might be related to data in the system tables and not in the database itself. The procedure to restore the data can be simple as 10 minutes or several weeks, depending on case to case. In other cases, we can restore the data itself from the log file or from indexes (for example if specific byte in the data file, which include specific int value, is corrupted and that specific value stored in index, we might be able get the data from the index and manually fix the database file). In some cases fixing a corrupted database might involved with manually alter hidden system tables. In some cases we can restore the data by comparing the data to old version and manually copy data.... In short.. I would not say that you are doomed and there are lot techniques to fix corrupted database :-) 

    ** It is always good idea to fix the data in development environment and NEVER on production!

    ** Fixing the database usually best done as fast as you notice the issue. Once you start trying to fix the database, continue to work with the corrupted database, or even by shout down the server, you might have change something and make the issue worse. First step in most cases is backup your current situation.

    ** Paul S. Randal has great article regarding undocumented commends. These are advance articles! HIGHLY recommended for advance users.

    >> "No catalog entry found for partition ID 72057595723776000 in database 7"
    * You know which partition has a potential problem. You should focus on this, but first make sure that you backup all the other data.

    >> "The metadata is inconsistent"
    * By the way, CHECKDB can't repair metadata corruptions as much as I remember from Paul Randal blogs.

    >> "This error can occur if a stored procedure references a dropped table"
    Did you try to check if the issue is related to SP, and recreate it if so?

    ** All tables, even if not partitioned, are tracked internally as partitions. You can track the relevant partition by query the sys.partitions

    select * from sys.partitions
    where partition_id  = 72057595723776000 -- this is your id according to the error message
    GO

    Track the relevant Object and focus on it 

    ** examine the sys.dm_db_partition_stats in order to find the page and row-count information related to the corrupted partition. An expert might focus on restoring the data on that specific page.

    ** I do not recommend this! but in extrime cases and AFTER we restore/copy any data that can be read (both from log file and data file) and as last step you can execute DBCC CHECKDB with the parameter REPAIR_ALLOW_DATA_LOSS, which mean that you will probably loss data and the CHECKDB might delete much more then only the related corrupted pages! in one case that I manually succeed to repair a corrupted several specific rows in table, the CHECKDB REPAIR_ALLOW_DATA_LOSS deleted all the data on the related table!

     

    do your best to save what’s left. 
    In any case, this is beyond the forum scope I think, since the official way is to restore using your last good backup :-)
    I hope this gave some insights and maybe help you

     

    Very simple cases of corruptions and how to fix them without the use of backups

    >> http://www.sqlskills.com/blogs/paul/using-the-dedicated-admin-connection-to-fix-msg-8992-corrupt-system-tables/

    >> http://www.sqlskills.com/blogs/paul/disaster-recovery-101-fixing-metadata-corruption-without-a-backup/


    signature   Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]    [Linkedin]


    Monday, May 23, 2016 2:00 AM