Managing Database Storage Structures

<back to oca>

Describe how table row data is stored in blocks (concept cap 2)

data blocks, extents and segments. A database can have five data block sizes.

Define the purpose of tablespaces and data files

Tablespaces physically group schema objects for administration convenience.

Explain space management in tablespaces

Extent management local (uniform or autoallocate) or dictionary, segment space management automatic or manual (freelist). Bigfile tablespace, only locally managed, only one file max 32 TB

Create tablespaces

Manage tablespaces: alter, drop, take offline, put online, add data files, make read-only or read-write, generate DLL

alter tablespace USERS read only
alter tablespace USERS read write
select DBMS_METADATA.GET_DDL(‘TALESPACE’,’USERS’) FROM DUAL;

Obtain tablespace information

v$tablespace only name, number, flashback_on. DBA_TABLESPACE also block size, status, content type (undo, temporary, permanent), dictionary or locally managed, segment space management mode (auto or manual).

Explain key features and benefits of ASM (administrators guide, cap 12)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: