Oracle Database 12c Administrator (OCA)
1 Introduction to Oracle Database 12c
1-1 Overview of Oracle Database 12c
1-2 Oracle Database Architecture
1-3 Oracle Database Components
1-4 Oracle Database Installation
2 Oracle Database Administration
2-1 Database Creation and Configuration
2-2 Managing Tablespaces and Datafiles
2-3 Managing Users and Security
2-4 Managing Privileges and Roles
2-5 Managing Profiles
2-6 Managing Auditing
3 Oracle Database Storage Structures
3-1 Understanding Oracle Database Storage Structures
3-2 Managing Oracle Database Storage
3-3 Managing Oracle Database Segments
3-4 Managing Oracle Database Extents
3-5 Managing Oracle Database Blocks
4 Oracle Database Backup and Recovery
4-1 Introduction to Oracle Database Backup and Recovery
4-2 Oracle Database Backup Strategies
4-3 Oracle Database Recovery Strategies
4-4 Oracle Database Backup and Recovery Tools
4-5 Oracle Database Backup and Recovery Procedures
5 Oracle Database Performance Tuning
5-1 Introduction to Oracle Database Performance Tuning
5-2 Oracle Database Performance Tuning Tools
5-3 Oracle Database Performance Tuning Techniques
5-4 Oracle Database Performance Tuning Best Practices
6 Oracle Database High Availability
6-1 Introduction to Oracle Database High Availability
6-2 Oracle Database High Availability Features
6-3 Oracle Database High Availability Tools
6-4 Oracle Database High Availability Best Practices
7 Oracle Database Security
7-1 Introduction to Oracle Database Security
7-2 Oracle Database Security Features
7-3 Oracle Database Security Tools
7-4 Oracle Database Security Best Practices
8 Oracle Database Monitoring and Maintenance
8-1 Introduction to Oracle Database Monitoring and Maintenance
8-2 Oracle Database Monitoring Tools
8-3 Oracle Database Maintenance Tasks
8-4 Oracle Database Monitoring and Maintenance Best Practices
9 Oracle Database Cloud Services
9-1 Introduction to Oracle Database Cloud Services
9-2 Oracle Database Cloud Services Features
9-3 Oracle Database Cloud Services Tools
9-4 Oracle Database Cloud Services Best Practices
10 Oracle Database SQL and PLSQL
10-1 Introduction to Oracle Database SQL and PLSQL
10-2 Oracle Database SQL and PLSQL Syntax
10-3 Oracle Database SQL and PLSQL Functions
10-4 Oracle Database SQL and PLSQL Best Practices
11 Oracle Database Data Management
11-1 Introduction to Oracle Database Data Management
11-2 Oracle Database Data Management Tools
11-3 Oracle Database Data Management Techniques
11-4 Oracle Database Data Management Best Practices
12 Oracle Database Application Development
12-1 Introduction to Oracle Database Application Development
12-2 Oracle Database Application Development Tools
12-3 Oracle Database Application Development Techniques
12-4 Oracle Database Application Development Best Practices
Managing Oracle Database Extents

Managing Oracle Database Extents

1. Key Concepts

2. Extents

An extent is a logical unit of storage in an Oracle database that consists of a contiguous set of data blocks. Extents are used to allocate space for segments, which are collections of extents that store the actual data for database objects like tables, indexes, and clusters.

Example: Imagine an extent as a shelf in a library. Each shelf can hold a certain number of books (data blocks), and multiple shelves (extents) are grouped together to form a section (segment) of the library.

3. Segment

A segment is a collection of extents that belong to the same logical storage structure. Segments are created for specific database objects, such as tables, indexes, and temporary segments. Each segment is associated with a specific tablespace and is managed by Oracle to store and retrieve data efficiently.

Example: Consider a segment as a section in a library that contains all the books related to a specific subject. This section is made up of multiple shelves (extents), and all the books (data blocks) on these shelves belong to the same subject (segment).

4. Tablespace

A tablespace is a logical storage container within an Oracle database that groups related segments together. Each tablespace consists of one or more datafiles, which are the physical files on disk where the actual data is stored. Tablespaces are used to organize and manage data efficiently.

Example: Think of a tablespace as a library. The library contains multiple sections (segments), each with its own set of shelves (extents) and books (data blocks). The library itself is stored in one or more buildings (datafiles).

5. Datafile

A datafile is a physical file on disk that stores the actual data of the Oracle database. Each tablespace has one or more datafiles associated with it. These files are managed by the Oracle Database Management System (DBMS) and are essential for data persistence.

Example: Consider a datafile as a building that houses a library. The building (datafile) contains multiple sections (tablespaces), each with its own set of shelves (extents) and books (data blocks).

By understanding and effectively managing extents, segments, tablespaces, and datafiles, you can ensure the optimal performance, scalability, and reliability of your Oracle Database 12c environment.