Database Tuning (MOSC)

MOSC Banner

The first reading of data is carried out very slowly

edited Jul 17, 2012 3:37AM in Database Tuning (MOSC) 23 commentsAnswered
Dear

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center