×

Method for improving performance of large databases

  • US 6,035,306 A
  • Filed: 11/24/1997
  • Issued: 03/07/2000
  • Est. Priority Date: 11/24/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for analyzing disk performance in a database system of the type which includes (a) database program means for responding to external queries for data input and output from users of the database system, (b) a data storage system for storing data used by the database system, on a plurality of individual disk drives, and (c) file system means, responsive to database file I/O requests from the database program to store and retrieve database files, for sending file system I/O commands to the data storage system to store and retrieve the database files on the data storage system arranged as a plurality of logical disks, at least some of the logical disks being striped across a plurality of the individual disk drives, the method including the steps of:

  • defining a series of successive sampling periods during which sample data reflecting the performance of the database system is to be taken;

    monitoring the database program means to collect data representative of database file I/O requests that occur during each sampling period and storing the collected data as a plurality of first data samples, each first data sample including the time of the data sample, the name of the associated database file, and a plurality of parameters of different types representative of the speed of response of the file system means to the database file I/O request;

    monitoring the file system means to collect data representative of file system I/O commands that occur during each sampling period and storing the collected data as a plurality of second data samples, each second data sample including the time of the data sample, the name of the associated logical disk, and a plurality of parameters of different types representative of the speed of response of the data storage system to the file system I/O request;

    monitoring the data storage system to collect data representative of the speed of response of each individual disk drive as data is stored and retrieved during each sampling period and storing the collected data as a plurality of third data samples, each third data sample including the time of the data sample, the name of the associated disk drive, and a plurality of parameters of different types representative of the speed of response of the disk drive as data is stored on and retrieved from the disk drive;

    providing a display representative of database performance as reflected by the stored statistics, including the steps of;

    designating a display time interval;

    selecting one I/O type from among a group comprising database files, logical disks, and disk drives;

    selecting one of the types of stored parameters for the selected I/O type;

    selecting, from the stored data samples, a subset of samples for the selected I/O type that fall within the designated interval, so that the selected subset of samples will include a plurality of samples for either database files, logical disks, or disk drives, depending on the I/O type selected;

    grouping the selected data samples into a plurality of groups so that each group includes data samples having the same name;

    for each of said groups, mathematically combining the selected parameter in each of the data samples of the group to provide a single statistical parameter associated with the name of the groups data samples; and

    displaying the statistical parameters along with the associated name for each of the names present in the selected subset.

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