Database performance analysis
First Claim
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.
1 Assignment
0 Petitions
Accused Products
Abstract
Stored duration information may be queried to determine duration of an action including a database operation. The querying may include specifying a subset of attributes of one or more relations. The relations may include a table with rows. The attributes may describe a subset of duration information including a start time of the operation. The querying may further include specifying conditions to be met, and retrieving, according to the conditions, the specified attributes of at least one row of the relations. The querying may include calculating a duration of the action based on the start time of the action.
5 Citations
13 Claims
-
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, and a 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 Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer system, comprising:
-
a hardware processor; application databases, each application database of the application databases to store duration information and to receive at least one query from the hardware processor, 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; and a storage device comprising instructions that when executed by the hardware processor causes the hardware processor to; calculate a duration of processing a requested order comprising actions, wherein the actions include executing applications, each application corresponding to the at least one application database, wherein to calculate a duration of each of the actions, the instructions are to cause the hardware processor to; determine a primary order identifier of the actions; derive 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; query the stored duration information, wherein to query the stored duration information, the hardware processor is to; specify a subset of attributes of relations, the relations including at least one table, each relation of the relations including a plurality of rows, the attributes describing; the primary order identifier and the secondary order identifier, and a subset of the duration information including a start time of the actions; specify conditions to be met by at least one row of the plurality of rows of the relations; retrieve, according to the conditions, the specified subset of attributes of the at least one row of the relations; determine, for each of the applications associated with the primary order identifier, which of the actions are performed during execution of each application; calculate 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; determine, for each of the applications associated with the secondary order identifier, which of the actions are performed during execution of the application; calculate a duration of application execution for each application associated with the secondary order identifier; and calculate 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 Dependent Claims (11, 12, 13)
-
Specification