Database Storage Structures

Slides:



Advertisements
Similar presentations
The Architecture of Oracle
Advertisements

Module 2: Database Architecture
Introduction to Oracle
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
Oracle Architecture. Instances and Databases (1/2)
ITEC474 Control File Maintenance
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
Basic Storage Concepts and Settings
1 - Oracle Server Architecture Overview
Harvard University Oracle Database Administration Session 2 System Level.
Harvard University Oracle Database Administration Session 5 Data Storage.
10 Copyright © 2009, Oracle. All rights reserved. Managing Undo Data.
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Backup and Recovery Part 1.
Chapter 5 Configuring the RMAN Environment. Objectives Show command to see existing settings Configure command to change settings Backing up the controlfile.
Oracle Architecture Client Computer Application Server Oracle Database Lan Or Internet Lan Or Internet Client Server Environment Application By Java or.Net.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Backup & Recovery Concepts for Oracle Database
Oracle Database Administration
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
Oracle Database Administration Database files Logical database structures.
IT Database Administration Section 03. Tablespaces and the DBA  Important for DBAs – logical units of database storage Made up of physical operating-system.
Database Administration TableSpace & Data File Management
CHAPTER 2 Implementing a Database. Introduction to Creating Databases After you’ve installed the Oracle software, the next logical step is to create a.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Chapter 7 Making Backups with RMAN. Objectives Explain backup sets and image copies RMAN Backup modes’ Types of files backed up Backup destinations Specifying.
CSE 781 – DATABASE MANAGEMENT SYSTEMS Introduction To Oracle 10g Rajika Tandon.
7202ICT Database Administration Lecture 7 Managing Database Storage Part 2 Orale Concept Manuel Chapter 3 & 4.
Extents, segments and blocks in detail. Database structure Database Table spaces Segment Extent Oracle block O/S block Data file logical physical.
4 Copyright © 2006, Oracle. All rights reserved. Recovering from Noncritical Losses.
Database Systems Slide 1 Database Systems Lecture 5 Overview of Oracle Database Architecture - Concept Manual : Chapters 1,8 Lecturer : Dr Bela Stantic.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
A Guide to Oracle9i1 Database Instance startup and shutdown.
Backup and Recovery Overview Supinfo Oracle Lab. 6.
7 Copyright © 2004, Oracle. All rights reserved. Recovering from Noncritical Losses.
Database structure and space Management. Database Structure An ORACLE database has both a physical and logical structure. By separating physical and logical.
Introduction to Oracle. Oracle History 1979 Oracle Release client/server relational database 1989 Oracle Oracle 8 (object relational) 1999.
7 Copyright © 2005, Oracle. All rights reserved. Managing Undo Data.
Database structure and space Management. Segments The level of logical database storage above an extent is called a segment. A segment is a set of extents.
Week 3 Lecture 2 Basic Storage Concepts and Settings.
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
Oracle 10g Database Administrator: Implementation and Administration Chapter 5 Basic Storage Concepts and Settings.
Managing Tablespaces and Data Files
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
Database structure and space Management. Database Structure An ORACLE database has both a physical and logical structure. By separating physical and logical.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
Physical Database Structure .
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
I NTRODUCTION OF W EEK 2  Assignment Discussion  Due this week:  1-1 (Exam Proctor): everyone including in TLC  1-2 (SQL Review): review SQL  Review.
What is Oracle ? Oracle is a relational database management system. It is a management system which uses the relational data model. In the relational data.
8 Copyright © Oracle Corporation, All rights reserved. Managing Tablespaces and Data files.
Oracle Database Architectural Components
Initialization Parameters
Database structure and space Management
Oracle 10g Database Administrator: Implementation and Administration
Database structure and space Management
Recovering from Noncritical Losses
Physical Database Structure .
Introduction To Oracle 10g
Storage Structure and Relationships
Managing Tablespaces and Data Files
ISYS366, Oracle Disk Internals
Database administration
Presentation transcript:

Database Storage Structures Logical structures such as tablespaces are created and recognized by the database only. It is unknown to OS. Physical structures are those that can seen and operated on from the OS, such as the physical files that store data on disk Recovery related structures such as redo logs and database backups are used to recover the database after an OS failure, Oracle Instance failure, or media failure. CS5614 Database Management Systems VirginiaTech

CS5614 Database Management Systems VirginiaTech

Tablespace The logical structure of the database consists of tablespace, segments and extents. Tablespace is an area where Oracle places new objects. A tablespace is a logical group of one or more physical datafiles or tempfiles. Database contains one or more tablespaces. CS5614 Database Management Systems VirginiaTech

Blocks, Extents & Segments The units of database space allocation are data blocks, extents, and segments Block: At the finest level of granularity, Oracle stores data in data blocks. Extent: An extent is a specified number of contiguous data blocks allocated for storing a specific type of information Segment: A segment is a set of extents, each of which has been allocated for a specific data structure. Each table data is stored in its own segment. CS5614 Database Management Systems VirginiaTech

Blocks, Extents, and Segments CS5614 Database Management Systems VirginiaTech

PCTFREE & PCTUSED CS5614 Database Management Systems VirginiaTech

Types of tablespaces Permanent tablespaces: These tablespaces are used to store system and user data. Eg: USERS, SYSTEM Temporary tablespaces: These tablespaces improves the concurrency of multiple sort operations, and reduce their overhead. Eg: sorting, grouping Undo tablespace: Oracle database creates and manages undo data in this tablespace. Undo data: Oracle makes a copy of the original data before modifying it. The original copy is called undo data CS5614 Database Management Systems VirginiaTech

Physical structures Datafiles: These are the OS files that hold database data. The data is written to these files in a Oracle-proprietary format that cannot be read by programs other than Oracle database. Tempfiles:These are the special class of datafiles that are associated with temporary tablespaces. Control file is a binary file that keeps track of all the files' Oracle needs and where they are on the host machine. CS5614 Database Management Systems VirginiaTech

Physical structures (continued)‏ Server parameter file: This file contains all initialization parameters that Oracle Database uses. Password file: used to authenticate a user who is logging in remotely as user SYS. CS5614 Database Management Systems VirginiaTech

CS5614 Database Management Systems VirginiaTech

References Oracle® Database Express Edition 2 Day DBA 10g Release 2 (10.2)‏ Oracle Database Adminstrator's reference 10g Release (10.1)‏ http://www.oracle.com/technology/documentation/database10g.html http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10739/ tspaces.htm#i1006157 http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/o nlineredo001.htm http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/lo gical.htm CS5614 Database Management Systems VirginiaTech