Sunteți pe pagina 1din 35

LOGO

1
About Course

Course name
Oracle Database and Web Application
Date: From 25/5/2015

Place: Syrian Telecom Company

By
DBA.Mahmoud Al-Dabbas
DBA.Mahmoud Al-Dabbas 2
Class Format

1 Live Lectures By Slides & Documents

2 Discussion

3 Problem Solving

4 Workshop

5 Quizes

DBA.Mahmoud Al-Dabbas 3
Grading &
Evaluation
1 Assignments: 3 @ 5% each = 15% of grade.

2 Project: 1 @ 10% each = 10% of grade.

3 Midterm: 25% of grade

4 Final: 45% of grade.

5 5% for Teacher .

6 Attendance : not more 2 unjustified Absence


DBA.Mahmoud Al-Dabbas 4
Programs & Tools

1 Oracle Database 11g .

2 Oracle Database XE Edition.

3 Oracle Developer 10g.

4 Toad.

5 Web Tools .

DBA.Mahmoud Al-Dabbas 5
LOGOs

DBA.Mahmoud Al-Dabbas 6
Course Objectives

1 Database Architecture & Design.

2 Oracle Database Introduction.

3 Oracle Database 11g SQL Fundamentals I.

4 Oracle Database 11g SQL Fundamentals II.

5 Oracle Database 11g Program with PL/SQL.

DBA.Mahmoud Al-Dabbas 7
Database Architecture & Design

Head Lines

1 History of Database Systems

2 Database Management Systems (DBMS)

3 Types of Databases

4 Relational Model

5 Entity Relationship Diagrams

DBA.Mahmoud Al-Dabbas 8
1

Database Architecture & Design

History of Database Systems

DBA.Mahmoud Al-Dabbas 9
History of Database Systems

 Early Manual System :


 Before-1950s:
• Data was stored as paper records.
• Lot of man power involved.
• Lot of time was wasted e.g. when searching
• Therefore inefficient.
 Revolution began :
 1950s and early 1960s:
• Data processing using magnetic tapes for storage.
• Tapes provide only sequential access.
• Punched cards for input .
 Late 1960s and 1970s:
• Hard disks allow direct access to data.
• Data stored in files.
• Known as File Processing System.

DBA.Mahmoud Al-Dabbas 10
History of Database Systems
(contd.)

 File based systems :


 Adequate for small applications.

 Drawbacks :
• Separation and isolation of data.
• Each program maintains its own set of data.
• Users of one program may be unaware of potentially useful data
held by other programs.
 Duplication of data :
• Same data is held by different locations..
• Wasted space and potentially different values and/or different formats for
the same item.

 Data dependence:
• File structure is defined in the program code.

DBA.Mahmoud Al-Dabbas 11
History of Database Systems
File based systems (contd.)

 Incompatible file formats :


• Programs are written in different languages, and so cannot easily access
each other’s files.

 Fixed Queries/Proliferation of application programs :


• Programs are written to satisfy particular functions.
• Any new requirement needs a new program.

DBA.Mahmoud Al-Dabbas 12
History of Database Systems
Database Approach

 Arose because:
• Definition of data was embedded in application programs, rather than
being stored separately and independently.
• No control over access and manipulation of data beyond that imposed by
application programs.

 Result:
• The database and Database Management System (DBMS).

DBA.Mahmoud Al-Dabbas 13
2

Database Architecture & Design

Database Management Systems (DBMS)

DBA.Mahmoud Al-Dabbas 14
Database Management Systems.
DBMS

DBA.Mahmoud Al-Dabbas 15
Database Management Systems.
DBMS Benefits

 DBMS Benefits:
• Minimal data redundancy
• Consistency of data
• Integration of data
• Sharing of data
• Ease of application development
• Uniform security, privacy, and integrity controls
• Data accessibility and responsiveness
• Data independence
• Reduced program maintenance

DBA.Mahmoud Al-Dabbas 16
Database Management Systems.
Role and Advantages of the DBMS (cont)

DBA.Mahmoud Al-Dabbas 17
Database Management Systems.
Types of DBMS (cont)

 1960’S:

 The most important Hierarchical DBMS is IMS for IBM .

DBA.Mahmoud Al-Dabbas 18
Database Management Systems.
Types of DBMS (cont)

 1960’S:

DBA.Mahmoud Al-Dabbas 19
Database Management Systems.
Types of DBMS (cont)

 1960’S:

DBA.Mahmoud Al-Dabbas 20
Database Management Systems.
Types of DBMS (cont)

 1960’S:

DBA.Mahmoud Al-Dabbas 21
Database Management Systems.
Types of DBMS (cont)

 1970’S:

DBA.Mahmoud Al-Dabbas 22
Database Management Systems.
Types of DBMS (cont)

 1970’S:

DBA.Mahmoud Al-Dabbas 23
Database Management Systems.
Types of DBMS (cont)

 1970’S:

DBA.Mahmoud Al-Dabbas 24
Database Management Systems.
Types of DBMS (cont)

 1990’S:

DBA.Mahmoud Al-Dabbas 25
Database Management Systems.
Types of DBMS (cont)

DBA.Mahmoud Al-Dabbas 26
3

Database Architecture & Design

Types of Databases

DBA.Mahmoud Al-Dabbas 27
Database Architecture & Design

Types of Databases (cont)

 Why Database Design is Important??

• Defines the database’s expected use


• Different approach needed for different types of databases.
• Avoid redundant data
• Poorly designed database generates errors  leads to bad
decisions  can lead to failure of organization

 Why Database systems ?


• Problems inherent in file systems make using a database system desirable
• File system :Many separate and unrelated files
• Database :Logically related data stored in a single logical data repository

DBA.Mahmoud Al-Dabbas 28
Database Architecture & Design

Types of Databases

 Single-user:
• Supports only one user at a time.

 Desktop:
• Single-user database running on a personal computer .

 Multi-user:
• Supports multiple users at the same time.

 Workgroup :
• Multi-user database that supports a small group of users or a single
department

 Enterprise:
• Multi-user database that supports a large group of users or an entire
organization.

DBA.Mahmoud Al-Dabbas 29
Database Architecture & Design

Types of Databases (cont)

Can be classified by location :


 Centralized :
• Supports data located at a single site.

 Distributed :
• Supports data distributed across several sites.

Can be classified by use :


 Transactional (or production):
• Supports a company’s day-to-day operations .
 Data warehouse:
• Stores data used to generate information required to make tactical or
strategic decisions.
• Often used to store historical data .
• Structure is quite different .

DBA.Mahmoud Al-Dabbas 30
Database Architecture & Design

The Database System Environment

 Database system is composed of five main parts:

• Hardware
• Software :
Operating system software
DBMS software
Application programs and utility software
• People
• Procedures
• Data

DBA.Mahmoud Al-Dabbas 31
Database Architecture & Design

The Database System Environment (cont)

DBA.Mahmoud Al-Dabbas 32
Database Architecture & Design

DBMS Functions

 DBMS performs functions that guarantee integrity and consistency of data


• Data dictionary management
 defines data elements and their relationships
• Data storage management
 stores data and related data entry forms, report definitions, etc.
• Data transformation and presentation
 translates logical requests into commands to physically locate and retrieve
the requested data .
• Security management
 enforces user security and data privacy within database .
• Multiuser access control
 uses sophisticated algorithms to ensure multiple users can access the
database concurrently without compromising the integrity of the database .
• Backup and recovery management
 provides backup and data recovery procedures .
• Data integrity management
 promotes and enforces integrity rules
DBA.Mahmoud
. Al-Dabbas 33
Database Architecture & Design

DBMS Functions

DBA.Mahmoud Al-Dabbas 34
LOGO
Add your company slogan

35

S-ar putea să vă placă și