Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.oracle    |    Overblown overpriced overengineered SHIT    |    2,288 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 645 of 2,288    |
|    mcstock to Ken    |
|    Re: How to use index    |
|    05 Nov 03 22:21:40    |
      From: mcstockspamplug@spamdamenquery.com              > bcoz I select columns which are not indexed, the index created for       > column 1 cannot used either       not true. the columns in the select list do not affect which indexes the       optimizer uses              your IN clause is the equivalent of 3 equality predicates with OR -- the       optimizer may very well not use the index if it appears that it would be       faster to do a full table scan              do you have statistics on the table?              how many rows are in the table? the 'rule of thumb' is that oracle will use       an index if it determines that about 2% of the rows will be returned              --mcs              "Ken" |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca