Dynamic generation of optimizer hints
First Claim
Patent Images
1. A method for executing a query issued to a database server by a database client, the method comprising the steps of:
- said database server receiving said query;
transparently to said database client and prior to the database server executing said query;
said database server detecting that said query requires access to a database object, and in response to detecting that said query requires access to said database object;
said database server creating a modified query by selectively adding one or more optimizer hints that indicate how a query optimizer should create an execution plan for executing said query; and
executing, within said database server, said modified query to access data managed by said database server.
1 Assignment
0 Petitions
Accused Products
Abstract
A fine-grained access control mechanism uses policy functions that are associated with a database object (e.g. table and view). The policy functions are invoked, when, for example, a database server detects that a query is issued against the database object. The policy functions return optimizer hints, which are added to the query.
-
Citations
20 Claims
-
1. A method for executing a query issued to a database server by a database client, the method comprising the steps of:
-
said database server receiving said query;
transparently to said database client and prior to the database server executing said query;
said database server detecting that said query requires access to a database object, and in response to detecting that said query requires access to said database object;
said database server creating a modified query by selectively adding one or more optimizer hints that indicate how a query optimizer should create an execution plan for executing said query; and
executing, within said database server, said modified query to access data managed by said database server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A method for executing a query issued to a database server by a database client, the method comprising the steps of:
-
said database server receiving said query;
means for transparently to said database client and prior to the database server executing said query;
said database server detecting that said query requires access to a database object, and in response to detecting that said query requires access to said database object;
said database server creating a modified query by selectively adding one or more optimizer hints that indicate how a query optimizer should create an execution plan for executing said query; and
executing, within said database server, said modified query to access data managed by said database server. - View Dependent Claims (20)
-
Specification