function based index help ??

2003-07-08 Thread Janet Linsy
based index? Thank you! Janet __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Janet Linsy INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538

RE: function based index help ??

2003-07-08 Thread Mark Moynahan
be A or D) IDNUMBER I'd like to build a unique index on column ID when the status='A', how to create this function based index? Thank you! Janet __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- Please see

Gathering statistics on function-based index

2003-06-03 Thread elain he
Hi, Can someone shed some light on the differences of gathering statistics on a function-based index using the following two methods? method 1: analyze table table_name compute statistics vs method 2: create unique index index_name on table_name (upper(columne_name)) compute statistics; I could

RE: Gathering statistics on function-based index

2003-06-03 Thread Gogala, Mladen
of Service Status Q/A To Development Base Bug N/A Fixed in Product Version 10.0.0 Problem statement: ORA-904:GATHER_TABLE_STATS FAILS ON TABLE WITH WIH FUNCTION-BASED INDEX *** 02/03/03 10:59 am *** TAR

Re: Gathering statistics on function-based index

2003-06-03 Thread Wolfgang Breitling
to list the contents of user_indexes for the index after each of the analyzes? At 05:45 AM 6/2/2003 -0800, you wrote: Hi, Can someone shed some light on the differences of gathering statistics on a function-based index using the following two methods? method 1: analyze table table_name compute

Re: Function Based Index - Not Used ???

2003-06-03 Thread Tim Gorman
blush! Thanks... Having been through two books and having aborted the third, I can only repeat what a friend told me after completing his MBA at night school: You can work your job, live your life, and go to school. But, only two at a time... Substitute write a book for go to school and that

Re: Gathering statistics on function-based index

2003-06-03 Thread elain he
Wolfgang, Thanks for your respond. I tried gathering stats on the function based index using - analyze index ACFD_INDX1 compute statistics; - exec dbms_stats.gather_table_stats(ownname='ACPO',tabname='AC_FORWARD_DEST',cascade=TRUE); - exec dbms_stats.gather_index_stats('ACPO','ACFD_INDX1

RE: Function Based Index - Not Used ???

2003-06-02 Thread Cary Millsap
To clarify my Book! Book! Book! :)... This is my request for Tim to write [another] one. Cary Millsap Hotsos Enterprises, Ltd. http://www.hotsos.com Upcoming events: - Hotsos Clinic 101 in Reykjavik, Ottawa, Dallas, Washington, Denver, Sydney - Visit www.hotsos.com for schedule details...

Re: RE: Function Based Index - Not Used ???

2003-06-02 Thread Prem Khanna J
Cary, I will be first one to get a copy of the book. And now this is my turn to request Tim ;) Book! Book! Book! Jp. 2003/06/02 18:54:38, Cary Millsap [EMAIL PROTECTED] wrote: To clarify my Book! Book! Book! :)... This is my request for Tim to write [another] one. Cary Millsap -- Please

Re: Function Based Index - Not Used ???

2003-05-31 Thread Prem Khanna J
Tim, First, i would like to thank U a million. It was a real GOOD explanation. I don't know why should you apologize for helping me. I should be thankful to u for helping me in time. GREAT to have guys like u in this list. Knowing is GOOD. but making others know it , is GREAT. thanx for your

Re: Function Based Index - Not Used ???

2003-05-30 Thread Tim Gorman
JP, In the EXPLAIN PLAN, it says Card=262146, indicating that the query expects to retrieve over a quarter-million rows. Is that in fact correct? If so, the CBO is making the correct decision to perform a FULL table scan. What was the comparison of elapsed times between the two plans, the one

RE: Function Based Index - Not Used ???

2003-05-30 Thread Hallas, John, Tech Dev
PROTECTED] Sent: Thursday, May 29, 2003 12:25 PM To: Multiple recipients of list ORACLE-L Subject: Function Based Index - Not Used ??? Guys, create table Tab1 ( name varchar2(100),age int,state varchar2(100),country varchar2(100)); insert into tab1 values ('SCOTT',25,'TN','India'); I

RE: Function Based Index - Not Used ???

2003-05-30 Thread DENNIS WILLIAMS
appropriate value. Regards Naveen -Original Message- From: Prem Khanna J [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:25 PM To: Multiple recipients of list ORACLE-L Subject: Function Based Index - Not Used ??? Guys,

RE: Function Based Index - Not Used ???

2003-05-30 Thread Cunningham, Gerald
Wow, there sure are a lot of Scott's in India... -Original Message- Sent: Thursday, May 29, 2003 9:30 AM To: Multiple recipients of list ORACLE-L JP, In the EXPLAIN PLAN, it says Card=262146, indicating that the query expects to retrieve over a quarter-million rows. Is that in fact

Re: RE: Function Based Index - Not Used ???

2003-05-30 Thread Prem Khanna J
John, I tried it with COMPATIBLE=8.1.6. no nulls in that particular column but it's the same again. As Tim pointed out, CARD=262146 -- as per the EXPLAIN PLAN for SELECT w/o HINT. the SELECT retuens about 2.5 million rows. which is why it goes for a FTS than a Index scan is my understanding

Re: Function Based Index - Not Used ???

2003-05-30 Thread Prem Khanna J
Thanks Tim. But the SELECT returns just 2 of 20,00,000 records. and the Time elapsed for Index scan is 0.7 secs where as it is 5 secs for FTS. Hell a lot of lousy things here Tim. just mending it one by one. Regards, Jp. 2003/05/29 22:30:02, Tim Gorman [EMAIL PROTECTED] wrote: JP, In the

RE: RE: Function Based Index - Not Used ???

2003-05-30 Thread Naveen Nahata
AGE whose value cannot not be found from the index. Regards Naveen -Original Message- From: Prem Khanna J [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 8:45 AM To: Multiple recipients of list ORACLE-L Subject: Re: RE: Function Based Index - Not Used ??? John, I tried

Re: Function Based Index - Not Used ???

2003-05-30 Thread Tim Gorman
JP, I apologize in advance for the long email, but I think you'll find it rewarding to read it all the way through... The CBO is just a mathematical processor, and a rather good one at that. It is choosing the best plan given the data it has been given, which is admittedly often incomplete.

RE: Function Based Index - Not Used ???

2003-05-30 Thread Naveen Nahata
Wow, too good! -Original Message- From: Tim Gorman [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 11:00 AM To: Multiple recipients of list ORACLE-L Subject: Re: Function Based Index - Not Used ??? JP, I apologize in advance for the long email, but I think you'll find

RE: Function Based Index - Not Used ???

2003-05-30 Thread Cary Millsap
Book! Book! Book! :) Speaking of query optimizers, here are some simple things about Oracle query optimizers that I think a lot of people miss: - CBO is just a module that chooses an execution plan - RBO is another module that chooses an execution plan - In 8.1.6+, CBO usually does a better job

Function Based Index - Not Used ???

2003-05-29 Thread Prem Khanna J
Guys, create table Tab1 ( name varchar2(100),age int,state varchar2(100),country varchar2(100)); insert into tab1 values ('SCOTT',25,'TN','India'); I have 20,00,000 records like above. create index idx1 on tab1 (upper(name)); analyze table tab1 compute statistics; analyze index idx1 compute

RE: Function Based Index - Not Used ???

2003-05-29 Thread Naveen Nahata
- From: Prem Khanna J [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:25 PM To: Multiple recipients of list ORACLE-L Subject: Function Based Index - Not Used ??? Guys, create table Tab1 ( name varchar2(100),age int,state varchar2(100),country varchar2(100)); insert

RE: Function Based Index - Not Used ???

2003-05-29 Thread Naveen Nahata
Oops! didnot read your full message. try setting OPTIMIZER_INDEX_COST_ADJ with alter session to a lower value Regards Naveen -Original Message- From: Naveen Nahata Sent: Thursday, May 29, 2003 1:20 PM To: Multiple recipients of list ORACLE-L Subject: RE: Function Based Index

Re: Function-based Index

2002-12-12 Thread Yechiel Adar
PROTECTED] Sent: Thursday, December 12, 2002 12:34 AM why would you want to create function based index on a column that you are not using in the where clause. for your sql statement a index on cnfr_no would work great... babu - Original Message - To: Multiple recipients of list ORACLE

RE: Function-based Index

2002-12-12 Thread Hately, Mike (NESL-IT)
recipients of list ORACLE-L I have the following statement that I would like to create a function-based index for: SELECT MIN(tran_dt) FROM ach_tran WHERE cnfr_no = :b1 I'd like the index to include columns cnfr_no and tran_dt (in that order). The examples I've seen are just single-column indexes

RE: Function-based Index

2002-12-12 Thread Jamadagni, Rajendra
Title: RE: Function-based Index Cherie, you could you a MV (with query_rewrite) ro do what you want ... make sure you use refresh on commit ... FBI won't be of much use in this scenario ... Raj __ Rajendra Jamadagni MIS, ESPN Inc

Function-based Index

2002-12-11 Thread Cherie_Machler
I have the following statement that I would like to create a function-based index for: SELECT MIN(tran_dt) FROM ach_tran WHERE cnfr_no = :b1 I'd like the index to include columns cnfr_no and tran_dt (in that order). The examples I've seen are just single-column indexes. Is it possible

Re: Function-based Index

2002-12-11 Thread Babu Nagarajan
why would you want to create function based index on a column that you are not using in the where clause. for your sql statement a index on cnfr_no would work great... babu - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002

RE: Function-based Index

2002-12-11 Thread Whittle Jerome Contr NCI
Title: RE: Function-based Index Cherie, AFAIK, a plain old index works just fine with Min and Max functions. However, you might need tran_dt first in the index or have its own index. Jerry Whittle ASIFICS DBA NCI Information Systems Inc. [EMAIL PROTECTED] 618-622-4145 -Original

Re: Function-Based Index not working

2002-09-06 Thread Mladen Gogala
On 2002.09.05 22:18 Rachel Carmichael wrote: I love automagic things :) so I can leave the table alone right now there are all of 7 rows in it Rachel Given the size of the the table, may be you should try partitioning it? -- Mladen Gogala -- Please see the official ORACLE-L

RE: Function-Based Index not working

2002-09-06 Thread Post, Ethan
There has been some good stuff on the Usenet list lately about the debating the usefulness of CACHE as opposed to KEEP buffer pool. Ethan Post perotdba (AIM), epost1 (Yahoo) -Original Message- Sent: Thursday,

Re: Function-Based Index not working

2002-09-06 Thread Rachel Carmichael
you know, I was thinking about that. I can't decide between hash partitioning or list partitioning though :) --- Mladen Gogala [EMAIL PROTECTED] wrote: On 2002.09.05 22:18 Rachel Carmichael wrote: I love automagic things :) so I can leave the table alone right now there are all

RE: Function-Based Index not working

2002-09-06 Thread Khedr, Waleed
Probably composite partitioning! -Original Message- Sent: Friday, September 06, 2002 1:04 PM To: Multiple recipients of list ORACLE-L you know, I was thinking about that. I can't decide between hash partitioning or list partitioning though :) --- Mladen Gogala [EMAIL PROTECTED]

Re: Function-Based Index not working

2002-09-05 Thread Yechiel Adar
To: Multiple recipients of list ORACLE-L Sent: Saturday, August 31, 2002 4:23 PM Subject: Re: Function-Based Index not working Hi All, Thanks a lot to you all. At lastI got the function-based index working properly. This is whatI noticed :- Have to alter session/system

RE: Function-Based Index not working

2002-09-05 Thread Fink, Dan
Message-From: Yechiel Adar [mailto:[EMAIL PROTECTED]]Sent: Thursday, September 05, 2002 10:19 AMTo: Multiple recipients of list ORACLE-LSubject: Re: Function-Based Index not working Hello I think that the amount of records you read is also taken into account. If you run a query

RE: Function-Based Index not working

2002-09-05 Thread Cary Millsap
Middlefart Denmark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Fink, Dan Sent: Thursday, September 05, 2002 12:19 PM To: Multiple recipients of list ORACLE-L Subject: RE: Function-Based Index not working Not necessarily... Cary's IOUG-A presentation

Re: Function-Based Index not working

2002-09-05 Thread Jan Benjamins
, Marul Mehta wrote: Even after giving the hint its not working. I guess you can't have IS clause and Like with function-based index. Marul. - Original Message - From: Naveen Nahata To: Multiple recipients of list ORACLE-L Sent: Saturday, August 31, 2002 7:28 PM

RE: Function-Based Index not working

2002-09-05 Thread Jared . Still
Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Function-Based Index not working Even when the high-water mark thing isn't a problem, it's sometimes more efficient to read every row in a table through

RE: Function-Based Index not working

2002-09-05 Thread Rachel Carmichael
PROTECTED] recipients of list ORACLE-L Sent: Saturday, August 31, 2002 4:23 PM Hi All, Thanks a lot to you all. At last I got the function-based index working properly. This is what I noticed :- Have to alter session/system for :- + alter session set

RE: Function-Based Index not working

2002-09-05 Thread Cary Millsap
= Cary Millsap [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/05/2002 11:13 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Function-Based Index not working Even when the high-water

RE: Function-Based Index not working

2002-09-05 Thread Cary Millsap
- Original Message - To: Multiple mailto:[EMAIL PROTECTED] recipients of list ORACLE-L Sent: Saturday, August 31, 2002 4:23 PM Hi All, Thanks a lot to you all. At last I got the function-based index working properly. This is what I noticed :- Have

RE: Function-Based Index not working

2002-09-05 Thread Ron Rogers
Hi All, Thanks a lot to you all. At last I got the function-based index working properly. This is what I noticed :- Have to alter session/system for :- + alter session set QUERY_REWRITE_ENABLED=TRUE; + alter session set QUERY_REWRITE_INTEGRITY=TRUSTED; + alter session set

RE: Function-Based Index not working

2002-09-05 Thread Connor McDonald
the function-based index working properly. This is what I noticed :- Have to alter session/system for :- + alter session set QUERY_REWRITE_ENABLED=TRUE; + alter session set QUERY_REWRITE_INTEGRITY=TRUSTED; + alter session set optimizer_mode=FIRST_ROWS; And + can't use IS NULL

Re: Function-Based Index not working

2002-09-05 Thread Anjo Kolk
= Cary Millsap [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/05/2002 11:13 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Function-Based Index not working Even when the high-water mark thing

Re: Function-Based Index not working

2002-09-05 Thread Anjo Kolk
to you all. At last I got the function-based index working properly. This is what I noticed :- Have to alter session/system for :- + alter session set QUERY_REWRITE_ENABLED=TRUE; + alter session set QUERY_REWRITE_INTEGRITY=TRUSTED; + alter session set optimizer_mode=FIRST_ROWS

Re: Function-Based Index not working

2002-09-05 Thread Rachel Carmichael
, Thanks a lot to you all. At last I got the function-based index working properly. This is what I noticed :- Have to alter session/system for :- + alter session set QUERY_REWRITE_ENABLED=TRUE; + alter session set QUERY_REWRITE_INTEGRITY=TRUSTED; + alter session set

RE: Function-Based Index not working

2002-09-05 Thread Khedr, Waleed
= Cary Millsap [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/05/2002 11:13 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Function-Based Index not working Even when the high-water mark thing isn't

RE: Function-Based Index not working

2002-09-04 Thread Jamadagni, Rajendra
Try changing optimizer mode to FIRST_ROWS ... Raj __ Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot com Any opinion expressed here is personal and doesn't reflect that of ESPN Inc. QOTD: Any clod can have

Re: Function-Based Index not working

2002-09-03 Thread Jared Still
IS clause and Like with function-based index. Marul. - Original Message - From: Naveen Nahata To: Multiple recipients of list ORACLE-L Sent: Saturday, August 31, 2002 7:28 PM Subject: RE: Function-Based Index not working I think everythying is fine. Did you try index

RE: Function-Based Index not working

2002-09-01 Thread Andrey Bronfin

Function-Based Index not working

2002-08-31 Thread Marul Mehta
Hi, Can you please help me out in solving this weird problem of funcation-based index not being used when I query the table. This is the comand I fired and the result it returned me. 1. SQL create table employees (last_name varchar2(20)); Table created. 2. SQL CREATE INDEX upper_ix ON

RE: Function-Based Index not working

2002-08-31 Thread Naveen Nahata
scan will be done instead of INDEX scan, to avoid doubling of work. Naveen -Original Message-From: Marul Mehta [mailto:[EMAIL PROTECTED]]Sent: Saturday, August 31, 2002 2:18 PMTo: Multiple recipients of list ORACLE-LSubject: Function-Based Index not working Hi, Can you

RE: Function-Based Index not working

2002-08-31 Thread Sandeep Kurliye
If CBO think - cost of FTS will be less than index scan then it will not use index. HTH. -Original Message- From: Marul Mehta [mailto:[EMAIL PROTECTED]] Sent: Sat 8/31/2002 11:48 To: Multiple recipients of list ORACLE-L Cc: Subject:Function-Based Index not working

Re: Function-Based Index not working

2002-08-31 Thread Marul Mehta
-LSubject: Function-Based Index not working Hi, Can you please help me out in solving this weird problem of funcation-based index not being used when I query the table. This is the comand I fired and the result it returned me. 1. SQL create table

RE: Function-Based Index not working

2002-08-31 Thread Naveen Nahata
into the table, and then put it in a big loop. Analyze table and thn run the same query. It should work naveen -Original Message-From: Marul Mehta [mailto:[EMAIL PROTECTED]]Sent: Saturday, August 31, 2002 4:03 PMTo: Multiple recipients of list ORACLE-LSubject: Re: Function-Based Index

Re: Function-Based Index not working

2002-08-31 Thread Marul Mehta
. - Original Message - From: Naveen Nahata To: Multiple recipients of list ORACLE-L Sent: Saturday, August 31, 2002 4:58 PM Subject: RE: Function-Based Index not working See the table's size is very small. Till it atleast 2 times the value

RE: Function-Based Index not working

2002-08-31 Thread Seefelt, Beth
. HTH, Beth -Original Message-From: Marul Mehta [mailto:[EMAIL PROTECTED]]Sent: Saturday, August 31, 2002 4:48 AMTo: Multiple recipients of list ORACLE-LSubject: Function-Based Index not working Hi, Can you please help me out in solving this weird problem of funcation-based index

RE: Function-Based Index not working

2002-08-31 Thread Naveen Nahata
PMTo: Multiple recipients of list ORACLE-LSubject: Re: Function-Based Index not working Hi Naveen, Thanks a lot for the efforts you are putting in for me for such a simple problem, but unfortunately, for me all the tips and tricks are not solving the problem. Now these are my current

Re: Function-Based Index not working

2002-08-31 Thread Marul Mehta
Hi All, Thanks a lot to you all. At lastI got the function-based index working properly. This is whatI noticed :- Have to alter session/system for :- + alter session set QUERY_REWRITE_ENABLED=TRUE;+ alter session set QUERY_REWRITE_INTEGRITY=TRUSTED;+ alter session set optimizer_mode

Re: Function-Based Index not working

2002-08-31 Thread Marul Mehta
Even after giving the hint its not working. I guess you can't have IS clause and Like with function-based index. Marul. - Original Message - From: Naveen Nahata To: Multiple recipients of list ORACLE-L Sent: Saturday, August 31, 2002 7:28 PM Subject: RE

Re: Function-Based Index not working

2002-08-31 Thread Steve Perry
-L Sent: Saturday, August 31, 2002 3:48 AM Subject: Function-Based Index not working Hi, Can you please help me out in solving this weird problem of funcation-based index not being used when I query the table. This is the comand I fired and the result it returned

Re: Function-Based Index not working

2002-08-31 Thread Steve Perry
e tracefile. steve - Original Message - From: Marul Mehta To: Multiple recipients of list ORACLE-L Sent: Saturday, August 31, 2002 8:03 AM Subject: Re: Function-Based Index not working Hi Naveen, Thanks a lot for the efforts you are putting in for me for s

function based index problem

2002-04-23 Thread Harvinder Singh
Hi, We have created function based indexes on 2 tables using UPPER function one view is created on these tables that uses these function based indexes. When i create the indexes and try to select from view i get error ORA-03113. If i analyze these tables then select from view works

function based index

2002-04-22 Thread Big Planet
I have created a function based index on one column , but query is still noy using it . What should be the reason ? oracle 8.1.7 cost based optimizer table and index analyzed recently

RE: function based index

2002-04-22 Thread Toepke, Kevin M
the query_rewrite_enabled init.ora parameter has to be set properly. -Original Message-From: Big Planet [mailto:[EMAIL PROTECTED]]Sent: Monday, April 22, 2002 4:15 PMTo: Multiple recipients of list ORACLE-LSubject: function based index I have created a function based

RE: function based index

2002-04-22 Thread Seefelt, Beth
Title: Message You should make sure the QUERY_REWRITE_ENABLED init.ora parameter is set to true. -Original Message-From: Big Planet [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 4:15 PMTo: Multiple recipients of list ORACLE-LSubject: function based index I

Re: function based index

2002-04-22 Thread Tim Gorman
al Message - From: Big Planet To: Multiple recipients of list ORACLE-L Sent: Monday, April 22, 2002 2:15 PM Subject: function based index I have created a function based index on one column , but query is still noy using it . What should be the reason ? oracle 8.

Function based index

2002-04-09 Thread Rick_Cale
Hi, If I have a function based index such as CREATE INDEX emp_idx01 on emp(SUBSTR(first_name,1,20)) Is there a way to build index where 1,20 portion can be parameterized? If so how would this be done? Thanks Rick -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author

Re: Function based index

2002-04-09 Thread Stephane Faroult
[EMAIL PROTECTED] wrote: Hi, If I have a function based index such as CREATE INDEX emp_idx01 on emp(SUBSTR(first_name,1,20)) Is there a way to build index where 1,20 portion can be parameterized? If so how would this be done? Thanks Rick No. The function is simply applied

RE: function based index

2002-04-09 Thread Khedr, Waleed
of the query is not so well, can i achieve better performance with function based index on max(columnname)? according the manuals this is not allowed because max is a group function. anyone with a solution for this ? vr. gr. g.g. kor rdw ict groningen -- Please see the official ORACLE-L FAQ

Re: Optimizer and function based index

2002-02-15 Thread Connor McDonald
(MEMBERNAME)='198915'; and this query will not use the index at all. I can't understand why the optimizer won't choose to use the function based index when there is an OR clause. I've tried the same query with just MEMBERNAME= and using an index on MEMBERNAME, and the optimizer will use

Re: Optimizer and function based index

2002-02-15 Thread Stephane Faroult
SHOPCART WHERE UPPER(MEMBERNAME) ='19891' OR UPPER(MEMBERNAME)='198915'; and this query will not use the index at all. I can't understand why the optimizer won't choose to use the function based index when there is an OR clause. I've tried the same query with just

Re: Optimizer and function based index

2002-02-15 Thread Ratnesh Kumar Singh
)='198915'; and this query will not use the index at all. I can't understand why the optimizer won't choose to use the function based index when there is an OR clause. I've tried the same query with just MEMBERNAME= and using an index on MEMBERNAME, and the optimizer will use

RE: Optimizer and function based index

2002-02-15 Thread Seefelt, Beth
)='198915'; and this query will not use the index at all. I can't understand why the optimizer won't choose to use the function based index when there is an OR clause. I've tried the same query with just MEMBERNAME= and using an index on MEMBERNAME, and the optimizer will use

Optimizer and function based index

2002-02-14 Thread Seefelt, Beth
UPPER(MEMBERNAME) ='19891' OR UPPER(MEMBERNAME)='198915'; and this query will not use the index at all. I can't understand why the optimizer won't choose to use the function based index when there is an OR clause. I've tried the same query with just MEMBERNAME= and using an index

function based index

2001-11-20 Thread GKor
hi everyone we have a query with several max functions in it. The performance of the query is not so well, can i achieve better performance with function based index on max(columnname)? according the manuals this is not allowed because max is a group function. anyone with a solution

Re: function based index

2001-11-20 Thread sfaroult
hi everyone we have a query with several max functions in it. The performance of the query is not so well, can i achieve better performance with function based index on max(columnname)? according the manuals this is not allowed because max is a group function. anyone with a solution

Re: function based index

2001-11-20 Thread Igor Neyman
I think, you need materialized view, function based index. Igor Neyman, OCP DBA [EMAIL PROTECTED] - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 8:00 AM hi everyone we have a query with several max functions

Two (probably simple) questions, function based index and table p

2001-08-17 Thread Jonas A Wetterberg
Hello folks! I need to create a function based index, but when I do this, Oracle gives me the message ORA-00439, function not installed, so I have tried and tried to figure out how to install this function, but I have failed, therefore this e-mail. I have looked in ORACLE_HOME/rdbms/admin

RE: Two (probably simple) questions, function based index and table p

2001-08-17 Thread Cale, Rick T (Richard)
What version of Oracle are you using? Function based indexes only work in EE. Rick -Original Message- Sent: Friday, August 17, 2001 6:46 AM To: Multiple recipients of list ORACLE-L p Hello folks! I need to create a function based index, but when I do this, Oracle gives me the message

SV: Two (probably simple) questions, function based index and tab

2001-08-17 Thread Jonas A Wetterberg
, function based index and table p What version of Oracle are you using? Function based indexes only work in EE. Rick -Original Message- Sent: Friday, August 17, 2001 6:46 AM To: Multiple recipients of list ORACLE-L table p Hello folks! I need to create a function based index, but when

RE: Function based index - insufficient priveleges

2001-05-28 Thread GKor
hi i found this on metalink the proper privilege required to create function-based indexes. Connect as dba and provide the user with the privileges required to create a function based index. If the user is creating indexes in their own schema: SVRMGR grant query rewrite to ; If the user

Function based index - insufficient priveleges

2001-05-28 Thread Andor, Gyula
Hi Gurus ! Please help me. I can't create function based index because it says: ERROR at line 1: ORA-01031: insufficient privileges I have a table which contains a column called lang_name. I try to create function based index on the table with the following sql statement: create index

Re: Function based index - insufficient priveleges

2001-05-28 Thread A. Bardeen
When in doubt, check the manual ;) Manuals are available in pdf format from metalink and in html and pdf format from http://technet.oracle.com (free registration). Per the SQL Reference manual on the create index statement: To create a function-based index in your own schema on your own table

RE: Function based index - insufficient priveleges

2001-05-28 Thread Andor, Gyula
Thank you ! This solved the problem. Gyula -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Andor, Gyula INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing

RE: Function based index - insufficient priveleges

2001-05-28 Thread Amar Kumar Padhi
, May 28, 2001 3:00 PM To: Multiple recipients of list ORACLE-L hi i found this on metalink the proper privilege required to create function-based indexes. Connect as dba and provide the user with the privileges required to create a function based index. If the user is creating indexes

Re: Function based index - insufficient priveleges

2001-05-28 Thread zabair ahmed
You need to set a couple of parameters in the init.ora, these are query_rewrite_enabled = true query_rewrite_integrity = trusted and you need to grant the privilege QUERY_REWRITE to the user. HTH. Zabair _ Get Your

RE: How can I tell if an index is a function-based index/

2001-04-04 Thread Jack C. Applewhite
Cherie, Yes funcidx_status will be ENABLED and there'll be a row in User_Ind_Expressions for each function-based index. Jack Jack C. Applewhite Database Administrator/Developer OCP Oracle8 DBA iNetProfit, Inc. Austin, Texas www.iNetProfit.com [EMAIL PROTECTED

RE: How can I tell if an index is a function-based index/

2001-04-04 Thread Cherie_Machler
ORACLE-L Cherie, Yes funcidx_status will be ENABLED and there'll be a row in User_Ind_Expressions for each function-based index. Jack Jack C. Applewhite Database Administrator/Developer OCP Oracle8 DBA iNetProfit, I