Consistency error

Hi
Can anyone suggest how to resolve this issue without data loss.
Executed as user: SCHLOGAU\sqladmin. Extent (1:1537432) in database ID 6 is marked allocated in the GAM, but no SGAM or IAM has allocated it. [SQLSTATE 42000] (Error 8905)  CHECKDB found 1 allocation errors and 0 consistency errors not associated with
any single object. [SQLSTATE 01000] (Error 8954)  CHECKDB found 1 allocation errors and 0 consistency errors in database ''. [SQLSTATE 01000] (Error 8989)  repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (
). [SQLSTATE 01000] (Error 8958).  The step failed.

T his applies to you? Not very encouraging, though...
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=61284
Also, here's some good techninfo, which mentions 8905 error:
http://blogs.msdn.com/sqlserverstorageengine/archive/2006/07/18/670341.aspx
REPAIR_REBUILD
If the minimum repair level is REPAIR_REBUILD you have been lucky.
The syntax is DBCC CHECKDB('Web1', REPAIR_REBUILD)
REPAIR_ALLOW_DATA_LOSS
This attempts to repair all errors. Sometimes the only way to repair an error is to deallocate the affected page and modify page links so that it looks like the page never existed. This has the desired effect of restoring the database's structural integrity
but means that something has been deleted (hence the ALLOW_DATA_LOSS). There are likely to be issues with referential integrity, not to mention the important data that may now be missing.
The syntax is
DBCC CHECKDB('Web1', REPAIR_ALLOW_DATA_LOSS)
 Make sure you run DBCC CHECKCONSTRAINTS afterwards so you are aware of referential integrity issues and can take the appropriate action.
Raju Rasagounder Sr MSSQL DBA

Similar Messages

  • Consistency error:more fields found in XML structure than specified in conv

    Hi,
    I am doing a File 0 RFC- File in PI 7.1 and facing the following error:
    2009-12-07 09:45:05 Error        MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '20000000|3022|800.99|10.11.2009|Testing 22222|')', probably configuration error in file adapter (XML parser error)'
    2009-12-07 09:45:05 Error File processing failed with com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '20000000|3022|800.99|10.11.2009|Testing 22222|')', probably configuration error in file adapter (XML parser error)'
    my output file record structure :
    DT_out
        itab_out                       0.........1
           item                          0...... unbounded
             STR                        0........1
    So i have given in the receiver FCC parameters as:
    Record structure : item
    Content conversion parameters:
    item.fieldFixedLengths               255
    item.endSeparator                      'nl'
    could anyone pls help me in solving this error at the earliest.
    thanks

    my problem has been solved by giving the FCC parameters as shown below:
    my output file record structure :
    DT_out
    itab_out 0.........1
    item 0...... unbounded
    STR 0........1
    So i have given in the receiver FCC parameters as:
    Record structure : item,ITAB_OUT
    Content conversion parameters:
    item.fieldFixedLengths 255
    item.endSeparator 'nl'
    ITAB_OUT.fieldFixedLengths 255
    ITAB_OUT.endSeparator 'nl'

  • How to recover from database consistency errors?

    I have a SQL server cluster 2005. Due to the broken of SAN storage's controller and disks, one of my SharePoint content DB has corrupted and has been causing numerous error to the SharePoint. I have run the command "DBCC CHECKDB WITH NO_INFOMDGS"
    and the truncated output are as following:
    Table error: Object ID 53575229, index ID 1, partition ID 72057594038583296, alloc unit ID 72057594043564032 (type In-row data), page ID (3:21580503) contains an incorrect page ID in its page header. The PageId in the page header = (3:21580511).
    CHECKDB found 0 allocation errors and 6 consistency errors in table 'AllDocs' (object ID 53575229).
    Table error: Object ID 53575229, index ID 1, partition ID 72057594038583296, alloc unit ID 72057594043564032 (type In-row data), page ID (3:21580503) contains an incorrect page ID in its page header. The PageId in the page header = (3:21580511).
    CHECKDB found 0 allocation errors and 6 consistency errors in table 'AllDocs' (object ID 53575229).
    Object ID 1058102810, index ID 4, partition ID 72057594052411392, alloc unit ID 72057594058571776 (type In-row data): Page (3:21580478) could not be processed.  See other errors for details.
    CHECKDB found 0 allocation errors and 4 consistency errors in table 'EventCache' (object ID 1058102810).
    Table error: Object ID 1762105318, index ID 1, partition ID 72057594055819264, alloc unit ID 72057594062897152 (type LOB data). The off-row data node at page (3:21985593), slot 35, text ID 5702751551488 is not referenced.
    Msg 8964, Level 16, State 1, Line 1
    Table error: Object ID 1762105318, index ID 1, partition ID 72057594055819264, alloc unit ID 72057594062897152 (type LOB data). The off-row data node at page (3:21985594), slot 14, text ID 5702751354880 is not referenced.
    Msg 8986, Level 16, State 1, Line 1
    Too many errors found (201) for object ID 1762105318. To see all error messages rerun the statement using "WITH ALL_ERRORMSGS".
    CHECKDB found 0 allocation errors and 307 consistency errors in table 'AuditData' (object ID 1762105318).
    CHECKDB found 0 allocation errors and 363 consistency errors in database 'ALCIM_WSS_Content'.
    repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (WSS_Content).
    Error show in the event log:
    SQL Server detected a logical consistency-based I/O error: incorrect pageid (expected 3:21580475; actual 0:0). It occurred during a read of page (3:21580475) in database ID 9 at offset 0x00002929576000 in file 'E:\Microsoft SQL Server\Data\MSSQL.1\MSSQL\DATA\WSS_Content_2.ndf'. 
    The last DB backup creatred was about a month ago so doing DB resotre will be my last choice. Is it possible I can recover the DB without data loss using "DBCC CHECKDB ('WSS_Content', REPAIR_REBUILD)"? Any alternative method to acheive my
    goal?
    Thank you.

    Hi,
    Check this part of the output that you have posted
    "repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (WSS_Content)."
    Which clearly states that your only option is "repair_allow_data_loss". This option should ONLY be tried as a last resort. If you have any chance of restoring the backup as Bass_player suggested that should be your way. Even if you run repair_allow_data_loss
    and it runs successfully and fixes the corruption, you still would be facing logical corruption with data, as we never know which all records repair_allow_data_loss removes.
    More over in case of SharePoint databases as far as I know, Microsoft Sharepoint Support never used to support those sharepoint databases which were repaired. They will only support a backup of the database in case of corruptions.
    I would suggest you to start working on a better disaster recovery plan in the mean while you are waiting for the backups :)
    HTH,
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.wordpress.com

  • CHECKDB found 0 allocation errors and 1 consistency errors in table 'sys.syscolpars' (object ID 41)

    Msg 2511, Level 16, State 2, Line 1
    Table error: Object ID 41, index ID 1, partition ID 281474979397632, alloc unit ID 281474979397632 (type In-row data). Keys out of order on page (1:187), slots 9 and 10.
    CHECKDB found 0 allocation errors and 1 consistency errors in table 'sys.syscolpars' (object ID 41).
    CHECKDB found 0 allocation errors and 1 consistency errors in database 'db_name'.
    repair_rebuild is the minimum repair level for the errors found by DBCC CHECKDB (adv_tvs).
    Help required on the above error mentioned

    Hi Rapunzel,
    The minimum repair suggested is repair_rebuild you can try that. As per mssage there is corruption in your database and it can only be corrected by either repairing or Restoring from known good backup.For doing repair the database must be in single-user
    mode.
    Please read
    dbcc checkdb repair_rebuild option
    Since DBCC CHECKDB with any of the REPAIR options are completely logged and recoverable, Microsoft always recommends a user use CHECKDB with any REPAIR options within a transaction (execute BEGIN TRANSACTION before running the command) so that the user can
    confirm he/she wants to accept the results of the operation. Then the user can execute COMMIT TRANSACTION to commit all work done by the repair operation. If the user does not want to accept the results of the operation, he/she can execute a ROLLBACK TRANSACTION
    to undo the effects of the repair operations.
    REPAIR_REBUILD does not repair errors involving FILESTREAM data.
    How big is database. If it is small and backup also is corruption free you should consider restoring from backup
    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 Article
    MVP

  • Timesheet Failed to Load - Node Consistency Error

    We are running a new Project Server 2013 with the December 2013 CU. Some users are getting "the view failed to load" error on timesheets if their assignment has been deleted in the plan.
    We are aware of the April hotfix (http://support.microsoft.com/kb/2760261/pt) that supposedly addressed this issue but we are not able to install it as we are beyond this patch with the current CU.
    Below are some screenshots of the behavior and the error:
    Here is the related error from the ULS Log:
    03/10/2014 10:13:33.63 w3wp.exe (0x1BB8)
    0x1BD4 Project Server
    Server-side Project Operations 8dmd
    Unexpected Node Consistency Error: Exception loading Assignment. Uid=a9631e63-5f9e-e311-8e8a-402cf4610b54
    b2eb7b9c-3fd9-b051-55db-d87bc300d018

    In our scenario we had to run a SQL query to identify an offending task that was preventing the timesheet from loading. We would then delete the resource(s) from the task, save/publish. Then we would add the resource back with any details they may have had.
    We verified the correct hours worked, then save and publish. You can then delete their timesheet and recreate it. This bug may have been fixed with CUs. We haven't yet patched the environment to the latest CUs.
    select
    Assn_Sav.WASSN_ACTUALS_PENDING,
    TASK.TASK_Name,
    Proj.PROj_NAME,
    RES.RES_NAME
    from
    pub.MSP_ASSIGNMENTS_SAVED Assn_Sav,
    pub.msp_projects PROJ,
    pub.msp_resources RES,
    pub.msp_tasks Task
    where
    Assn_Sav.RES_UID = RES.RES_UID and
    Assn_Sav.Proj_uid = Proj.PROJ_UID and
    Assn_Sav.Task_uid = Task.TASK_UID and
    WASSN_ACTUALS_PENDING is Null

  • Remove MB5K stock consistency error

    Dear Experts,
    I am trying to remove MB5K stock consistency error  in my PRD system.
    MB5K showing error on the Material 40SVRADSF-1000LOCK.
    500 Actual qty not equal to total of stocks.
    There is material document posted in 13.12.2011 for 301 movement type.
    Material has been moved from plant - 4999 to plant - 4101. Document showing correctly posted.
    But material is not received in plant - 4101.
    Please help.
    Regards,
    Praveen

    Hi,
    You can check stock in MMBE where you will see separate  storage Location for e.g. Unrestricted use stock, GR Block Stock etc. on the basis of that you can see actually at which location it moved. You can see also in MB51 with movement type, article document wise. once try then let me know.

  • Recover from consistency errors in table.

    Hi all,
    I'm having trouble correcting consistency error on a table. I've tried a complete rebuild of all the indexes on the table but the result stays the same and is as follows:
    Msg 8951, Level 16, State 1, Line 1
    Table error: table 'METINGEN_METINGEN' (ID 36299289). Data row does not have a matching index row in the index 'idx_METINGEN_METINGEN_METINGEN' (ID 7). Possible missing or invalid keys for the index row matching:
    Msg 8955, Level 16, State 1, Line 1
    Data row (1:109702270:2) identified by (AutoID = 2150390 and MSESSIEID = '0000021587' and SOURCETYPE = 'M' and MEET_DATUM = '2008-09-25 00:00:00.000' and MEET_TIJD = '08:43:41') with index values 'METING_ID = '' and AutoID = 2150390 and MSESSIEID = '0000021587' and SOURCETYPE = 'M' and MEET_DATUM = '2008-09-25 00:00:00.000' and MEET_TIJD = '08:43:41''.
    Msg 8952, Level 16, State 1, Line 1
    Table error: table 'METINGEN_METINGEN' (ID 36299289). Index row in index 'idx_METINGEN_METINGEN_METINGEN' (ID 7) does not match any data row. Possible extra or invalid keys for:
    Msg 8956, Level 16, State 1, Line 1
    Index row (1:103520455:62) with values (METING_ID = '' and AutoID = 2150390 and MSESSIEID = '퍠෶ and SOURCETYPE = '퓠' and MEET_DATUM = '2008-09-25 00:00:00.000' and MEET_TIJD = '푐෶) pointing to the data row identified by (AutoID = 2150390 and MSESSIEID = '퍠෶ and SOURCETYPE = '퓠' and MEET_DATUM = '2008-09-25 00:00:00.000' and MEET_TIJD = '푐෶).
    DBCC results for 'METINGEN_METINGEN'.
    There are 48684994 rows in 4416906 pages for object "METINGEN_METINGEN".
    CHECKTABLE found 0 allocation errors and 2 consistency errors in table 'METINGEN_METINGEN' (object ID 36299289).
    repair_rebuild is the minimum repair level for the errors found by DBCC CHECKTABLE (EVD_Ont.dbo.METINGEN_METINGEN).
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    and also i can't find what (ID 7) means..

    DBCC CHECKTABLE with the repair_rebuild is the next step i'm going to try.  Do you have an idea how long it should take? I mean, would it take as long as a checktable without the repair_rebuild?
    Its not dbcc checktable but dbcc checkdb. You can use below query
    Use db_name
    GO
    ALTER DATABASE db_name SET SINGLE_USER with rollback immediate
    GO
    DBCC CHECKDB('db_name', REPAIR_REBUILD)
    GO
    Time depends on size of database and amount of corruption checkdb has to fix
    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 Article
    MVP

  • Data Package is not consistent error

    Hi All,
    We have a Bex issue the screenshot of which is given in the link below. We have an info cube which has huge data volume. We load it very frequently (every hour from 2 sources). This info cube has been loading from say last 5 years. We stopped compressing the data about an year ago for some reason. We are thinking of compressing the data sometime soon. All of a sudden, users are getting the error shown in the link below more frequently. No much information is available at Service Market place about this issue. Can somebody please throw some light on this?
    [Error Screenshot|https://photos-1.dropbox.com/i/l/orsd6TKDlIBVoH4JO79GWQAPNFPlTa88QJ0zkV7Lcc0/53945346/1324418400/3799537/Bex%20Error.JPG#1]
    Thanks and Regards
    Subray Hegde

    Hi Deepak,
    I am not able to attach a screenshot. Somebody directed me to servimg.com but, I do not know how to create an account in this site. The error reads like this:
    "Error Aggregates of <Infocube> were compressed. Data package is not consistent. Error. Error while reading data; navigation possible.".
    Thanks and Regards
    Subray Hegde

  • Consistency error for user in PPOSA_BBP , no error in HRALXSYNC

    Hi Experts,
    For the same user when we run the report HRALXSYNC in SE38 , everything is green but when we check the same user in PPOSA_BBP it gives error "Attribute check for USER failed" .
    I have two queries,
    1)Why is the mismatch between the two checks  i.e. in HRALXSYNC report and PPOSA_BBP
    1)How can we see what is the exact error.
    Regards,
    Anubhav

    Hello Anubhav,
    What version of SRM?
    Execute the transaction:bbp_bp_om_integrate for the user,
    after the result comes,whith some data in red,right?
    Now scroll towards right..
    select the User's consistency row and there is an optiion at the end of tool bar,
    with 2 arrows shoWing downwards(Start Repair),just select the user and click on it.
    see what happenS
    ArshaD
    Edited by: arshad ahmed on Jul 23, 2009 3:52 PM
    Edited by: arshad ahmed on Jul 23, 2009 3:54 PM
    Edited by: arshad ahmed on Jul 23, 2009 3:55 PM

  • Dimensional Hierarchy - Estimate Levels - Consistency Error

    Hi,
    I have created Time dimension hierarchy. Fiscal Yr-Fiscal Qtr -Fiscal Wk- Fiscal Month.
    When I check Estimate levels - Fiscal Yr and Fiscal Month are passed.
    For Fiscal Qtr and Fiscal Wk -- throwed error. Consistency Failed.
    What could be the reason?
    In database I have only one table.
    Thanks!!

    Bear in mind that the "Estimate Levels" option is very buggy at the best of times. All it essentially does is a count distinct of the key values at each level so you can do this manually if you prefer.
    The consistency messages you are seeing might be because the number of elements is lower than the number at the hierarchy level above. The number of distinct values should be lowest at the top of the hierarchy and increase with each subsequent child level. Personally, I would just set the numbers manually and forget the "Estimate Levels" option.
    Paul

  • Consistency errors in table RSMONICDP

    After running a consistency check on the database we have 2 errors in table RSMONICDP. The only option is to run a repair delete on the database but I'm worried about what we might loose. The error is in one object, could someone tell me what implications this might have on the data loaded in the system?

    Hi Chris,
    Please let how to fix the issue?..
    I  also facing the same issue while running the CHECKDB
    Thanks
    Malai

  • Sales tax data in the posting term is not consistent (Error in Real Estate)

    The following error is occured while creating a real estate contract.
    Sales tax data in the posting term is not consistent
    Message no. RECD076
    Diagnosis
    The sales tax data in the posting term is inconsistent.
    Procedure
    Switch to maintenance of posting terms and correct all errors that are shown there.

    Hi Ananda.
    What did you do to resolved this problem?
    Could you help?
    Tks
    Lucas

  • I can't install icloud on a brand new Dell Latitude under Win 7, get consistent error msg

    I get a annoying error msg - can someone pls provide a solution ?
    Thanks in advance !

    So what is the error message?

  • Installing iTunes 8.2.1 consistent error message.

    Help needed please. Each time I try to reinstall iTunes
    'Quick Time failed to intialise (error - 2096)
    Quick Time is required to run iTunes. Please uninstall iTunes then install iTunes again.

    First thing to check is QT's compatibility mode setting, as explained here
    http://support.apple.com/kb/TS1875

  • Consistent Error Message:  Key not valid for use in specified state

    For several years I have been trying to use iTunes.  Without success, I decided to try to reinstall the program and now I am getting the above error message.

    It seems we may have a more targeted solution. Based on posts in the thread  key not valid for use in specified state I've just added the following to the user tip.
    For "Key not valid for use in specified state" errors try moving the folder RSA from C:\Users\<User>\AppData\Roaming\Microsoft\Crypto\RSA to say C:\RSA (just in case there should be a need to restore it) then try installing again. This folder appears to act as a cache and should be rebuilt automatically as required.
    tt2

Maybe you are looking for

  • Cannot sign and certify a PDF any more

    I can't sign and certify a PDF document, and I used to be able to. It prompts me for a password and I put it there and it doesn't work.

  • Can't sync music to my iphone 5

    after making changes to my playlist, I synched my iphone 5, but it wiped off all the music.  Now it wont sync my playlists to my phone.  I have tried resetting phone to factory settings, and have deleted and reinstalled itunes on my laptop, but still

  • Home page is NZ Herald, it is on yesterday's news.

    I set NZ Herald as my homepage a couple days ago. It seems to be stuck on old news, as it is definately not the current page. I checked in IE and they are different. I can only imagine it is a setting, but I don't know which one.

  • How to delete old question forums?

    How do I delete old forums on here that my questions were answered and no longer need to post up?

  • Not able to import metadata using BI Admin tool

    Hi folks, I've installed OBIEE 11g server(Version 11.1.1.6.0) in my local machine which is lying on Windows 7 environment. Tried importing metadata(Oracle Database) using BI Admin tool, it throws "The Connection has failed" error. I've copied TNSNAME