Invention Grant
US08392405B2 Performing cost-based optimizations of authorization checks in database systems
有权
在数据库系统中执行基于成本优化的授权检查
- Patent Title: Performing cost-based optimizations of authorization checks in database systems
- Patent Title (中): 在数据库系统中执行基于成本优化的授权检查
-
Application No.: US12144028Application Date: 2008-06-23
-
Publication No.: US08392405B2Publication Date: 2013-03-05
- Inventor: Sam Idicula , Mohammed Irfan Rafiq , Nipun Agarwal
- Applicant: Sam Idicula , Mohammed Irfan Rafiq , Nipun Agarwal
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Park, Vaughan, Fleming & Dowler LLP
- Agent Shun Yao
- Main IPC: G06F7/00
- IPC: G06F7/00

Abstract:
One embodiment of the present invention provides a system that facilitates performing a cost-based optimization of authorization checks in a database system. During operation, the system receives a query at the database system. Next, the system estimates a cost for executing the query, which involves estimating a cost for evaluating authorization checks, which involve functional evaluations of access rights for data accessed by the query. The system then rewrites the query to include evaluating authorization checks within the query. The system also estimates a cost for executing the rewritten query. Next, the system determines if executing the rewritten query has a lower cost than executing the query and performing the authorization checks. If so, the system executes the rewritten query. However, if not, the system executes the query.
Public/Granted literature
- US20090319477A1 PERFORMING COST-BASED OPTIMIZATIONS OF AUTHORIZATION CHECKS IN DATABASE SYSTEMS Public/Granted day:2009-12-24
Information query