×

Techniques and mechanisms for managing and analyzing database query activities

  • US 9,898,383 B2
  • Filed: 10/09/2014
  • Issued: 02/20/2018
  • Est. Priority Date: 10/09/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method of analyzing a plurality of database queries within a database environment, the method comprising:

  • determining a first statistical evaluation of a first query plan for a first database query corresponding to a first database having a first database schema with at least one computing device within the database environment;

    determining a second statistical evaluation for a second query plan for a second database query corresponding to a second database having a second database schema with at least one computing device within the database environment;

    comparing the first statistical evaluation and the second statistical evaluation to determine whether the first query plan matches the second query plan with at least one computing device within the database environment;

    storing an indication in a repository of the database environment that the first query matches the second query if the first statistical evaluation matches the second statistical evaluation;

    determining a function that provides the first query plan with at least one computing device within the database environment;

    determining if the second query plan is provided by the function that provides the first query plan with at least one computing device within the database environment;

    evaluating data objects referenced by the first query plan and the second query plan if the function provides both the first query plan and the second query plan with at least one computing device within the database environment to determine if the first query plan and the second query plan are syntactically different versions of equivalent database queries; and

    storing query statistics in the statistical repository of the database environment if the first query plan and the second query plan are syntactically different versions of equivalent database queries.

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