Professional Documents
Culture Documents
Database Fundamentals 1
Database Fundamentals 1
Open Source 34
Agenda
What is Database?
Types of databases
DBMS (Database Management System)
E.R.D (Entity Relationship Diagram)
2
What is database
3
What is database?
Database :
Organized collection of logically related data
Data :
Known facts
Types: text, graphics, images, sound, videos
4
What is database? Cont'd
Examples of Database :
5
What is database? Cont'd
Examples of Database :
6
Types of database
7
Types of database
Flat-file
Hierarchical
Network
Relational
Object-relational
8
Types of database cont'd
• Personal • 1 • Desktop/Laptop/ • MB
• PDA
Flat-file system :
It is a collection of programs that perform services for the
end user. Each Program defines and manages its own
data
10
Types of database cont'd
Characteristics:
12
Types of database cont'd
Relational database :
- Controlling Redundancy.
- Sharing data.
- Inconsistency can be avoided
14
DBMS
15
DBMS
Database System:
The DBMS software together with the data itself.
Sometimes, the applications are also included.
( Software + Database )
16
DBMS cont'd
• Users
• Database System
• Application Programs
• Stored DB
• Stored
• Definition
• Database
• (Metadata)
17
DBMS cont'd
18
DBMS
Advantages :
Controlling Redundancy.
Restricting Unauthorized Access.
Sharing data.
Enforcing Integrity Constraints
Inconsistency can be avoided.
Providing Backup and Recovery.
19
DBMS
Disadvantages :
It needs expertise to use (which is expensive)
DBMS itself is expensive
The DBMS may be incompatible with any other available
DBMS
20
ERD
21
ERD
22
ERD cont'd
24
ERD cont'd
25
ERD cont'd
Types of Attributes :
Key
Multi-valued
Composite
Derived
26
ERD cont'd
Types of Attributes :
Key
Multi-valued
Composite
Derived
27
ERD cont'd
Relationships :
Cardinality : (one 2 one – many 2 one – many 2 many)
28
LET's
Have FUN
29
Thank
You
30