The web blog http://www.learnsccd.com strives to be a comprehensive guide to SCCD, TADDM, SERVICE NOW and MAXIMO tools. This is a personal site maintained solely by me. I intend to update it regularly.For live updates please follow us on.

Maximo Performance on SQL Server - Turning off Page Locking

Maximo Performance on SQL Server

Slow transactions or apparent hanging during multi-user operations in Maximo applications with a SQL Server 2000, 2005, or 2008 database can result if page locking has not been turned off on the tables and indexes.

Connect to the Maximo database using Query Analyzer. Set the Query output to go to a file, then execute the following statement. This command must be broken onto two lines exactly as shown.

select 'sp_indexoption '''+tablename+''',''AllowPageLocks'',''false'' go' from maxtable order by tablename

Set the Query output back to screen.
Click on File - Open and read in the file you just created.
Delete the header and row count lines at the top and bottom of the set of commands.
Click Edit - Select All, then F5 to execute all of the sp_indexoption commands.

Note:This will set page locking off for all tables and their indexes. Once turned off, it will remain off. The Maximo Database Configuration application will maintain page locking off if it rebuilds a table or index.