nerdexam
Oracle

1Z0-060 · Question #109

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 recommends online table redefinition for both dictionary-managed and locally managed tablespaces and detects chained rows, but segment shrink is restricted to ASSM locally managed tablespaces only.

New Features for Manageability

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 chained rows.
  • 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

(30 responses)
  • A
    90% (27)
  • B
    3% (1)
  • E
    7% (2)

Why each option

The Oracle Segment Advisor recommends online table redefinition for both dictionary-managed and locally managed tablespaces and detects chained rows, but segment shrink is restricted to ASSM locally managed tablespaces only.

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

Online table redefinition via DBMS_REDEFINITION reorganizes a table online to compact space and is supported in dictionary-managed tablespaces; the Segment Advisor will recommend it when reclaimable space is identified in such tablespaces.

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

Segment shrink (ALTER TABLE SHRINK SPACE) requires Automatic Segment Space Management because it relies on ASSM bitmap blocks to compact rows below the high water mark; dictionary-managed tablespaces use freelists and do not support this operation.

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

The Segment Advisor also recommends online table redefinition for tables residing in locally managed tablespaces when significant wasted space or high water mark issues are detected, making redefinition a valid advisory outcome for both tablespace types.

DIt will detect and advise about chained rows.Correct

The Segment Advisor samples block-level statistics and checks for row migration and chaining by analyzing the CHAINED_ROWS diagnostic; when chained rows exceed a threshold it explicitly advises corrective actions such as table move or redefinition.

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

Freelist-managed tables use a linked list of blocks for free space tracking rather than ASSM bitmaps, which makes the SHRINK SPACE mechanism incompatible; the Segment Advisor cannot recommend segment shrink for any freelist-managed segment.

Concept tested: Oracle Segment Advisor recommendations and tablespace compatibility

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

Topics

#segment advisor#space reclamation#segment shrink#online table redefinition

Community Discussion

No community discussion yet for this question.

Full 1Z0-060 Practice