Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Objectives
After completing this lesson, you should be able to:
Describe the storage of table row data in blocks
Create and manage tablespaces
Obtain tablespace information
7-2
Table A
Blocks
Table B
Rows
Segment
Segment
Table
Tablespace
Row piece
7-3
Extent
Block header
Growth
Free space
Row data
7-4
7-5
7-6
7-7
7-8
7 - 10
SYSTEM
SYSAUX
TEMP
UNDOTBS1
USERS
EXAMPLE (optional)
Altering a Tablespace
7 - 12
7 - 14
Dropping Tablespaces
7 - 16
7 - 17
7 - 18
Description
DB_CREATE_FILE_DEST
DB_CREATE_ONLINE_LOG_DEST_n
DB_RECOVERY_FILE_DEST
Example:
SQL> ALTER SYSTEM SET DB_CREATE_FILE_DEST = '+DATA';
SQL> CREATE TABLESPACE tbs_1;
7 - 19
SYSTEM
tablespace
7 - 21
INVENTORY
tablespace
Quiz
A database can have a mixture of Oracle-managed and
unmanaged files.
1. True
2. False
7 - 22
Quiz
Bigfile Tablespaces must have 1 file of at least 100 MB.
1. True
2. False
7 - 23
Summary
In this lesson, you should have learned how to:
Describe the storage of table row data in blocks
Create and manage tablespaces
Obtain tablespace information
7 - 24
Practice 7 Overview:
Managing Database Storage Structures
This practice covers the following topics:
Creating tablespaces
Gathering information about tablespaces
7 - 25