Skip to main content


Set the SQL lock timeout.


[SQL]    LockTimeout=n

n is an integer in the range 0—32,767. The default value is 10.


LockTimeout is the lock timeout (in seconds) for InterSystems IRIS® data platform locks made during execution of SQL statements. The maximum value is 32,767 seconds, or 9 hours.

For further details, refer to the SET OPTION command.

Changing This Parameter

On the SQL page of the Management Portal (System Administration > Configuration > SQL and Object Settings > SQL), for the Lock Timeout (seconds) setting, enter a number.

To set the desired value for LockTimeout from the InterSystems Terminal, use the SetOption(“LockTimeout”)Opens in a new tab method of the %SYSTEM.SQL.UtilOpens in a new tab class. See the class reference for details.

You can also change LockTimeout with the Config.SQLOpens in a new tab class (as described in the class reference) or by editing the CPF in a text editor (as described in Editing the Active CPF).

FeedbackOpens in a new tab