- 专利标题: Structured indexes on results of function applications over data
-
申请号: US11051447申请日: 2005-02-04
-
公开(公告)号: US20050198016A1公开(公告)日: 2005-09-08
- 发明人: Conor Cunningham , Eric Hanson , Milind Joshi , Cesar Galindo-Legaria , Florian Waas
- 申请人: Conor Cunningham , Eric Hanson , Milind Joshi , Cesar Galindo-Legaria , Florian Waas
- 申请人地址: US WA Redmond 98052
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond 98052
- 主分类号: G06F7/00
- IPC分类号: G06F7/00 ; G06F12/00 ; G06F17/30
摘要:
Indexed views or materialized views are used as a secondary index on a base table with multi-valued attributes. This provides for using the index to search in the nested data. Moreover, indexing is provided on the result of an unnest operation. Indexing a view on the result of an unnesting operation provides the ability to index the contents of a nested collection. One such unnesting operation is “cross apply unnest”. This provides additional options for a query execution plan, leading to a more optimized query. A back-join is provided from the indexed view to the base table to allow fields from the base table that are not present in the indexed view to be included in a result of a query on the table which is processed using the indexed view as an access path. This provides a means of including columns in the query result that are not in the indexed view but are in the base table. The back-join is supported from a single-table indexed view to the base table via a unique clustering key which acts as a logical row locator. Thus, the system can back-join to the base table from an indexed view via the unique clustering key. These features allow the use of indexed views to index a table on the contents of multi-set or multi-valued attributes.
公开/授权文献
信息查询