IBM Support

Maximo Performance on SQL Server - Turning off Page Locking

Troubleshooting


Problem

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

Cause

A newly installed or upgraded Maximo 6 or higher system on SQL Server does not have page locking turned off on any tables unless the table has been modified by the Configure utility. Page locking can cause performance problems.

Environment

Microsoft SQL Server

Resolving The Problem

Connect to the Maximo database using SQL Management Studio. 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.
Select 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.
Select Edit > Select All, then click F5 to execute all of the sp_indexoption commands.

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

[{"Business Unit":{"code":"BU005","label":"IoT"},"Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0;6.1;6.2;6.2.1;6.2.2;6.2.3;6.2.4;6.2.5;6.2.6;6.2.7;6.2.8;7.1;7.1.1;7.5;7.6;7.6.1","Edition":"All Editions"},{"Business Unit":{"code":"BU004","label":"Hybrid Cloud"},"Product":{"code":"SSWT9A","label":"Control Desk"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5;7.5.1;7.5.3;7.6;7.6.1","Edition":"All Editions"}]

Document Information

Modified date:
30 December 2019

UID

swg21268567