Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Count(*) last 30 seconds
well, have you traced the statement yet? That's where to start, with autotrace.
My count(*) which executes a FTS (in a load to mitigate any ORA-1555 error) takes 15 minutes to count 50 million rows.
Lisa Koivu
Tired, Tired, Tired.
Fairfield Resorts, Inc.
5259 Coconut Creek Parkway
Ft. Lauderdale, FL, USA 33063
Office: 954-935-4117
Fax: 954-935-3639
Cell: 954-683-4459
-----Original Message-----
Sent: Tuesday, February 11, 2003 11:19 AM
To: Multiple recipients of list ORACLE-L
Hi list,
I issue a select count(*) from mytable and last 30 seconds.
The table has 1,466,196 records and were loaded with a batch process, so they are in a countinous space.
I consider that time exagerated.
The TBS is LMT with a Uniform size of 128 MB.
The block size is 8MB, version 9.2.0.1.0 in Windows 2000.
Where should I start looking ???
TIA
Ramon E. Estevez
com.banilejas_at_codetel.net.do
809-565-3121
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Koivu, Lisa
INET: Lisa.Koivu_at_efairfield.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Feb 11 2003 - 10:39:51 CST