×

INDEX TABLE BASED ROUTING FOR QUERY RESOURCE OPTIMIZATION

  • US 20170124148A1
  • Filed: 10/29/2015
  • Published: 05/04/2017
  • Est. Priority Date: 10/29/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for optimizing resources of distributed database replicas, the method comprising:

  • receiving, by one or more processors, resource information associated with a plurality of database replicas hosted on a plurality of servers, the resource information including identification of indexes of database tables and a state of each index of the indexes of the database tables for each database replica of the plurality of database replicas;

    determining, by one or more processors, whether at least one instance of the indexes of the database tables reside in memory of the plurality of servers, based on the state of each index of the indexes of the database tables, wherein the state of an index indicates whether the index resides in memory;

    responsive to determining at least one instance of the indexes of the database tables resides in memory, determining, by one or more processors, whether the at least one instance of the indexes of the database tables that reside in memory are redundant among the plurality of database replicas; and

    in response to receiving a query that is directed to at least one database replica of the plurality of database replicas, determining, by one or more processors, whether the query is directed to data for which an index resides in memory, and if so, routing the query to the at least one database replica of the plurality of database replicas, on which the index resides in memory.

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