Re: Error in Index Reorg in Maintenance Task
- From: "Dragon" <nospam@xxxxxxxxxxx>
- Date: Mon, 17 Aug 2009 10:03:05 +0100
Thank you Tibor.
Yes, I have re-confirmed several times that I am looking at the correct
index as well as that settings are set. I guess it is a bug then.
Thanks.
"Tibor Karaszi" <tibor_please.no.email_karaszi@xxxxxxxxxxxxxxxxxx> wrote in
message news:u10wpy2GKHA.3736@xxxxxxxxxxxxxxxxxxxxxxx
Hmm... I would very that I'm absolutely 100% certain that I'm looking at
the right index. If that is the case, and the setting really is correct,
then I'd open a case with MS Support as I would consider what you see a
bug.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Dragon" <nospam@xxxxxxxxxxx> wrote in message
news:OspSdeyGKHA.1252@xxxxxxxxxxxxxxxxxxxxxxx
Thank you Tibor.
I have been able to resolve all of the indexing issues like these except
on one index. This index already has the allow page lockes turned on but
I still get the same error. So far I have tried this:
Turned Allow Page Lock on and tried re-org.
Turned Allow Page Lock off and tried re-org.
Dropped and Recreated index and tried re-org.
In all case I am getting the same error.
Thank you for your help.
"Tibor Karaszi" <tibor_please.no.email_karaszi@xxxxxxxxxxxxxxxxxx> wrote
in message news:e5Nq8EqGKHA.1252@xxxxxxxxxxxxxxxxxxxxxxx
Somebody disabled page level locking for the index, for some reason. You
can query sys.indexes to find out which indexes has page locking
disabled and take it from there. Page locking need to be enables for
ALTER INDEX ... REORGANIZE.
SELECT OBJECT_NAME(object_id), * FROM sys.indexes
WHERE allow_page_locks = 0
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Dragon" <nospam@xxxxxxxxxxx> wrote in message
news:%2317bO1oGKHA.3888@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have created a maintenance plan which performs the following (in
order, on all databases):
- Check Database Integrity
- Reorganize Index
- Update Statistics
- Cleanup History
- Backup Databases
- Maintenance Cleanup Task
All seems to be working fine except that everyday I have 2-3 index
reorgs that fail. I am listing one of the errors below (they are all
same but for different indexes). Errors show up on either same or
different indexes everyday.
Our system is running Windows 2003 Cluster w/ SQL 2005 Std Cluster
(SP3).
Could someone please give me some pointers as to what might be wrong
here?
Thank you.
Failed:(-1073548784) Executing the query "ALTER INDEX
[idx_Installation_ID] ON [dbo].[ASD_Analysis_Data] REORGANIZE WITH (
LOB_COMPACTION = ON )
" failed with the following error: "The index "idx_Installation_ID"
(partition 1) on table "ASD_Analysis_Data" cannot be reorganized
because page level locking is disabled.". Possible failure reasons:
Problems with the query, "ResultSet" property not set correctly,
parameters not set correctly, or connection not established correctly.
.
- References:
- Error in Index Reorg in Maintenance Task
- From: Dragon
- Re: Error in Index Reorg in Maintenance Task
- From: Tibor Karaszi
- Re: Error in Index Reorg in Maintenance Task
- From: Dragon
- Re: Error in Index Reorg in Maintenance Task
- From: Tibor Karaszi
- Error in Index Reorg in Maintenance Task
- Prev by Date: Re: SQL QUERY
- Next by Date: RE: DELETE CONSECUTIVE DUPLICATES
- Previous by thread: Re: Error in Index Reorg in Maintenance Task
- Next by thread: Suppress all 0
- Index(es):
Relevant Pages
|