Lock Governor (-LGovernor)
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Lock Governor (-LGovernor)
Use Lock Governor (-LGovernor) to specify
the percentage of the lock table that a tenant can occupy in a multi-tenant database.
| Operating system and syntax | UNIX / Windows |
-LGovernor
n
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Database Server | 100 | 1 | — | 100 |
- n
-
The percent of the lock table one tenant can occupy.
Note: Lock governor applies to the default tenant and a regular tenant. This
governor does not apply to super-tenants and non multi-tenant databases.
Lock governor prevents a tenant from acquiring all the locks in a table. When a tenant attempts to acquire more locks than the governor allows, an error message is displayed and recorded in the database log as:
|
You can set or modify the -LGovernor value
using the PROMON utility. To set the -L value, see Lock Table Entries (-L); you can also modify the -L at runtime with PROUTIL INCREASETO. For more information about the PROMON and PROUTIL utilities, see Manage the OpenEdge Database.