Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Reorganize Index Expand / Collapse
Author
Message
Posted Wednesday, December 19, 2012 10:53 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Tuesday, December 16, 2014 12:23 PM
Points: 98, Visits: 275
Dear Friends

I have made a maintenance plan to reorganize index daily, but this error showed to me and I don't understand it and how to fix it. Thanks lot

Failed-1073548784) Executing the query "ALTER INDEX [Cluster_inde] ON [dbo].[DeficiencyChe..." failed with the following error: "The index "Cluster_inde" (partition 1) on table "DeficiencyCheckListItems" 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.

Post #1398560
Posted Wednesday, December 19, 2012 11:34 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 2:11 PM
Points: 35,772, Visits: 32,441
zi (12/19/2012)
Dear Friends

I have made a maintenance plan to reorganize index daily, but this error showed to me and I don't understand it and how to fix it. Thanks lot

Failed-1073548784) Executing the query "ALTER INDEX [Cluster_inde] ON [dbo].[DeficiencyChe..." failed with the following error: "The index "Cluster_inde" (partition 1) on table "DeficiencyCheckListItems" 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.



The error states exactly what the problem is, in this case. You can't reorg this index. It will need to be rebuilt or the index will need to be changed to allow page locks.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1398586
Posted Wednesday, December 19, 2012 12:23 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Tuesday, December 16, 2014 12:23 PM
Points: 98, Visits: 275

Thank you very much
Post #1398615
Posted Wednesday, December 19, 2012 8:56 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, March 18, 2014 2:45 PM
Points: 26, Visits: 91
please run this command.


ALTER INDEX [index_name ] ON [table_name] SET ( ALLOW_PAGE_LOCKS = ON )


Post #1398753
Posted Sunday, December 23, 2012 2:17 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Tuesday, December 16, 2014 12:23 PM
Points: 98, Visits: 275

Thank you very much, it works
Post #1399768
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse