Invention Grant
- Patent Title: Flexible query hints in a relational database
- Patent Title (中): 关系数据库中的灵活查询提示
-
Application No.: US12413544Application Date: 2009-03-28
-
Publication No.: US08190595B2Publication Date: 2012-05-29
- Inventor: Nicolas Bruno , Ravishankar Ramamurthy , Surajit Chaudhuri
- Applicant: Nicolas Bruno , Ravishankar Ramamurthy , Surajit Chaudhuri
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Lyon & Harr, L.L.P.
- Agent Craig S. Fischer
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
A flexible query hints system and method for discovering and expressing query hints in a database management system. Embodiments of the flexible query hints system and method include a power hints (Phints) language that enables the specification of constraints to influence a query optimizer. Phints expressions are defined as tree patterns annotated with constraints. Embodiments of the flexible query hints system and method also include techniques to incorporate the power hints language expressions into an extended query optimizer. Theses techniques include computing a directed acyclic graph for Phints expression, deriving candidate matches using the Phints expression and the graph, computing candidate matches, and extracting a revised execution plan having a lowest cost and satisfying constraints of the Phints expression. Embodiments of the flexible query hints system and method include a flexible query hint user interface that allow users to interactively adjust query hints.
Public/Granted literature
- US20100250518A1 FLEXIBLE QUERY HINTS IN A RELATIONAL DATABASE Public/Granted day:2010-09-30
Information query