The first reading of data is carried out very slowly
I have Oracle 11g on HP-UX system.
The selected table have 10,892,769 records.
I'm executing SQL SELECT COUNT (*) FROM MyTABLE;
The first implementation of this SQL statement carried 8 min and 12 sec
>> COUNT (*) 10,892,769 1 row selected. 8:12
The another implementation of the same SQL statement carried 5 sec.
>> COUNT (*) 10,892,769 1 row selected. 00:05
What can I do to make the first implementation of the SQL statement carried only 5 sec.
Regards!
Hine