?
Solved

I have a corrupted index on a table with this error Index row entry for data row id (817, 15) is missing from index page 1009 of index id 2 of table 'sysattributes' in database 'sag'. Xactid is (10215

Posted on 2014-12-17
3
Medium Priority
?
389 Views
Last Modified: 2014-12-24
I was deleting from a table and mistakenly executed the delete statement twice which caused the error.
0
Comment
Question by:Kola Lawal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 24

Expert Comment

by:Joe Woodhouse
ID: 40506299
Firstly executing the same DELETE twice is very unlikely to have caused your issue. If the first DELETE succeeded and committed then the second should find no rows affected and nothing to DELETE. I think it's just coincidence - you likely have some other issue that happened around the same time.

Is there anything in the ASE errorlog?

The error message is telling you there is data in a table which isn't shown in the index. That's the good news - your data itself is intact.

Simply drop & recreate the index. This will block writes while the index is being recreated, and reads will be slower if they needed the index but now are table scanning.
0
 

Author Comment

by:Kola Lawal
ID: 40508891
I have already drop and recreated the indexes except one which I couldn't get to generate DDL so to recreate it. Please what can I do?
0
 
LVL 24

Accepted Solution

by:
Joe Woodhouse earned 2000 total points
ID: 40508905
sp_helpindex on the index should give you everything you need to recreate it. If you're having trouble with it, post the output of sp_helpindex and I'll help.

It could be that it was defined as a constraint rather than an index. If sp_helpindex comes up with nothing, run sp_help on the table instead and post that output.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New style of hardware planning for Microsoft Exchange server.
Hey fellow admins! This time, I have a little fairy tale for you. As many tales do, it starts boring and then gets pretty gory. I hope you like it. TL;DR: It is about an important security matter, you should read it if you run or administer Windows …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question