Oracle Database Administration

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

The Architecture of Oracle
ArrayExpress Oracle DBA Ahmet Oezcimen. Agenda 1. Tasks 2. System Overview 3. Oracle DB System 4. Database Monitoring 5. Database Security 6. Performance.
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
Management Information Systems, Sixth Edition
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 15 Database Administration and Security.
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
Oracle 10g Database Administrator: Implementation and Administration
Oracle Database Administration
MI807: Database Systems for Managers Introduction –Course Goals & Schedule –Logistics –Syllabus Review Relational DBMS Basics –RDBMS Role in Applications.
Database Administration ISQA 436 Fall 2006 Mark Freeman
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
Harvard University Oracle Database Administration Session 2 System Level.
Introduction to Database Management
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
MD807: Relational Database Management Systems Introduction –Course Goals & Schedule –Logistics –Syllabus Review RDBMS Basics –RDBMS Role in Applications.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
Oracle Architecture Client Computer Application Server Oracle Database Lan Or Internet Lan Or Internet Client Server Environment Application By Java or.Net.
Database Administration Chapter 16. Need for Databases  Data is used by different people, in different departments, for different reasons  Interpretation.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
1 CONCENTRXSept 2000 Our Perspective “Integration without an architecture is like doing a jigsaw puzzle on your lap “ – R Tessier We look at the big picture.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Data and Database Administration CISB344 Database 2  At the end of this chapter, you should be able to:  Define terms related to data & database administration.
IT – DBMS Concepts Relational Database Theory.
Database Systems: Design, Implementation, and Management Tenth Edition
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
Database Design - Lecture 1
Data Administration & Database Administration
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
I Copyright © 2004, Oracle. All rights reserved. Introduction.
Basic Oracle Architecture
CHAPTER 6 Users and Basic Security. Progression of Steps for Creating a Database Environment 1. Install Oracle database binaries (Chapter 1) 2. Create.
1Introduction Objectives 1-2 Course Objectives 1-3 Oracle Products 1-4 Relational Database Systems 1-5 How the Data Is Organized 1-6 Integrity Constraints.
CSE 781 – DATABASE MANAGEMENT SYSTEMS Introduction To Oracle 10g Rajika Tandon.
Oracle9i Performance Tuning Chapter 1 Performance Tuning Overview.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
A Guide to Oracle9i1 Database Instance startup and shutdown.
1 Copyright © 2004, Oracle. All rights reserved. Introduction.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 15 Database Administration and Security.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 12 Understanding database managers on z/OS.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
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.
CSCI 3140 Module 6 – Database Security Theodore Chiasson Dalhousie University.
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.
Database Administration
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown President System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2003.
Chapter 12 Database Administration and Security Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
3 Copyright © 2005, Oracle. All rights reserved. Creating an Oracle Database.
Week 1 Lecture 1 Oracle Architecture Overview. Learning Objectives Learn about Oracle9i architecture and key Oracle9i software components Discover differences.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
Oracle 10g Database Administrator: Implementation and Administration Chapter 10 Basic Data Management.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Oracle Database Architectural Components
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
Feature Overview Oracle Explorer – browse and alter schema Wizards and Designers Automatic code generation PL/SQL Editor with IntelliSense Oracle Data.
Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.
Maximum Availability Architecture Enterprise Technology Centre.
Introduction.
Introduction of Week 3 Assignment Discussion
Oracle Architecture Overview
Database administration
Presentation transcript:

Oracle Database Administration Session 1 CSCI E-256 Introduction The Role of the DBA

Introduction What is Database ? What is Database Administration ? What is an Oracle DBA ? What do they do ? How do they do it ?

The Database Most people view a database as the collection of data from a business An application presents this data to the users in a manageable way. The application can insert, delete or update the data. The database structures hold and manipulate this data

The Database The Data is stored in Relational Tables, defined by Columns Data is stored as Rows in a table These tables can then be related to each other, using relationships The database enforces these relationships

Types of Database Online Transaction Processing (OLTP) – Amazon.com Decision Support (DSS) – OLTP database used for reports Operational Data Store (ODS) – OLTP database plus summary data Data Warehouse – special set of structures, star schema

OLTP Online Transaction Processing Data dependency Model Many-to-many relationships Many-to-one relationships If we have more detailed data, it must be better Normalization

Operational Data Store (ODS) An ODS has been defined as Subject oriented Integrated Volatile Current valued Comprised of only corporate detailed data

Data Warehouse A Data Warehouse is a collection of integrated, subject-oriented databases designed to support the DSS (decision support) function, where each unit of data is relevant for some moment in time W. H. Inmon The data should be Well defined Consistent Non-volatile (read-only)

Data Warehouse Any information, from anywhere, of anytime, from internal and external data sources This includes operational, historical and legacy data It can also include data from Internet service providers and subscription databases It must include Metadata ( data about data)

Applications Most are Web based. SQL (sequel) is a language used to interface with various rdbms environments Embedded SQL (Java, C++, etc)

The Oracle DBA What is the Role of the DBA Newer Issues Planning, design and development Ongoing maintenance Data Administrator Security Newer Issues Uptime Backups with shorter windows Larger environments More visible

The Oracle DBA Roles The Systems or Operational DBA The Architect The Applications DBA The Data DBA The Internet DBA – Webmaster

The DBA Tasks Software Installation Software Additions Software Upgrades Database Creation Database Standards Performance Security

DBA Tasks Software Installation Software Additions Software Upgrades Setup the initial environment Software Additions Software Upgrades What are the current releases

DBA Tasks Log SR’s (Service Request) Applying Patches System Tuning System level Database level Application level

DBA Tasks Database Issues Move/Copy a database Development Issues Database Standards Security policies

DBA Tasks Education of others Reading, magazines… Third Party Software Monitoring Tools Automation

How DBAs spend their time Install 6% Create and Configure 12% Load Data 6% Manage Database System 55% Note: DBA time allocation statistics are based on the IOUG 2001 DBA Survey. Maintain Software 6%

The Past and the Present Environment Limited scalability, no resource sharing Must be configured for peak loads, when implemented Single points of failure Slow to adjust to the new needs of the business Islands of computation

Grid Computing Storage Grid Database Grid Application Server Grid Control

Grid Vision Computing as a utility Client-side: Simplicity A network of clients and service providers Cloud Computing Virtualization Nothing more virtual than a utility Massive potential Client-side: Simplicity Request computation or information and receive it Server-side: Sophistication Availability, reliability, security Capacity on demand, load balancing

The E-256 Course …. System level issues Installation of the RDBMS software Adding more software options Upgrading to a new level of the RDBMS and the issues related to this Applying patches to the RDBMS

The E-256 Course …. Create a database “instance” Database Security, create users, roles … Create database objects, tables, indexes, etc. Examine the storage parameters the database objects above Oracle utilities, export, import, etc Database Networking Issues

The E-256 Course …. How to manage the database using database “views” How to “backup” the database How to “recover” the database Performance management How to get help from Oracle Oracle Enterprise Manager

The Approach Where does the database fit in the big picture The technical architecture of an application Frameworks (examples) Management Performance Backup/Recovery Security

The Approach Knowledge Work Research Methods Scenario Thinking Project Management An Intentional Methodology

The Instance What is an Oracle database A database instance (server) is a set of memory structures and background processes, that access a set of database files The memory structure is the SGA (System Global Area)

The Physical World The computer system The operating system Memory Storage Processors Daemons printers Networks Files

The Logical World A Tablespace is a logical division of a database. Each tablespace is made up of one or more files, called datafiles. A datafile belongs to one tablespace A table is a logical structure, inside a tablespace

Oracle Flexible Architecture (OFA) /u01 - Oracle Base and Oracle Home /u01/app/oracle Oracle Base directory /u02 - The Application Home /u03 - General Usage /u04 - Oracle Datafiles

Oracle Flexible Architecture (OFA) /u05 thru /u09 /u04/oradata/<SID> Example: /u04/oradata/test SID is the database identifier

Oracle Directory Structure

Database Structures Three Types Internal to the Database Memory Based (SGA and Processes) External to the Database

Internal Database Structure Examples Table The only way to store data in a database Indexes It is a partial copy of a table, used to help speed up accessing the data in the table Views A method of looking at “some” of the data in a table or group of tables

Internal Database Structures Procedures Blocks of PL/SQL statements, called by applications They do not return a value to the calling program Functions Like a procedure, but can return a value to the calling program.

Internal Database Structures Packages These hold procedures and functions in logical groups A package can have PUBLIC and PRIVATE elements Public, would be procedures for a USERS usage Private may be called by other procedures in the package

Internal Database Structures Triggers Procedures that execute when a specific event occurs Used to augment referential integrity, enforce additional integrity Statement triggers Row triggers

Internal Database Structures Sequences Sequential lists of unique numbers Used as primary Keys Users Schemas Database Links Undo Segments (rollback segments)

Memory Structures System Global Area (SGA) Unix level processes Part of the System Memory Unix level processes

The System Information on a computer is stored in bytes Bytes are grouped into Blocks The Operating System usually has 512 bytes in a block 1K = 1024 bytes Oracle data is also stored in bytes Oracle data blocks are in 2k,4k,8k,16, or 32k bytes

The System Oracle data blocks are multiples of the Operating System blocks The computer memory uses the same block sizes as the disk storage Space allocation

Security Users and Roles Security Patching Advanced Security Option Sql*net encryption Application level security Sql injection

The Learning Environment Distance Option Blog Method TA session Online TA session Elluminate Website Books

Website Website at http://courses.fas.harvard.edu/ext/22750 www.elluminate.com

How do you know you got it Understand the Concepts Be able to create a maintainable database Walk-away with a framework approach Understand where that database fits within the technology stack The Future Security Auditing High Availability Semantic Web

Security Framework

Environment Boundaries

Strategic and Tactical

Overall Strategic and Tactical System Level Database Level