IP Library Granted Patent US 6,910,036
Granted Patent B1
US 6,910,036 · App. 10/051,903 · Granted Jun 21, 2005

Database performance monitoring method and tool

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 6,910,036
App. No.
10/051,903
Granted
Jun 21, 2005
Kind
B1
Abstract

The present invention provides a method and system for monitoring the process performance of a database that accepts and records SQL statements and that records the status of a session of use of the database. The invention obtains the SQL address and hash value for each SQL statement, the current session status corresponding to each SQL statement and the previous session status corresponding to each SQL statement. The invention also records a time stamp at the time the session status information is obtained. The information gathering steps are repeated at a predetermined interval of time. Using the information gathered, the run time for each SQL statement is calculated. The run time for each SQL statement may then be reviewed to determine which SQL statements experience the greatest run time, which allows DBAs to locate the source of any performance problems.

Claims (35)

1. A computer-readable medium having computer-executable instructions for performing a method for monitoring the process performance of a database, the database accepting and recording SQL statements and recording the status of a session of use of the database, comprising:

obtaining the SQL address and hash value for each SQL statement;

obtaining the current session status corresponding to each SQL statement;

recording a time stamp at the time the session status is obtained;

repeating the obtaining steps and the time stamp recording step at a plurality of time intervals; and

calculating the run time for each SQL statement based upon the obtained SQL address and hash value, the time stamp and upon the current session status,

whereby the run time for each SQL statement is reviewable to determine which SQL statements experience the greatest run time.

2. A computer system having a processor, a memory, and an operating environment, the computer system operable to execute a method for monitoring the process performance of a database, the database accepting and recording SQL statements and recording the status of a session of use of the database, comprising:

obtaining the SQL address and hash value for each SQL statement;

obtaining the current session status corresponding to each SQL statement;

recording a time stamp at the time the session status is obtained;

repeating the obtaining steps and the time stamp recording step at a plurality of time intervals; and

calculating the run time for each SQL statement based upon the obtained SQL address and hash value, the time stamp and upon the current session status,

whereby the run time for each SQL statement is reviewable to determine which SQL statements experience the greatest run time.

3. A method for use in a computer system for monitoring the process performance of a database, the database accepting and recording SQL statements and recording the status of a session of use of the database, the method comprising:

obtaining a SQL address and hash value for each SQL statement;

obtaining a current session status corresponding to each SQL statement;

recording a time stamp at the time the current session status is obtained;

repeating the obtaining steps and the time stamp recording step at a plurality of time intervals; and

calculating a run time for each SQL statement based upon the obtained SQL address and hash value, the time stamp and the current session status,

whereby the run time for each SQL statement is reviewable to determine which SQL statements experience the greatest run time.

4. The method of claim 3 , wherein the calculating step further comprises:

determining whether each SQL statement is new to the database session, and if so, determining whether the current session status is active and applying an addition to the run time for the SQL statement if the current session status is active.

5. The method of claim 4 , where the addition to the run time is a portion of the time interval.

6. The method of claim 5 , where the portion is one-quarter of the time interval.

7. The method of claim 3 , wherein the calculating step further comprises:

obtaining the previous session status corresponding to each SQL statement;

determining whether each SQL statement is new to the database session, and if not, determining the previous session status for the SQL statement and the current session status for the SQL statement; and

applying a first addition to the run time for the SQL statement if the previous session status is active.

8. The method of claim 7 , further comprising applying a second addition to the run time for the SQL statement if the previous session status is inactive and the current session status is active.

9. The method of claim 8 , where the second addition to the run time if the previous session status is inactive and the current session status is active is a portion of the time interval.

10. The method of claim 7 , where the first addition to the run time if the previous session status and the current session status is active is the full amount of the time interval.

11. The method of claim 7 , where the first addition to the run time if the previous session status is active and the current session status is inactive is a portion of the time interval.

12. The method of claim 3 , further comprising generating a report containing a listing of each SQL statement and the run time corresponding to each SQL statement.

13. The method of claim 12 , where the report contains the SQL address and hash value.

Assignments (5)
RELEASE OF SECURITY INTEREST Recorded Aug 23, 2022
From: DEUTSCHE BANK TRUST COMPANY AMERICAS
To: IBSV LLC; LAYER3 TV, LLC; PUSHSPRING, LLC; T-MOBILE CENTRAL LLC; T-MOBILE USA, INC.; ASSURANCE WIRELESS USA, L.P.; BOOST WORLDWIDE, LLC; CLEARWIRE COMMUNICATIONS LLC; CLEARWIRE IP HOLDINGS LLC; SPRINTCOM LLC; SPRINT COMMUNICATIONS COMPANY L.P.; SPRINT INTERNATIONAL INCORPORATED; SPRINT SPECTRUM LLC
Reel/Frame 062595/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 4, 2021
From: SPRINT COMMUNICATIONS COMPANY L.P.
To: T-MOBILE INNOVATIONS LLC
Reel/Frame 055604/0001 →
TERMINATION AND RELEASE OF FIRST PRIORITY AND JUNIOR PRIORITY SECURITY INTEREST IN PATENT RIGHTS Recorded Apr 2, 2020
From: DEUTSCHE BANK TRUST COMPANY AMERICAS
To: SPRINT COMMUNICATIONS COMPANY L.P.
Reel/Frame 052969/0475 →
SECURITY AGREEMENT Recorded Apr 2, 2020
From: T-MOBILE USA, INC.; ISBV LLC; T-MOBILE CENTRAL LLC; LAYER3 TV, INC.; PUSHSPRING, INC.; BOOST WORLDWIDE, LLC; CLEARWIRE COMMUNICATIONS LLC; CLEARWIRE IP HOLDINGS LLC; CLEARWIRE LEGACY LLC; SPRINT COMMUNICATIONS COMPANY L.P.; SPRINT INTERNATIONAL INCORPORATED; SPRINT SPECTRUM L.P.; ASSURANCE WIRELESS USA, L.P.
To: DEUTSCHE BANK TRUST COMPANY AMERICAS
Reel/Frame 053182/0001 →
GRANT OF FIRST PRIORITY AND JUNIOR PRIORITY SECURITY INTEREST IN PATENT RIGHTS Recorded Mar 6, 2017
From: SPRINT COMMUNICATIONS COMPANY L.P.
To: DEUTSCHE BANK TRUST COMPANY AMERICAS
Reel/Frame 041895/0210 →