How to see a history of index reorganization requests for a specific index in SQL Server 2008

StackOverflow https://stackoverflow.com/questions/14222189

سؤال

In SQL Server 2008, when trying to reorganize an index on a table, I see this error:

The index "MyIndex" (partition 1) on table "MyTable" cannot be reorganized because it is being reorganized by another process

I see the error message returned as part of an SSIS package failure. This happened after hours when I was not around to quickly look at something like Activity Monitor to indentify the culprit process.

My question is how to identify this other reorganization process a day after the fact?

Ideally, I would like to see a history of index reorganization requests for a specific index

هل كانت مفيدة؟

المحلول

Not something that SQL Server 2008 does by default and I do not have anything built out that would specifically capture these events so I am out of luck.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top