Caching external data sources for SQL processing
Abstract
Techniques are provided for caching external data sources for SQL processing. According to an embodiment, a database system receives a query that requires foreign data from an external data source. In response to receiving the query, the database system determines whether the foreign data currently resides in a cache of the database system. In response to determining that the foreign does not currently reside in the cache, the database system retrieves the foreign data from the external data source, maps the foreign data to a column granule of a table, and stores the column granule in the cache. In another embodiment, the database system receives a second query that requires the foreign data. In response to determining that the foreign data is cached with the stored column granule, the database system retrieves the column granule from the cache.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for optimizing query processing, the method comprising: storing, at a database system, metadata for an external table; wherein the metadata for the external table defines one or more columns for the external table and how data from an external data source maps to the one or more columns of the external table; receiving, at the database system, a first query that requires foreign data from the external data source; in response to receiving the first query, determining whether the foreign data currently resides in a cache of the database system; in response to determining that the forei
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (26)
Non-Patent Literature (5)
- Harder, Theo, "DBMS Architecture-New Challenges Ahead", Datebank-Specktum, Ohsu Digital Commons, dated Jan. 1, 2005, 12 pages.
- Harder, Theo, “DBMS Architecture—New Challenges Ahead”, Datebank-Specktum, Ohsu Digital Commons, dated Jan. 1, 2005, 12 pages.
- McClary, U.S. Appl. No. 14/685,840, Filed Apr. 14, 2015, Final Office Action Oct. 20, 2017.
- Potapov, U.S. Appl. No. 14/733,691, Filed Jun. 8, 2015, Final Office Action.
- Potapov, U.S. Appl. No. 14/733,691, Filed Jun. 8, 2015, Interview Summary Oct. 27, 2017.