Invention Grant
- Patent Title: Bounded query rewriting using views
-
Application No.: US15966465Application Date: 2018-04-30
-
Publication No.: US10649994B2Publication Date: 2020-05-12
- Inventor: Wenfei Fan , Yang Cao , Floris Geerts , Ping Lu , Yu Chen , Demai Ni
- Applicant: Futurewei Technologies, Inc.
- Applicant Address: US TX Plano
- Assignee: Futurewei Technologies, Inc.
- Current Assignee: Futurewei Technologies, Inc.
- Current Assignee Address: US TX Plano
- Agency: Conley Rose P.C.
- Main IPC: G06F16/00
- IPC: G06F16/00 ; G06F16/2453

Abstract:
A mechanism for rewriting a bounded query onto a view is disclosed. A query, access constraints, and cached view(s) are obtained. The cached view(s) contain results of the query as applied to a dataset stored in a database. A query rewriting plan is generated by adding a fetch from query operation to the plan when a rewritten query variable can be fetched from a query constant. A fetch from database operation is added to the plan when a rewritten query variable can be fetched as a query variable that obtains bounded data from the database. An access view operation is added to the plan when a rewritten query variable can be fetched from the cached view. The query rewriting plan is executed to fetch retrieved data. The query is executed on the retrieved data to determine updated results to the query without reapplying the query to the dataset.
Public/Granted literature
- US20180341677A1 BOUNDED QUERY REWRITING USING VIEWS Public/Granted day:2018-11-29
Information query