nerdexam
Oracle

1Z0-062 · Question #102

You use the segment advisor to help determine objects for which space may be reclaimed. Which three statements are true about the advisor given by the segment advisor?

The correct answer is A. It may advise the use of online table redefinition for tables in dictionary managed tablespace. C. It may advise the use of online table redefinition for tables in locally managed tablespaces D. It will detect and advise about chained rows.. The Oracle Segment Advisor evaluates objects for reclaimable space and generates recommendations that depend on the tablespace management type and the nature of space waste detected. Advice can include redefinition, shrink operations, or chained row warnings.

Performing Database Maintenance

Question

You use the segment advisor to help determine objects for which space may be reclaimed. Which three statements are true about the advisor given by the segment advisor?

Options

  • AIt may advise the use of online table redefinition for tables in dictionary managed tablespace.
  • BIt may advise the use of segment shrink for tables in dictionary managed tablespaces it the no
  • CIt may advise the use of online table redefinition for tables in locally managed tablespaces
  • DIt will detect and advise about chained rows.
  • EIt may advise the use of segment shrink for free list managed tables.

How the community answered

(40 responses)
  • A
    95% (38)
  • B
    3% (1)
  • E
    3% (1)

Why each option

The Oracle Segment Advisor evaluates objects for reclaimable space and generates recommendations that depend on the tablespace management type and the nature of space waste detected. Advice can include redefinition, shrink operations, or chained row warnings.

AIt may advise the use of online table redefinition for tables in dictionary managed tablespace.Correct

For tables in dictionary-managed tablespaces, segment shrink is unavailable because that operation requires bitmap-based free space tracking found only in ASSM. As an alternative, the Segment Advisor may recommend online table redefinition using DBMS_REDEFINITION, which can reclaim space in any tablespace type.

BIt may advise the use of segment shrink for tables in dictionary managed tablespaces it the no

Segment shrink requires Automatic Segment Space Management in a locally managed tablespace - it cannot be used for tables in dictionary-managed tablespaces, regardless of any additional conditions appended to the statement.

CIt may advise the use of online table redefinition for tables in locally managed tablespacesCorrect

Online table redefinition is also a valid Segment Advisor recommendation for tables in locally managed tablespaces, especially when the segment cannot be shrunk due to freelist management or other constraints. DBMS_REDEFINITION rebuilds the table online without downtime, reclaiming fragmented space in the process.

DIt will detect and advise about chained rows.Correct

The Segment Advisor performs physical row analysis and detects chained rows - rows whose size exceeds a block's available space and span multiple blocks. It reports chained rows as an advisory finding because they degrade I/O performance and indicate a need for table reorganization or a block size adjustment.

EIt may advise the use of segment shrink for free list managed tables.

Segment shrink is not supported for freelist-managed tables because the high water mark reclamation process depends on ASSM bitmap space tracking, which freelist-managed segments do not have.

Concept tested: Oracle Segment Advisor recommendations for space reclamation

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/managing-space-for-schema-objects.html

Topics

#Segment Advisor#Space reclamation#Online table redefinition#Chained rows

Community Discussion

No community discussion yet for this question.

Full 1Z0-062 Practice