Page feed for efficient dataflow between distributed query engines
First Claim
Patent Images
1. A method comprising:
- storing a query result relation resulting from a producer query as a local cached page in a query processor buffer pool of a first query processor, wherein the query result relation comprises a plurality of tuples returned by the producer query, wherein the plurality of tuples comprise data values from a first column of a first database table, wherein the query processor buffer pool is to store a plurality of local cached pages, wherein each of the plurality of local cached pages is a fixed-length binary page identified by a local tag;
sending, using a binary protocol, the local cached page to a distributed caching platform (DCP) to be shared as an external cached page, wherein the external cached page is visible as a data source of another query, wherein the DCP is distributed over multiple nodes, wherein the external cached page is identified by an external key that includes different data from the local tag;
reading, using the binary protocol, the external cached page by a second query processor based on the external key; and
converting the external cached page to the plurality of tuples for use by a consumer query.
8 Assignments
0 Petitions
Accused Products
Abstract
Page feed for efficient dataflow between distributed query engines is disclosed. An example method comprises storing a query result relation by a producer query as pages in a query engine buffer pool, and then sending these pages to a distributed caching platform (DCP) as the data source of another query. The example method also includes reading the result relation by a consumer query from the page stored in the DCP.
22 Citations
20 Claims
-
1. A method comprising:
-
storing a query result relation resulting from a producer query as a local cached page in a query processor buffer pool of a first query processor, wherein the query result relation comprises a plurality of tuples returned by the producer query, wherein the plurality of tuples comprise data values from a first column of a first database table, wherein the query processor buffer pool is to store a plurality of local cached pages, wherein each of the plurality of local cached pages is a fixed-length binary page identified by a local tag; sending, using a binary protocol, the local cached page to a distributed caching platform (DCP) to be shared as an external cached page, wherein the external cached page is visible as a data source of another query, wherein the DCP is distributed over multiple nodes, wherein the external cached page is identified by an external key that includes different data from the local tag; reading, using the binary protocol, the external cached page by a second query processor based on the external key; and converting the external cached page to the plurality of tuples for use by a consumer query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system comprising:
-
a first query processor including a query processor buffer pool to store a query result relation as a local cached page, wherein each local cached page stored in the query processor buffer pool is of uniform size, wherein the query result relation comprises a plurality of tuples returned by a first query, wherein each local cached page is a fixed-length binary page identified by a local tag; a distributed caching platform (DCP) to receive, using a binary protocol, the local cached page to be shared as an external cached page, wherein the external cached page is visible as a data source of another query, wherein the DCP comprises at least one hardware processor, wherein the DCP is distributed over multiple nodes, wherein the external cached page is identified by an external key that includes different data from the local tag; a second query processor to read, using the binary protocol, the external cached page from the DCP based on the external key, and to convert the external cached page to the plurality of tuples for use by a consumer query. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A system comprising:
-
a first query processor including a query processor buffer pool to store a query result relation as a local cached page, wherein each local cached page stored in the query processor buffer pool is a fixed-length binary page identified by a local tag, wherein the query result relation comprises a plurality of tuples returned by a first query; a distributed caching platform (DCP) to receive, using a binary protocol, the local cached page to be shared as an external cached page, wherein the external cached page is identified by an external key that includes different data from the local tag, wherein the DCP comprises at least one hardware processor; a second query processor to read, using the binary protocol, the external cached page from the DCP based on the external key. - View Dependent Claims (19, 20)
-
Specification