Marul,
1. you
don't have table analyzed in which case Rule based optimizer will be used. CBO
is used if atleast one of the tables in the query is
ANALYZED
2.
There is no data in your table. Optimizer goes for a full tablescan if it thinks
that it will be moer advisable to do a full table scan. e.g. You will not use
the INDEX if your book has only one page.
The
decision of going for a full tablescan is based on DB_BLOCK_SIZE *
DB_FILE_MULTI_BLOCK_READCOUNT, which tells how much data Oracle fetches at one
time. If your entire table can be fetched in atleast 2 fetches, full table scan
will be done instead of INDEX scan, to avoid doubling of
work.
Naveen
|
- Function-Based Index not working Marul Mehta
- RE: Function-Based Index not working Naveen Nahata
- RE: Function-Based Index not working Sandeep Kurliye
- Re: Function-Based Index not working Marul Mehta
- RE: Function-Based Index not working Naveen Nahata
- Re: Function-Based Index not working Marul Mehta
- RE: Function-Based Index not working Seefelt, Beth
- RE: Function-Based Index not working Naveen Nahata
- Re: Function-Based Index not working Marul Mehta
- Re: Function-Based Index not working Marul Mehta
- Re: Function-Based Index not working Steve Perry
- Re: Function-Based Index not working Steve Perry