×

Database contention and deadlock detection and reduction within application servers

  • US 7,512,606 B2
  • Filed: 03/31/2005
  • Issued: 03/31/2009
  • Est. Priority Date: 03/31/2005
  • Status: Expired due to Fees
First Claim
Patent Images

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, 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, 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;

    responsive to establishing the set of parameters in the statistical model does not indicate contention is reduced for the specified period of continuous time, returning 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, increasing the number of threads in the application server pool;

    verifying 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, returning to the determining step;

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

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

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

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×