Introduction to Database storage

Слайд 2

Overview

Oracle Database 11g - Architecture
Connection to Oracle
Oracle Database Data Files -

Overview Oracle Database 11g - Architecture Connection to Oracle Oracle Database Data
Storage Example
The Memory Structures Oracle Database
I/O Process Oracle Database
Select, Update, Insert Operations

Слайд 3

Oracle Database 11g Architecture

Oracle Database 11g Architecture

Слайд 4

Oracle Database 11g - Architecture

Oracle Database 11g - Architecture

Слайд 5

Connection to Oracle

Connection to Oracle

Слайд 6

Connection to Oracle – Dedicated Server

Connection to Oracle – Dedicated Server

Слайд 7

Connection to Oracle – Shared Server

Connection to Oracle – Shared Server

Слайд 8

Oracle Database Data Files - Storage

Oracle Database Data Files - Storage

Слайд 9

A Brief Review of File System Mechanisms

“Cooked” operating system (OS) file systems:

A Brief Review of File System Mechanisms “Cooked” operating system (OS) file
You can use simple OS utilities such as xcopy on Windows or cp on UNIX to move them around. Cooked OS files are historically the most popular method for storing data in Oracle, but I see that changing with the introduction of ASM (more on that in a moment).
Raw partitions: These are not files—these are raw disks. You don’t ls them; you don’t review their contents in Windows Explorer. They are just big sections of disk without any sort of file system on them. The entire raw partition appears to Oracle as a single large file. This is in contrast to a cooked file system, where you might have many dozens or even hundreds of database data files
Automatic Storage Management (ASM): This is a new feature of Oracle 10g Release 1. In releases prior to 11g Release 2, ASM is a file system designed exclusively for use by the database. ASM is designed to work in either a single machine or clustered environment. Since Oracle 11g Release 2, ASM provides not only this database file system but optionally a clustered file system as well, which is described next.
Clustered file system: This is specifically for a RAC (clustered) environment and provides what looks like a cooked file system that is shared by many nodes (computers) in a clustered environment. A traditional cooked file system is usable by only one computer in a clustered environment.

Слайд 10

The Storage Hierarchy in an Oracle Database

Segments are the major organizational structure

The Storage Hierarchy in an Oracle Database Segments are the major organizational
within a tablespace. Segments are simply your database objects that consume storage—typically objects such as tables, indexes, undo segments, and so on. Most times, when you create a table, you create a table segment.
Extents: Segments consist of one or more extent. An extent is a logically contiguous allocation of space in a file. Traditionally, every segment starts with at least one extent.
Blocks: Extents, in turn, consist of blocks. A block is the smallest unit of space allocation in Oracle. Blocks are where your rows of data, or index entries, or temporary sort results are stored. 

Слайд 11

Data Block – PCTFREE , PCTUSED

In many cases, the OLTP database might

Data Block – PCTFREE , PCTUSED In many cases, the OLTP database
be using a small block size, such as 2KB or 4KB, whereas the DW would be using a much larger one (8KB or 16KB).
Often for OLAP tables very important follow best practices with technical attributes PCTFREE and PCTUSED.

Слайд 12

The Memory Structures Oracle Database

The Memory Structures Oracle Database

Слайд 13

The Memory Structures Oracle Database

The Memory Structures Oracle Database

Слайд 14

Select, Update, Insert Operations

Select, Update, Insert Operations

Слайд 15

Select, Update, Insert Operations

Select, Update, Insert Operations
Имя файла: Introduction-to-Database-storage.pptx
Количество просмотров: 40
Количество скачиваний: 0