×

Database performance analysis

  • US 9,235,608 B2
  • Filed: 03/13/2013
  • Issued: 01/12/2016
  • Est. Priority Date: 04/04/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for calculating a duration of processing an order, wherein the order comprises actions comprising at least one database operation,wherein processing the order includes executing applications, each application of the applications having a corresponding application database of a plurality of application databases,wherein executing the applications includes performing the actions on the corresponding application database and storing duration information for the actions,wherein each application database has at least one data type and at least one key that differ from a data type and a key of any other of the application databases, the method comprising:

  • determining a primary order identifier of the actions;

    deriving a secondary order identifier by querying a mapping table using the primary order identifier, wherein at least one of the following applies;

    the primary order identifier is a key of at least one of the application databases;

    the secondary order identifier is a key of at least one of the application databases; and

    the primary order identifier is a key of only one of the application databases;

    querying the stored duration information, the querying comprising;

    specifying a subset of attributes of relations, the relations including at least one table, each of the relations including a plurality of rows, the subset of attributes describing;

    the primary order identifier and the secondary order identifier, anda subset of the stored duration information including a start time of the actions;

    specifying conditions that must be met by at least one row of the relations; and

    retrieving, according to the conditions, the specified subset of attributes of the at least one row of the relations;

    determining, for each of the applications associated with the primary order identifier, which of the actions are performed during execution of each application;

    calculating a duration of application execution for each application associated with the primary order identifier by at least one of;

    identifying an earliest action of the determined actions and a latest action of the determined actions, and subtracting an earliest timestamp of the identified earliest action from a latest timestamp of the identified latest action; and

    summing durations of the determined actions performed during execution of each application associated with the primary order identifier;

    determining, for each of the applications associated with the secondary order identifier, which of the actions are performed during execution of the application;

    calculating a duration of application execution for each application associated with the secondary order identifier; and

    calculating the duration of the order by adding, across all of the applications associated with the primary and secondary orders, the durations of the actions associated with the primary order identifier and the durations of the actions associated with the secondary order identifier.

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