US 10769148
Relocating data sharing operations for query processing
Granted 2020-09-08 · Filed 2017-09-25 · Application 15/714,834 · Utility · Kind B1
- Assignee as printed
- Amazon Technologies, Inc., Seattle, WA (US)
- Inventors
- Nathan A. Binkert, Redwood City, CA (US); Mengchu Cai, San Jose, CA (US); Martin Grund, Lafayette, CA (US); Maor Kleider, San Mateo, CA (US); Michail Petropoulos, San Francisco, CA (US); Ippokratis Pandis, Menlo Park, CA (US)
- CPC, current
- G06F16/24542; G06F16/2455
Abstract
Relocating data sharing operations for query processing may be implemented when generating plans to perform a query. A query operation that causes a node to share data obtained from a different set of nodes with other nodes in a same set of nodes may be identified. The identified query operation may be replaced with another operation that causes the different set of nodes to share the data directly with the other nodes in the same set of nodes.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A system, comprising:
- Claim 1, element e1a memory to store program instructions which, if performed by at least one processor, cause the at least one processor to perform a method to at least: 25–175
- Claim 1, element e2receive a query directed to a data set; 177–215
- Claim 1, element e3generate a plan to perform processing of the query at a first set of processing nodes and a second set of processing nodes, 217–339
- Claim 1, element e4wherein the plan includes a first operation that instructs one processing node of the first set of processing nodes to send data to another processing node of the first set after the data is received from one or more processing nodes of the second set; 341–592
- Claim 1, element e5modify the plan to replace the first operation with a second operation that instructs the one or more processing nodes of the second set to send the data to the other processing node of the first set after the data is obtained from the data set; and 594–838
- Claim 1, element e6perform the modified plan to process the query.844–890
3 dependent claims: 2 to 4 (2, 3, 4 on claim 1)
Claim 2
Depends on claim 1.
2. The system of claim 1 , wherein
- Claim 2, element e1to perform the modified plan, the method causes the at least one processor to: 35–112
- Claim 2, element e2send, from the one processing node of the first set, a request to perform the second operation to the one or more processing nodes of the second set; 114–262
- Claim 2, element e3send, from the one processing node of the first set, a confirmation request to the other processing node of the first set; and 264–385
- Claim 2, element e4determine, by the one processing node of the first set, that the data was received at the other processing node based, at least in part, on a response to the confirmation request.391–569
Claim 3
Depends on claim 1.
3. The system of claim 1 , wherein
- Claim 3, element e1to perform the modified plan, the method causes the at least one processor to: 35–112
- Claim 3, element e2receive, at the one or more processing nodes of the second set, a request to perform the second operation; 114–219
- Claim 3, element e3access a data store to obtain the data; 221–259
- Claim 3, element e4identify the other processing node of the first set to receive at least a portion of the data; and 261–354
- Claim 3, element e5send the portion of the data to the other processing node of the first set.360–434
Claim 4
Depends on claim 1.
4. The system of claim 1 , wherein
- Claim 4, element e1the first set of processing nodes is implemented as part of a processing cluster of a data warehouse service of a provider network, 35–165
- Claim 4, element e2wherein the second set of processing nodes is implemented as part of a format independent data processing service of the provider network, and wherein the data of the data set is obtained from a data storage service implemented as part of the provider network.167–426
Claim 5
Independent claim.
5. A method, comprising:
- Claim 5, element e1performing, by one or more computing devices: 25–69
- Claim 5, element e2identifying a first query operation that causes a first processing node in a first plurality of processing nodes to receive data from at least one processing node of a second plurality of processing nodes and to cause the data to be shared with at least one other processing node in the first plurality of processing nodes; and 71–393
- Claim 5, element e3replacing the first query operation with a second query operation, 399–464
- Claim 5, element e4wherein the second query operation causes the data to be sent from the at least one processing node of the second plurality of processing nodes to the first processing node and the at least one other processing node in the first plurality of processing nodes substantially concurrently.466–751
8 dependent claims: 6 to 13 (6, 9, 11, 12, 13 on claim 5; 7, 8 on 6; 10 on 9)
Claim 6
Depends on claim 5.
6. The method of claim 5 , further comprising:
- Claim 6, element e1receiving a query directed to a data set that includes the data; 47–110
- Claim 6, element e2in response to receiving the query: 112–146
- Claim 6, element e3generating a plan to perform the query including a plurality of query operations and the first query operation; 148–258
- Claim 6, element e4performing the identifying and the replacing; 260–304
- Claim 6, element e5wherein replacing the first query operation with the second query operation modifies the plan to replace the first query operation; and 306–436
- Claim 6, element e6causing the first plurality of processing nodes and the second plurality of processing nodes to perform the modified plan.442–563
Claim 7
Depends on claim 6.
7. The method of claim 6 , wherein
- Claim 7, element e1the query operations of the plan include a join operation to join the data with other data obtained by the second plurality of processing nodes.35–178
Claim 8
Depends on claim 6.
8. The method of claim 6 , wherein
- Claim 8, element e1the plan is further modified to include an operation to perform at least part of an aggregation to obtain the data at the one or more processing nodes of the second plurality of processing nodes.35–229
Claim 9
Depends on claim 5.
9. The method of claim 5 , further comprising:
- Claim 9, element e1receiving, at the at least one processing node of the second plurality of processing nodes, a request to perform the second query operation and at least one other query operation from the first processing node; 47–256
- Claim 9, element e2accessing, by the at least one processing node of the second plurality of processing nodes, a data store to perform the at least one other query operation to obtain the data; 258–431
- Claim 9, element e3identifying, by the at least one processing node of the second plurality of processing nodes, the first processing node and the at least one other processing node to receive at least a portion of the data; and 433–637
- Claim 9, element e4sending, by the at least one processing node of the second plurality of processing nodes, the portion of the data to the first processing node and the at least one other processing node of the first plurality of processing nodes.643–871
Claim 10
Depends on claim 9.
10. The method of claim 9 , wherein
- Claim 10, element e1identifying the first processing node and the at least one other processing node to receive at least a portion of the data comprises applying a hash-based distribution scheme to at least a portion of the data.36–244
Claim 11
Depends on claim 5.
11. The method of claim 5 , further comprising:
- Claim 11, element e1sending, from the first processing node of the first plurality of processing nodes, a request to perform the second query operation to the one or more processing nodes of the second plurality of processing nodes; 48–259
- Claim 11, element e2sending, from the first processing node of the first plurality of processing nodes, a confirmation request to the at least one other processing node of the first plurality of processing nodes; and 261–452
- Claim 11, element e3determining, by the first processing node of the first plurality of processing nodes, that the data was received at the at least one other processing node based, at least in part, on a response to the confirmation request.458–679
Claim 12
Depends on claim 5.
12. The method of claim 5 , further comprising:
- Claim 12, element e1sending, from the first processing node of the first plurality of processing nodes, a request to perform the second query operation to the one or more processing nodes of the second plurality of processing nodes; 48–259
- Claim 12, element e2sending, from the first processing node of the first plurality of processing nodes, a confirmation request to the at least one other processing node of the first plurality of processing nodes; 261–452
- Claim 12, element e3determining, by the first processing node of the first plurality of processing nodes, that the data was not received at the at least one other processing node based, at least in part, on a response to the confirmation request; and 454–679
- Claim 12, element e4in response to the determination that the data was not received at the at least one other processing node, retrying the request to perform the second query operation to the at least one processing node of the second plurality of processing nodes.685–930
Claim 13
Depends on claim 5.
13. The method of claim 5 , wherein
- Claim 13, element e1the identifying and the replacing are performed by a query planner.36–102
Claim 14
Independent claim.
14. A non-transitory, computer-readable storage medium, storing program instructions that when executed by one or more computing devices cause the one or more computing devices to implement: identifying a first query operation of a query that causes a first processing node in a first plurality of processing nodes to receive data from at least one processing node of a second plurality of processing nodes and to cause the data to be shared with at least one other processing node in the first plurality of processing nodes as part of a plan to perform the query; replacing the first query operation with a second query operation to modify the plan, wherein
- Claim 14, element e1the second query operation causes the data to be sent from the at least one processing node of the second plurality of processing nodes to the first processing node and the at least one other nodes processing node in the first plurality of processing nodes substantially concurrently; and 659–942
- Claim 14, element e2causing the first plurality of nodes and the second plurality of nodes to perform the query according to the modified plan.948–1070
6 dependent claims: 15 to 20 (15, 18, 20 on claim 14; 16, 17 on 15; 19 on 18)
Claim 15
Depends on claim 14.
15. The non-transitory, computer-readable storage medium of claim 14 , wherein
- Claim 15, element e1the program instructions cause the one or more computing devices to further implement: 79–164
- Claim 15, element e2receiving a query directed to a data set that includes the data; 166–229
- Claim 15, element e3in response to receiving the query: 231–265
- Claim 15, element e4generating the plan to perform the query including a plurality of query operations and the first query operation; and 267–379
- Claim 15, element e5performing the identifying, the replacing, and the causing.385–443
Claim 16
Depends on claim 15.
16. The non-transitory, computer-readable storage medium of claim 15 , wherein
- Claim 16, element e1the query operations of the plan include a join operation to join the data with other data obtained by the first plurality of processing nodes.79–221
Claim 17
Depends on claim 15.
17. The non-transitory, computer-readable storage medium of claim 15 , wherein
- Claim 17, element e1the plan is further modified to include an operation to perform at least part of a sort of the data at the at least one processing node of the second plurality of processing nodes.79–258
Claim 18
Depends on claim 14.
18. The non-transitory, computer-readable storage medium of claim 14 , wherein,
- Claim 18, element e1in causing the first plurality of processing nodes and the second plurality of processing nodes to perform the query according to the modified plan, the program instructions cause the one or more computing devices to implement: 80–306
- Claim 18, element e2receiving, at the at least one processing node of the second plurality of processing nodes, a request to perform the second query operation and at least one other query operation from the first processing node; 308–517
- Claim 18, element e3accessing, by the at least one processing node of the second plurality of processing nodes, a data store to perform the at least one other query operation to obtain the data; 519–692
- Claim 18, element e4identifying, by the at least one processing node of the second plurality of processing nodes, the first processing node and the at least one other processing node to receive at least a portion of the data; and 694–898
- Claim 18, element e5sending, by the at least one processing node of the second plurality of processing nodes, the portion of the data to the first processing node and the at least one other processing node of the first plurality of processing nodes.904–1132
Claim 19
Depends on claim 18.
19. The non-transitory, computer-readable storage medium of claim 18 , wherein
- Claim 19, element e1identifying the first processing node and the at least one other processing node to receive at least a portion of the data comprises applying a range-based distribution scheme to at least a portion of the data.79–288
Claim 20
Depends on claim 14.
20. The non-transitory, computer-readable storage medium of claim 14 , wherein
- Claim 20, element e1the first plurality of processing nodes is implemented as part of a processing cluster of a data warehouse service of a provider network, 79–215
- Claim 20, element e2wherein the second plurality of processing nodes is implemented as part of a format independent data processing service of the provider network or another provider network.217–388
1. A system, comprising: a memory to store program instructions which, if performed by at least one processor, cause the at least one processor to perform a method to at least: receive a query directed to a data set; generate a plan to perform processing of the query at a first set of processing nodes and a second set of processing nodes, wherein the plan includes a first operation that instructs one processing node of the first set of processing nodes to send data to another processing node of the first set after the data is received from one or more processing nodes of the second set; modify the plan to replace the first operation with a second operation that instructs the one or more processing nodes of the second set to send the data to the other processing node of the first set after the data is obtained from the data set; and perform the modified plan to process the query.
2. The system of claim 1 , wherein to perform the modified plan, the method causes the at least one processor to: send, from the one processing node of the first set, a request to perform the second operation to the one or more processing nodes of the second set; send, from the one processing node of the first set, a confirmation request to the other processing node of the first set; and determine, by the one processing node of the first set, that the data was received at the other processing node based, at least in part, on a response to the confirmation request.
3. The system of claim 1 , wherein to perform the modified plan, the method causes the at least one processor to: receive, at the one or more processing nodes of the second set, a request to perform the second operation; access a data store to obtain the data; identify the other processing node of the first set to receive at least a portion of the data; and send the portion of the data to the other processing node of the first set.
4. The system of claim 1 , wherein the first set of processing nodes is implemented as part of a processing cluster of a data warehouse service of a provider network, wherein the second set of processing nodes is implemented as part of a format independent data processing service of the provider network, and wherein the data of the data set is obtained from a data storage service implemented as part of the provider network.
5. A method, comprising: performing, by one or more computing devices: identifying a first query operation that causes a first processing node in a first plurality of processing nodes to receive data from at least one processing node of a second plurality of processing nodes and to cause the data to be shared with at least one other processing node in the first plurality of processing nodes; and replacing the first query operation with a second query operation, wherein the second query operation causes the data to be sent from the at least one processing node of the second plurality of processing nodes to the first processing node and the at least one other processing node in the first plurality of processing nodes substantially concurrently.
6. The method of claim 5 , further comprising: receiving a query directed to a data set that includes the data; in response to receiving the query: generating a plan to perform the query including a plurality of query operations and the first query operation; performing the identifying and the replacing; wherein replacing the first query operation with the second query operation modifies the plan to replace the first query operation; and causing the first plurality of processing nodes and the second plurality of processing nodes to perform the modified plan.
7. The method of claim 6 , wherein the query operations of the plan include a join operation to join the data with other data obtained by the second plurality of processing nodes.
8. The method of claim 6 , wherein the plan is further modified to include an operation to perform at least part of an aggregation to obtain the data at the one or more processing nodes of the second plurality of processing nodes.
9. The method of claim 5 , further comprising: receiving, at the at least one processing node of the second plurality of processing nodes, a request to perform the second query operation and at least one other query operation from the first processing node; accessing, by the at least one processing node of the second plurality of processing nodes, a data store to perform the at least one other query operation to obtain the data; identifying, by the at least one processing node of the second plurality of processing nodes, the first processing node and the at least one other processing node to receive at least a portion of the data; and sending, by the at least one processing node of the second plurality of processing nodes, the portion of the data to the first processing node and the at least one other processing node of the first plurality of processing nodes.
10. The method of claim 9 , wherein identifying the first processing node and the at least one other processing node to receive at least a portion of the data comprises applying a hash-based distribution scheme to at least a portion of the data.
11. The method of claim 5 , further comprising: sending, from the first processing node of the first plurality of processing nodes, a request to perform the second query operation to the one or more processing nodes of the second plurality of processing nodes; sending, from the first processing node of the first plurality of processing nodes, a confirmation request to the at least one other processing node of the first plurality of processing nodes; and determining, by the first processing node of the first plurality of processing nodes, that the data was received at the at least one other processing node based, at least in part, on a response to the confirmation request.
12. The method of claim 5 , further comprising: sending, from the first processing node of the first plurality of processing nodes, a request to perform the second query operation to the one or more processing nodes of the second plurality of processing nodes; sending, from the first processing node of the first plurality of processing nodes, a confirmation request to the at least one other processing node of the first plurality of processing nodes; determining, by the first processing node of the first plurality of processing nodes, that the data was not received at the at least one other processing node based, at least in part, on a response to the confirmation request; and in response to the determination that the data was not received at the at least one other processing node, retrying the request to perform the second query operation to the at least one processing node of the second plurality of processing nodes.
13. The method of claim 5 , wherein the identifying and the replacing are performed by a query planner.
14. A non-transitory, computer-readable storage medium, storing program instructions that when executed by one or more computing devices cause the one or more computing devices to implement: identifying a first query operation of a query that causes a first processing node in a first plurality of processing nodes to receive data from at least one processing node of a second plurality of processing nodes and to cause the data to be shared with at least one other processing node in the first plurality of processing nodes as part of a plan to perform the query; replacing the first query operation with a second query operation to modify the plan, wherein the second query operation causes the data to be sent from the at least one processing node of the second plurality of processing nodes to the first processing node and the at least one other nodes processing node in the first plurality of processing nodes substantially concurrently; and causing the first plurality of nodes and the second plurality of nodes to perform the query according to the modified plan.
15. The non-transitory, computer-readable storage medium of claim 14 , wherein the program instructions cause the one or more computing devices to further implement: receiving a query directed to a data set that includes the data; in response to receiving the query: generating the plan to perform the query including a plurality of query operations and the first query operation; and performing the identifying, the replacing, and the causing.
16. The non-transitory, computer-readable storage medium of claim 15 , wherein the query operations of the plan include a join operation to join the data with other data obtained by the first plurality of processing nodes.
17. The non-transitory, computer-readable storage medium of claim 15 , wherein the plan is further modified to include an operation to perform at least part of a sort of the data at the at least one processing node of the second plurality of processing nodes.
18. The non-transitory, computer-readable storage medium of claim 14 , wherein, in causing the first plurality of processing nodes and the second plurality of processing nodes to perform the query according to the modified plan, the program instructions cause the one or more computing devices to implement: receiving, at the at least one processing node of the second plurality of processing nodes, a request to perform the second query operation and at least one other query operation from the first processing node; accessing, by the at least one processing node of the second plurality of processing nodes, a data store to perform the at least one other query operation to obtain the data; identifying, by the at least one processing node of the second plurality of processing nodes, the first processing node and the at least one other processing node to receive at least a portion of the data; and sending, by the at least one processing node of the second plurality of processing nodes, the portion of the data to the first processing node and the at least one other processing node of the first plurality of processing nodes.
19. The non-transitory, computer-readable storage medium of claim 18 , wherein identifying the first processing node and the at least one other processing node to receive at least a portion of the data comprises applying a range-based distribution scheme to at least a portion of the data.
20. The non-transitory, computer-readable storage medium of claim 14 , wherein the first plurality of processing nodes is implemented as part of a processing cluster of a data warehouse service of a provider network, wherein the second plurality of processing nodes is implemented as part of a format independent data processing service of the provider network or another provider network.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 10769148 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2038-09-29 (20 years from filing, plus 369 days of patent term adjustment), a date not yet passed (data version 20261117.2).
- Basis
- term_20y · pta_days:369 (20 years from filing, plus 369 days of patent term adjustment)
- Term end
- 2038-09-29 Computed from the dates in the USPTO record
- Fee lapse
- none on record
- Reinstatement
- none on record; reinstatement_possible: false, not lapsed
- As of
- 2026-11-17
- Data version
- 20261117.2
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 5 US patent documents · Cited by: 60 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10769148/ (needs a free key, as the links under Get this as data)
Family outside the US
Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "10769148",
"status": "active",
"basis": [
"term_20y",
"pta_days:369"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2038-09-29",
"lapse_date": null,
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/10769148?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/10769148?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/10769148/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=10769148",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/10769148/ - Status record
/api/v1/lapse/status/10769148/ - Claim tree
/api/v1/structure/claims/10769148/ - Brief
/api/v1/structure/brief/10769148/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.