×

Query routing and rewriting

  • US 10,579,618 B1
  • Filed: 03/28/2016
  • Issued: 03/03/2020
  • Est. Priority Date: 12/15/2015
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • a first logical database comprising a first logical table;

    a second database comprising a second logical table; and

    a computing node, that includes at least one processor and at least one memory, that at least;

    receives, from a client device, one or more requests collectively indicative of connecting the client device to the first logical database and processing a first query on the first logical table;

    causes a connection to be made to the second database in place of a connection to the first logical database, in response to a determination to connect to the second database that is based at least in part on a first result of a first function, the first function comprising instructions for analyzing the first query;

    obtains a second query by applying a second function to the first query, wherein the second function comprises instructions for rewriting the first query, wherein rewriting the first query comprises adapting to a difference between the first and second logical tables;

    sends a request to process the second query to the second database; and

    sends results of processing the second query to the client device.

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