Database contention and deadlock detection and reduction within application servers
First Claim
1. A method in a data processing system for detecting and reducing database contention caused from within an application server, the method comprising:
- determining if a set of parameters in a statistical model indicates contention;
responsive to determining the set of parameters in the statistical model indicates contention, reducing a number of threads in an application server pool;
establishing whether the set of parameters in the statistical model indicates contention is reduced for a specified period of continuous time; and
responsive to establishing the set of parameters in the statistical model does not indicate contention is reduced for a specified period of continuous time, returning to the reducing step.
1 Assignment
0 Petitions
Accused Products
Abstract
A method in a data processing system for detecting and reducing database contention and deadlock caused from within an application server. A determination is made as to whether a set of parameters in a statistical model indicates contention. If the set of parameters in the statistical model indicates contention, an application server administrator is notified of the contention and the number of threads in an application server pool is reduced. If the set of parameters in the statistical model indicates contention is reduced, the number of threads in the application server pool is increased.
12 Citations
20 Claims
-
1. A method in a data processing system for detecting and reducing database contention caused from within an application server, the method comprising:
-
determining if a set of parameters in a statistical model indicates contention;
responsive to determining the set of parameters in the statistical model indicates contention, reducing a number of threads in an application server pool;
establishing whether the set of parameters in the statistical model indicates contention is reduced for a specified period of continuous time; and
responsive to establishing the set of parameters in the statistical model does not indicate contention is reduced for a specified period of continuous time, returning to the reducing step. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A data processing system for detecting and reducing database contention caused from within an application server, the data processing system comprising:
-
determining means for determining if a set of parameters in a statistical model indicates contention;
responsive to determining a set of parameters in a statistical model indicates contention, reducing means for reducing a number of threads in an application server pool;
establishing means for establishing whether the set of parameters in the statistical model indicates contention is reduced for a specified period of continuous time; and
responsive to establishing the set of parameters in the statistical model does not indicate contention is reduced for a specified period of continuous time, returning means for returning to the reducing step. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. A computer program product on a computer-readable medium for use in a data processing system for detecting and reducing database contention caused from within an application server, the computer program product comprising:
-
first instructions for determining if a set of parameters in a statistical model indicates contention;
responsive to determining a set of parameters in a statistical model indicates contention, second instructions for reducing a number of threads in an application server pool;
third instructions for establishing whether the set of parameters in the statistical model indicates contention is reduced for a specified period of continuous time; and
responsive to establishing the set of parameters in the statistical model does not indicate contention is reduced for a specified period of continuous time, fourth instructions for returning to the reducing step.
-
Specification