Professional Documents
Culture Documents
Session 1
Harvard University
Introduction
What do they do ?
How do they do it
Harvard University
How DBAs spend their time
heir Time
Manage Database
System 55%
Maintain
Software 6%
Harvard University
What is a Database?
Harvard University
Types of Database
Harvard University
OLTP
Harvard University
Operational Data Store (ODS)
Harvard University
Data Warehouse
Harvard University
Data Marts
Harvard University
Applications
Web based
SQL (sequel)
Harvard University
The Oracle DBA
Harvard University
DBA Roles
Harvard University
DBA Role
The Architect
– Works with the application development team
– Knows the operational side, so develops
solutions that are easier to maintain
– Change management procedures
Harvard University
DBA Role
Harvard University
DBA Role
Harvard University
DBA Role
Harvard University
The DBA Tasks
Software Installation
– Setup the initial environment
– Advise the System administrators
Software Additions
Software Upgrades
– What are the current releases
– Are they stable
Harvard University
The DBA Tasks
Harvard University
The DBA Tasks
Database Issues
Move/Copy a database
Development Issues
Database Standards
Security policies
Harvard University
The DBA Tasks
Education of others
Reading, magazines…
Third Party Software
Monitoring Tools
Automation
Harvard University
Islands of Computation
Harvard University
Grid Computing
Application Server
Storage Grid Database Grid Grid
Grid
Control
Harvard University
Grid Vision
Computing as a utility
– A network of clients and service providers
Client-side: Simplicity
– Request computation or information and receive it
Server-side: Sophistication
– Availability, reliability, security
– Capacity on demand, load balancing
Virtualization
– Nothing more virtual than a utility
– Massive potential
Harvard University
Oracle 10g
Harvard University
Database Management
Challenges
Application
and SQL
Management
System
Storage
Resource
Management
Management
Backup and
Space
Recovery
Management
Management
Harvard University
This Course ….
Harvard University
This Course ….
Harvard University
This Course ..
Harvard University
This Course ….
Harvard University
Database 101
Harvard University
The Instance
Harvard University
The Physical World
Harvard University
Oracle Directory Structure
/u 0 1 /a p p /o r a c le ($ O R A C L E _ B A S E )
a d m in p ro d u c t
Harvard University
The Logical World
Three Types
– Internal to the Database
Harvard University
Internal Database Structures
Tables
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
Harvard University
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.
Harvard University
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
Harvard University
Internal Database Structures
Triggers
– Procedures that execute when a specific event
occurs
– Used to augment referential integrity, enforce
additional integrity
– Statement triggers
– Row triggers
Harvard University
Internal Database Structures
Sequences
– Sequential lists of unique numbers
– Used as primary Keys
Users
Schemas
Database Links
Undo Segments (rollback segments)
Harvard University
Website
http://courses.dce.harvard.edu/~cscie256/
Discussion Board
Harvard University
Reading
Harvard University