Database Administration (MOSC)

MOSC Banner

Oracle Read-only tablespace more efficient if "select count(*)" issued first - please explain

edited Apr 28, 2010 7:14AM in Database Administration (MOSC) 3 commentsAnswered
 Page 13-1 of "E10595-06" (Oracle Admin 11gR2 Guide), has the following paragrpaph:
"For better performance while accessing data in a read-only tablespace, you can issue a query that accesses all of the blocks of the tables in the tablespace just before making it read-only. A simple query, such as SELECT COUNT (*), executed against each table ensures that the data blocks in the tablespace can be subsequently accessed most efficiently. This eliminates the need for the database to check the status of the transactions that most recently modified the blocks."

Anybody can explain how a "select count(*)" can make subsequent queries more efficient ?

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