发明授权
US08392405B2 Performing cost-based optimizations of authorization checks in database systems
有权
在数据库系统中执行基于成本优化的授权检查
- 专利标题: Performing cost-based optimizations of authorization checks in database systems
- 专利标题(中): 在数据库系统中执行基于成本优化的授权检查
-
申请号: US12144028申请日: 2008-06-23
-
公开(公告)号: US08392405B2公开(公告)日: 2013-03-05
- 发明人: Sam Idicula , Mohammed Irfan Rafiq , Nipun Agarwal
- 申请人: Sam Idicula , Mohammed Irfan Rafiq , Nipun Agarwal
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Park, Vaughan, Fleming & Dowler LLP
- 代理商 Shun Yao
- 主分类号: G06F7/00
- IPC分类号: G06F7/00
摘要:
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.
公开/授权文献
信息查询