Suit # 3 2nd Floor Azam Tower Arbab Road Chowk Jamrud Road Peshawar
Suit # 3 2nd Floor Azam Tower Arbab Road Chowk Jamrud Road Peshawar
com
FAROOQ NAWAZ Senior Oracle Applications DBA, 11i, R12 Oracle 11g,10g,GRID,Apps Server,Data Guard, RAC DBA 0300-5847462
I-1
Introduction
Lesson Objectives
After completing this lesson, you should be able to do the following: List the features of Oracle10g Discuss the theoretical and physical aspects of a relational database Describe the Oracle implementation of the RDBMS and ORDBMS Understand the goals of the course
I-3
After completing this course, you should be able to do the following: Identify the major structural components of Oracle Database 10g Retrieve row and column data from tables with the SELECT statement
I-4
Create reports of sorted and restricted data Employ SQL functions to generate and retrieve customized data Run data manipulation language (DML) statements to update data in Oracle Database 10g Obtain metadata by querying the dictionary views
Copyright 2004, Oracle. All rights reserved.
Oracle10g
Scalability
One vendor
Reliability
Unified management
I-5
Oracle10g
I-6
Documents
Multimedia
Messages
I-7
Transactional applications
Business intelligence
Integration
Application server
I-9
I-10
Any browser
Development tools
System management
Internet applications Business logic Presentation and and data business logic Databases Application servers
SQL PL/SQL
Java
Network services
I-11
I-12
I-13
Electronic spreadsheet
I-14
Dr. E. F. Codd proposed the relational model for database systems in 1970. It is the basis for the relational database management system (RDBMS). The relational model consists of the following:
Collection of objects or relations Set of operators to act on the relations Data integrity for accuracy and consistency
I-15
I-16
Data Models
Entity model of clients model Table model of entity model Oracle server
Tables on disk
I-17 Copyright 2004, Oracle. All rights reserved.
Scenario
. . . Assign one or more employees to a department . . . . . . Some departments do not yet have assigned employees . . .
I-18
I-19
Attribute
Singular name Lowercase Mandatory marked with * Optional marked with o
assigned to
Attribute
Singular name Lowercase Mandatory marked with * Optional marked with o
assigned to
Each row of data in a table is uniquely identified by a primary key (PK). You can logically relate data from multiple tables using foreign keys (FK).
Table name: DEPARTMENTS
Primary key
I-22
I-23
5 6
I-24
I-25
A relational database: Can be accessed and modified by executing structured query language (SQL) statements Contains a collection of tables with no physical pointers Uses a set of operators
I-26
I-27
Oracle server
User tables
Data dictionary
I-28
SQL Statements
SELECT INSERT UPDATE DELETE MERGE CREATE ALTER DROP RENAME TRUNCATE COMMENT COMMIT ROLLBACK SAVEPOINT GRANT REVOKE Data manipulation language (DML)
Transaction control
I-29
DEPARTMENTS
I-30 Copyright 2004, Oracle. All rights reserved.
JOB_GRADES
Summary
Oracle Database 10g is the database for grid computing. The database is based on the object relational database management system. Relational databases are composed of relations, managed by relational operations, and governed by data integrity constraints. With the Oracle server, you can store and manage information by using the SQL language and PL/SQL engine.
I-31