Writer instructions | |
---|---|
Page title | For most spaces, this page must be titled Space announcements. For spaces with localized content, this page must be titled Space announcements l10n. |
Purpose | Provide an announcement banner on every page of your space. |
Location | Move this page outside of your home branch. |
Guidelines |
Lock Conflicts (LockConflicts)
The LockConflicts parameter provides all lock details for the following types of row and table locks:
- TX (Transaction lock) – An exclusive data lock is acquired for an individual row on behalf of a transaction when the row is modified by one of the following statements: insert, update, delete, and select with the 'for update' clause.
- TM (DML lock) – A transaction acquires a table lock when a table is modified in the following DML statements: insert, update, delete, select with the 'for update' clause, and lock table.
- UL (PL/SQL user lock)
This parameter also detects the deadlock situation.
If lock contention has been occuring for more than 2 minutes, the LockConflicts parameter goes into alarm. The value is the number of lock conflicts observed. When the parameter goes into alarm, the annotation is the Lock Conflict report. The Lock Conflict report lists the following information for each lock conflict for all sessions, with their SID and serial number:
Field | Description |
---|---|
Wait User Name | Name of the user that is waiting for a lock |
Wait UID | ID of the user that is waiting for a lock |
Lock Type | Type of lock the object is waiting for |
Lock Object | Object that is locked |
Wait Lock Mode | Mode of waiting the object is using |
Hold User Name | Name of the user that is holding the lock |
Hold UID | ID of the user that is holding the lock |
Hold Lock Mode | Mode of the holding lock |
Blockee Text | Sql query waiting for a lock |
The lock contention time is customizable, to customize lock contention time in second use following command at system output window:
%PSL pconfig("REPLACE", "/OracleConfig.LockTime",N);
N should be greater than 0, else default value will be considered. You can set the same using PCM or wpconfig.
Also, you can set lock time at ORACLE SID level by adding following pconfig variable
%PSL pconfig("REPLACE", "/OracleConfig.<ORACLE_SID>.LockTime",m);
If both the variables are set then variable at ORACLE SID level will get preference.
In case of performance issue due to incorect hint being used for the LockConflicts query, add the following pconfig varible with the appropriate Oracle hint:
%PSL pconfig("REPLACE", "/OracleConfig.".sid.".LockConflictsHint","<oracle_hint>");
BMC PATROL properties
Attribute | Default value |
---|---|
Application class | ORACLE_AVAILABILITY |
Command type | Not applicable |
Platform | All |
Icon style | Gauge |
Unit | Number of locks |
Border range | 0-10 alarm |
Alarm1 range | Undefined |
Alarm2 range | 1-10 alarm |
Scheduling(poll time) | Poll time of collector |
Active at installation | Yes |
Parameter type | Consumer |
Value set by | CollAvailability |
BMC ProactiveNet Performance Management properties
Property | Default value |
---|---|
Monitor type | Oracle Database Availability |
Key Performance Indicator | Yes |
Monitor for abnormalities | Yes |
Graph by default | Yes |
Availability | No |
Response time | No |
Normal distribution | Yes |
Statistical | Yes |