Storage Structure and Relationships

Slides:



Advertisements
Similar presentations
CHAPTER 4 Tablespaces and Datafiles. Introduction After installing the binaries, creating a database, and configuring your environment, the next logical.
Advertisements

11 Copyright © Oracle Corporation, All rights reserved. Managing Tables.
The Architecture of Oracle
Module 2: Database Architecture
5 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
Oracle Architecture. Instances and Databases (1/2)
School of Computing and Management Sciences © Sheffield Hallam University The slowest task in any record retrieval is reading from disk (It can be 500.
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2007 all rights.
Primer on Structure& Storage Analysis Primer on Structure & Storage Analysis This presentation is supposed to give a simple and brief overview for storage.
Basic Storage Concepts and Settings
12 Copyright © Oracle Corporation, All rights reserved. Managing Indexes.
Harvard University Oracle Database Administration Session 5 Data Storage.
Chapter 4 Physical Database Layouts Database Processing Chapter 4.
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.
9/11/2015ISYS366 - Week051 ISYS366 – Week 5-6 Database Tuning - User and Rollback Data Spaces, Recovery, Backup.
Oracle Database Architecture An Oracle server: –Is a database management system that provides an open, comprehensive, integrated approach to information.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
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.
Copyright © Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
An Oracle server:  Is a database management system that provides an open, comprehensive, integrated approach to information management.  Consists.
9 Storage Structure and Relationships. 9-2 Objectives Listing the different segment types and their uses Controlling the use of extents by segments Stating.
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 7 Basic Table Management.
15 Copyright © 2006, Oracle. All rights reserved. Performance Tuning: Summary.
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.
Oracle 10g Database Administrator: Implementation and Administration Chapter 7 Basic Table Management.
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.
14 Copyright © 2006, Oracle. All rights reserved. Tuning Block Space Usage.
5 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
Week 4 Lecture 2 Advanced Table Management. Learning Objectives  Create tables with large object (LOB) columns and tables that are index-organized 
Database Storage Structures
Locally Managed Tablespaces in Oracle8i Raghav Vinjamuri
Harvard University Oracle Database Administration Session 6 Object Storage.
6 Copyright © 2007, Oracle. All rights reserved. Managing Database Storage Structures.
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown President System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2003.
Oracle 10g Database Administrator: Implementation and Administration Chapter 5 Basic Storage Concepts and Settings.
Managing Tablespaces and Data Files
The Self-managing Database: Proactive Space and Schema Object Management Amit Ganesh Director, Data, Space and Transaction Processing Oracle Corporation.
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
IT Database Administration Section 07. Space Management Managing Space: An Introduction  Organizing database storage is a major responsibility.
G Copyright © 2006, Oracle. All rights reserved. Miscellaneous Topics.
Chapter 3 Logical Database Layouts Database Processing Chapter 3 - OFA.
Database structure and space Management. Database Structure An ORACLE database has both a physical and logical structure. By separating physical and logical.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
Dale Roberts 1 Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
Physical Database Structure .
IT Database Administration Section 05. Rollback Segments: An Introduction  What are they?  Space within a database used to store “before” images.
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.
Select Operation Strategies And Indexing (Chapter 8)
8 Copyright © Oracle Corporation, All rights reserved. Managing Tablespaces and Data files.
Oracle Database Architectural Components
Data, Space and Transaction Processing
Database structure and space Management
Database Tuning - User and Rollback Data Spaces, Recovery, Backup
Storage Structure and Relationships
Oracle 10g Database Administrator: Implementation and Administration
Database structure and space Management
Physical Database Structure .
Introduction To Oracle 10g
Managing Indexes.
Managing Tables.
Managing Tablespaces and Data Files
ISYS366, Oracle Disk Internals
Database administration
Presentation transcript:

Storage Structure and Relationships

Database Storage Hierarchy Tablespace Data file Logical Segment Physical Extent Oracle block O/S block

Database Block: Review Minimum unit of I/O Consists of one or more O/S blocks Set by DB_BLOCK_SIZE Set at database creation

Database Block Contents Header Free space Data

Block Space Utilization Parameters INITRANS MAXTRANS PCTFREE PCTUSED

Block Space Usage Inserts Inserts 1 2 Inserts Inserts 3 4 PCTFREE=20 PCTUSED=40 Inserts Inserts 80% 1 2 Inserts 80% Inserts 40% 3 4

Organizing Tablespaces Based on Fragmentation Propensity SYSTEM TOOLS DATAn INDEXn RBSn TEMPn Usage Data dictionary Applications Data segments Index segments Rollback segments Temporary segments Fragmentation Zero Very low Low High Very high* * Relevant only if tablespace PERMANENT

Summary Allocation and deallocation of extents for different types of segments Block space utilization parameters