Thread: function-based index
- 12-10-2009 04:03 AM #1
function-based index How to create a function-based index on the expression?
I am using 10.2.0.4.
Please also tell that can We create the same through Enterprise manager?
Thanks in Advance
Rgds,
Mirza
- Club-Oracle Complementary E-Books and Magazines
Get your free Complementary Copy of Oracle Magazine
You can also browse the Free Magazines and E-Books section to see the complete list of free magazines, e-books and Whitepapers.
- 12-10-2009 04:58 AM #2
Re: function-based index what kind of expression you mean ?
This link may help you.
Yes. you can create.
Raj.
- 12-10-2009 05:00 AM #3
Re: function-based index EM recommending :-
Rewrite the predicate into an equivalent form to take advantage of indices. Alternatively, create a function-based index on the expression.
The optimizer is unable to use an index if the predicate is an inequality condition or if there is an expression or an implicit data type conversion on the indexed column.
- 12-10-2009 02:16 PM #4
Re: function-based index Which doesn't answer the question. What is this problem query? Which function are you using that causes the tuning advisor to recommend a function-based index? Creating a function-based index is easy enough:
Code sql:CREATE INDEX my_fbi
ON mytable(to_date(mydate, 'MM/DD/RRRR'))
/
You really need to provide more information than you do so others can assist you.
Similar Threads
-
Partitioned index
By prepek2000 in forum SQL PL/SQLReplies: 1Last Post: 09-07-2009, 07:39 AM -
Problem with CTXXPATH index
By lcavina in forum SQL PL/SQLReplies: 0Last Post: 06-29-2009, 01:42 PM -
Caching for UCM based websites
By rakeshgugnani in forum Oracle Fusion MiddlewareReplies: 1Last Post: 05-27-2009, 11:20 AM -
Cluster index Vs IOT
By prashant in forum SQL PL/SQLReplies: 2Last Post: 01-20-2009, 04:45 AM


LinkBack URL
About LinkBacks
Reply With Quote





