Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> A question about performance
Hi All: There is a question about performance. Table name : subscriber , primary key : subscr_id , withover 5000000 records .
CASE 1 : select * from subscriber ;they are the same ??
(FULL TABLE SCAN)
CASE 2 : select * from subscriber where subscr_id > 0 ;
(USE INDEX)
Could anyone tell me which ones performance is better , or
Thank you in advance.
Tiffany
E-mail tiffanydu_at_pcdc.com.tw
Received on Tue Jun 20 2000 - 21:22:29 CDT