×

Determining criticality of a SQL statement

  • US 9,703,854 B2
  • Filed: 08/06/2014
  • Issued: 07/11/2017
  • Est. Priority Date: 09/26/2013
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method, in a data processing system comprising a processor and a memory coupled to the processor, for determining criticality of a Structured Query Language (SQL) statement, comprising:

  • extracting, by an extracting apparatus in a criticality determining device executed by the processor, a plurality of elements in the SQL statement;

    calculating, by a calculating apparatus in the criticality determining device executed by the processor, a score of the SQL statement based on a correlation relation among respective elements in the plurality of elements and base scores of the respective elements, wherein calculating the score of the SQL statement based on a correlation relation among respective elements in the plurality of elements and base scores of the respective elements includes;

    determining, by the calculating apparatus in the criticality determining device executed by the processor, the score of the SQL statement as a first value in response to that the correlation relation does not exist between any two of the plurality of elements, the first value being a maximum one of the respective base scores of the plurality of elements; and

    determining, by the calculating apparatus in the criticality determining device executed by the processor, the score of the SQL statement as a second value in response to that the correlation relation exists between at least two of the plurality of elements, the second value being greater than the maximum one of the respective base scores of the plurality of elements; and

    determining, by a determining apparatus in the criticality determining device executed by the processor, the criticality of the SQL statement based on the score of the SQL statement.

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