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.
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)- A5% (2)
- B86% (38)
- C2% (1)
- D7% (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.
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.
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.
Managing free extents via data dictionary tables describes dictionary-managed tablespaces (the legacy method), which is the opposite of locally managed tablespaces.
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
Community Discussion
No community discussion yet for this question.