US20080098003A1

Database workload replay remapping infrastructure

Claim Score by NHIP

Read claim 7, the broadest

Abstract

A method and apparatus for capturing database system workload and replaying that workload in a database system is provided. According to one aspect, in order to subject a test database system to the same workload to which the production database system actually would be subjected, a database server in the production system captures and records workload that the database server receives from external entities. This captured workload is processed. Processes external to a database server in the test database system send the processed workload to that database server. As a result, the test database system is subjected to the same workload to which the production database system originally was subjected. The foregoing technique permits a database administrator to determine how the production database system will fare if the difference that is present in the test database system is introduced into the production database system.

US20080098003A1, drawing sheet 1
Sheet 1 of 3

Term

Projected expiry 3 May 2027.

  1. Priority
  2. Filed
  3. Published
  4. Today
  5. Projected expiry

26 claims: 3 independent, 23 dependent

  1. 1
    A computer-implemented method comprising:determining whether a stored command, which was previously processed relative to a first database, involves a variable that was bound to a first value that belongs to a particular category of values;and in response to determining that the stored command involves the variable that was bound to the first value that belongs to the particular category, generating a modified version of the stored command in which the variable has been replaced by a second value that differs from the first value;and processing the modified version of the stored command relative to a second database that is separate from the first database.
  2. 7
    Broadest claimClaim Score 77, broad(NHIP)A computer-implemented method comprising:processing a command relative to a first database;determining whether the command includes a function that returns a first value that belongs to a particular category of values;in response to determining that the command includes a function that returns the first value that belongs to the particular category of values, storing (a) the command and (b) the first value;wherein the first value is used for the result of the function when the command is processed relative to a second database that is separate from the first database.
  3. 12
    A computer-implemented method comprising:determining whether a set of user-specified mappings includes a first value that was bound to a variable within a stored command, wherein the stored command was previously processed relative to a first database server;and in response to determining that the set of user-specified mappings includes the first value, generating a modified version of the stored command in which the variable has been replaced by a second value that is mapped to the first value in the set of user-specified mappings;and processing the modified version of the stored command relative to a second database server that is separate from the first database server.