nerdexam
Oracle

1Z0-052 · Question #215

You specified extent management as local for a tablespace. How will it affect space management in the tablespace?

The correct answer is B. Bitmap will be used to record free and allocated extents. Locally managed tablespaces use a bitmap stored within the tablespace itself to track free and allocated extents, replacing the older dictionary-managed approach that queried data dictionary tables.

Managing Database Storage Structures

Question

You specified extent management as local for a tablespace. How will it affect space management in the tablespace?

Options

  • AAll the extents will be of the same size.
  • BBitmap will be used to record free and allocated extents.
  • CFree extents will be managed by the data dictionary tables.
  • DThe tablespace will be system managed and the users cannot specify the extent size.

How the community answered

(44 responses)
  • A
    5% (2)
  • B
    86% (38)
  • C
    2% (1)
  • D
    7% (3)

Why each option

Locally managed tablespaces use a bitmap stored within the tablespace itself to track free and allocated extents, replacing the older dictionary-managed approach that queried data dictionary tables.

AAll the extents will be of the same size.

Local extent management does not enforce uniform extent sizes by itself; you choose between AUTOALLOCATE (system-managed variable sizes) or UNIFORM SIZE (fixed size), so extents can vary in size.

BBitmap will be used to record free and allocated extents.Correct

With local extent management, Oracle maintains a bitmap in the segment space management header of each data file within the tablespace, where each bit (or group of bits) represents the allocation status of an extent. This eliminates contention on the data dictionary tables (UET$ and FET$) and improves performance for concurrent space operations.

CFree extents will be managed by the data dictionary tables.

Managing free extents via data dictionary tables describes dictionary-managed tablespaces (the legacy method), which is the opposite of locally managed tablespaces.

DThe tablespace will be system managed and the users cannot specify the extent size.

Users can still explicitly specify extent sizes in locally managed tablespaces using the UNIFORM SIZE clause; the 'system managed' restriction applies only to segment space management (ASSM), not extent management.

Concept tested: Locally managed tablespace bitmap extent tracking

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/managing-tablespaces.html

Topics

#locally managed tablespace#extent management#bitmap free space#space management

Community Discussion

No community discussion yet for this question.

Full 1Z0-052 Practice