Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Semestr2 / 1 - Oracle / Oracle selected docs / Database concepts.pdf
Скачиваний:
29
Добавлен:
12.05.2015
Размер:
6.96 Mб
Скачать

2

Data Blocks, Extents, and Segments

This chapter describes the nature of and relationships among the logical storage structures in the Oracle server. It includes:

Introduction to Data Blocks, Extents, and Segments

Data Blocks Overview

Extents Overview

Segments Overview

Data Blocks, Extents, and Segments 2-1

Introduction to Data Blocks, Extents, and Segments

Introduction to Data Blocks, Extents, and Segments

Oracle allocates logical database space for all data in a database. The units of database space allocation are data blocks, extents, and segments. Figure 2–1 shows the relationships among these data structures:

Figure 2–1 The Relationships Among Segments, Extents, and Data Blocks

Segment

96Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

Extent

Extent

 

24Kb

72Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

2Kb

Data Blocks

At the finest level of granularity, Oracle stores data in data blocks (also called logical blocks, Oracle blocks, or pages). One data block corresponds to a specific number of bytes of physical database space on disk.

The next level of logical database space is an extent. An extent is a specific number of contiguous data blocks allocated for storing a specific type of information.

2-2 Oracle9i Database Concepts

Соседние файлы в папке Oracle selected docs