Steven Yeung
2008-07-15 01:31:31 UTC
Hi,
I've scheduled a maintenance plan to rebuild/reorganize the index of
OperationsManagerDW. However, the fail to complete. In the log, the
following paragraph was found.
Failed:(-1073548784) Executing the query "ALTER INDEX
[PK__EventStage__2B196C26] ON [Event].[EventStage] REBUILD WITH
( PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS =
ON, ALLOW_PAGE_LOCKS = ON, SORT_IN_TEMPDB = OFF, ONLINE = OFF )
" failed with the following error: "Cannot find index
'PK__EventStage__2B196C26'.". Possible failure reasons: Problems with
the query, "ResultSet" property not set correctly, parameters not set
correctly, or connection not established correctly.
Some experts in SQL Server Forum teach me to run a query check the
constraint name of Event.EventStage table.
And the result found is PK__EventStage__4954A5DA
So someone suggested to name the constraints explictly instead of
relying on generated names. To do this, to run a SQL like:
ALTER TABLE [Event].[EventStage]
ADD CONSTRAINT PK_EventStage
PRIMARY KEY (EventID)
But I would like to know will this corrupt the functions in SCOM.
Can anyone help me to solve the problem?
Thank you so much!
Regards,
Steven
I've scheduled a maintenance plan to rebuild/reorganize the index of
OperationsManagerDW. However, the fail to complete. In the log, the
following paragraph was found.
Failed:(-1073548784) Executing the query "ALTER INDEX
[PK__EventStage__2B196C26] ON [Event].[EventStage] REBUILD WITH
( PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS =
ON, ALLOW_PAGE_LOCKS = ON, SORT_IN_TEMPDB = OFF, ONLINE = OFF )
" failed with the following error: "Cannot find index
'PK__EventStage__2B196C26'.". Possible failure reasons: Problems with
the query, "ResultSet" property not set correctly, parameters not set
correctly, or connection not established correctly.
Some experts in SQL Server Forum teach me to run a query check the
constraint name of Event.EventStage table.
And the result found is PK__EventStage__4954A5DA
So someone suggested to name the constraints explictly instead of
relying on generated names. To do this, to run a SQL like:
ALTER TABLE [Event].[EventStage]
ADD CONSTRAINT PK_EventStage
PRIMARY KEY (EventID)
But I would like to know will this corrupt the functions in SCOM.
Can anyone help me to solve the problem?
Thank you so much!
Regards,
Steven