QuestionQ47

VerifiedManaging Memory Components

Buffer-cache access occurs too frequently when queries access the SALES table.

Examine this command, which completes successfully:

ALTER TABLE SALES SHRINK SPACE;  

For which access method will query performance on SALES improve?

Explanation

Shrinking a table compacts its segment and readjusts its high-water mark, so a full table scan reads fewer blocks. Oracle full table scans use multiblock reads, which are associated with the db file scattered read access pattern. Index structures are not shrunk without CASCADE, so index full scans and index range scans do not directly improve.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!