×

Database contention and deadlock detection and reduction within application servers

  • US 8,041,686 B2
  • Filed: 07/29/2008
  • Issued: 10/18/2011
  • Est. Priority Date: 03/31/2005
  • Status: Expired due to Fees
First Claim
Patent Images

1. A data processing system for detecting and reducing database contention caused from within an application server, the data processing system comprising:

  • a bus system;

    a memory connected to the bus system, wherein the memory includes computer usable program code; and

    a processing unit connected to the bus system, wherein the processing unit executes the computer usable program code to determine if a set of parameters in a statistical model indicates contention, wherein the statistical model includes a parameter for level and type of workload;

    responsive to determining the set of parameters in the statistical model indicates contention, reduce a number of threads in an application server pool;

    establish whether the set of parameters in the statistical model indicates contention is reduced for a specified period of continuous time;

    responsive to establishing the set of parameters in the statistical model does not indicate contention is reduced for the specified period of continuous time, return to the reducing step;

    responsive to establishing the set of parameters in the statistical model indicates contention is reduced for the specified period of continuous time, increase the number of threads in the application server pool;

    verify whether the number of threads is less than a normal number of threads;

    responsive to verifying the number of threads is not less than the normal number of threads, return to the determining step;

    responsive to verifying the number of threads is less than the normal number of threads, resolve if the set of parameters in the statistical model indicates contention;

    responsive to resolving the set of parameters in the statistical model indicates contention, return to the reducing step; and

    responsive to resolving the set of parameters in the statistical model does not indicate contention, return to the increasing step.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×