×

Optimization of split queries

  • US 10,437,821 B2
  • Filed: 10/26/2016
  • Issued: 10/08/2019
  • Est. Priority Date: 10/26/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method comprising:

  • determining, for a query comprising a plurality of operations, a first workload distribution between a first data store storing encrypted data and a second data store storing unencrypted data, the query including a first portion that can be performed on the encrypted data and a second portion that cannot be performed on the encrypted data, the first workload distribution being determined based at least on the second portion of the query being unable to be performed on the encrypted data in the first data store, and the first workload distribution indicating that the first portion of the query is to be performed at the first data store and the second portion of the query is to be performed at the second data store;

    determining, based at least on the first workload distribution, a second workload distribution, the determining of the second workload distribution comprising a reordering of at least a first operation and a second operation in the second portion of the query, the first operation and the second operation being reordered based at least on the first operation and the second operation being non-conflicting operations that can be at least one of commuted, distributed, and combined without affecting a respective result of the first operation and the second operation, and the reordering including pushing down, to the first portion of the query, the first operation such that the first operation is performed at the first data store instead of at the second data store; and

    executing the query, the executing comprising distributing, to the first data store and the second data store, respective portions of an execution plan corresponding to the first portion of the query and the second portion of the query, the execution plan being generated based at least on the second workload distribution.

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