×

Automatic data store architecture detection

  • US 9,607,022 B2
  • Filed: 12/14/2009
  • Issued: 03/28/2017
  • Est. Priority Date: 12/15/2008
  • Status: Active Grant
First Claim
Patent Images

1. A complementary system comprising:

  • a processing device comprising hardware;

    a non-transitory computer-readable medium encoded with;

    a data store analyzer module comprising;

    an architecture analysis composer and analyzer component, which when executed by the processing device, causes the system to execute an analysis of an architecture of a data store prior to having received any user queries, wherein the analysis of the architecture of the data store identifies data store table names, identifies different columns in different tables of the data store that have duplicated data, and determines column sizes;

    a data store statistics composer component, which when executed by the processing device, causes the system to collect and compile statistics from the data store; and

    a data store architecture composer component, which when executed by the processing device, causes the system to compose an initial approximation of the architecture of the data store based on the analysis of the architecture of the data store prior to having received any user queries and independent of any output from a queries analyzer module;

    the queries analyzer module, which comprises;

    a queries analyzer component, which when executed by the processing device, causes the system to perform a syntactic analysis of a user query when a query is available;

    a queries statistics composer component, which when executed by the processing device, causes the system to compile statistics on query content and query environment properties;

    a queries architecture composer component, which when executed by the processing device, causes the system to compose an updated approximation of the data store architecture, including at least an update of the initial approximation of the architecture of the data store, the initial approximation of the architecture of the data store based on the analysis of the architecture of the data store prior to having received any user queries and independent of any output from the queries analyzer module;

    a query repository comprising content, the query repository coupled to the queries analyzer component which is configured to use the query repository content to execute an immediate analysis of the impact of data store architecture changes as the data store changes are recognized by the system;

    wherein the queries analyzer module components are configured to enable the queries analyzer module to collect, to analyze and to generate statistics related to the user queries and to integrate the statistics related to the user queries with the approximation received from the data store analyzer, that are based on the analysis of the architecture of the data store executed prior to having received any user queries, to compose a more precise approximation of the architecture of the data store;

    wherein the complementary system is configured to dynamically detect when tables are inserted, modified, or removed from the data store by automatically carrying out continuous data store architecture analysis and comparing successive approximations of the architecture of the data store, and in response to detecting that a table has been inserted, modified, or removed from the data store, the query repository receives a report of changes to components of the data store from the data architecture composer component and selects one or more query templates that do not contain the changed components of the data store and transfers the selected one or more query templates to the query analyzer component;

    wherein the complementary system comprises interfaces enabling the complementary system to interface with an existing data store system using existing interfaces or the complementary system is integrated with a data store system.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×