Reorganize Index

  • 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.

  • 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.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Thank you very much

  • please run this command.

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

  • Thank you very much, it works

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply