Professional Documents
Culture Documents
ENTERPRISE MODEL
REQUIREMENT OF INFORMATION
REQUIREMENT OF MATERIALS
AS PER PLAN
■ PHYSICAL MODELS.
★ Relational model
★ Network model
★ Hierarchical model
PHYSICAL MODELS.
★ Unifying model
★ Frame-memory model
Database System Concepts 2.8 ©Silberschatz, Korth and Sudarshan
What is this Object based Logical Model
★ Entities (objects)
✔ E.g. customers, accounts, bank branch
ANJU TIRUVALLA
PATTA CHE’CHERY
MARY ANAIYUR
KUND KESTOPUR
U
NISHU RANCHI
★ Example:
(Sridhar, A-102) depositor
Database System Concepts 2.16 ©Silberschatz, Korth and Sudarshan
Relationship Set borrower
customer-id customer- customer- customer- loan- amount
name street city number
ANJU TIRUVALLA
PATTA CHE’CHERY
MARY ANAIYUR
KUND
KESTOPUR
U
NISHU RANCHI
MADA
NEW DELHI
N
MUKH KOLKATA
U
the better we understand the data,
the more effective
the discovery and retrieval will be.
■
■
★ Relational model
★ Network model
★ Hierarchical model
PHYSICAL MODELS.
★ Unifying model
★ Frame-memory model
Employe
Employe
Employee ee Project A Project B
1 22
Relational Structure
Dept Dname Dloc Dmgr Empno Ename Etitle Dept
A 1 A
B 2 B
C 3 C
SYSTEM CRASH
DBMS
■ Primary key
1. Simple Primary key
2. Composite Primary Key
■ Secondary Key
■ Foreign Key
■ Reference Key
------------------------------------------------------------------------------
Primary key: Unique identifier attribute for an entity.
Simple Primary key : Based on single attribute
Composite Primary Key : Based on two or more attributes
Secondary Key : All attributes which is not primary
Foreign Key : Primary key in one table, which is not primary in another table.
Reference Key: Column in child table, which is referred by primary key by parent
table.
■ OPERATIONAL DATABASE
■ ANALYTICAL DATABASE
■ DATA WAREHOUSING
■ DISTRIBUTED DATABASE
■ HYPERMEDIA DATABASE
★ TRANSACTION DATABASE
★ MARKETING DATABASE
★ PRODUCTION DATABASE
★
■ STORE INFORMATION RELATED TO DAY TO DAY OPERATIONS,
RELATED TO
★ CUSTOMERS
★ INVENTORY
★ EMPLOYEES
According to W.H.Inmon
Data
warehouse
(1) The efficient discovery of previously
unknown, valid, potentially useful,
understandable patterns in large
datasets
(2) The analysis of (often large)
observational data sets to find
unsuspected relationships and to
summarize the data in novel ways that
Database System Conceptsare both understandable and useful to
2.74 ©Silberschatz, Korth and Sudarshan
What is Data Mining?
Data mining can be viewed as an advanced stage
of On-line Analytical Processing (OLAP).
However, data mining goes far beyond the narrow
scope of summarization style analytical processing of
data warehouse systems by incorporating more
advanced techniques for data understanding.
★Associations
Database System Concepts 2.77 ©Silberschatz, Korth and Sudarshan
Database System Concepts 2.78 ©Silberschatz, Korth and Sudarshan
OLTP AND OLAP
Sir/Madam,
I have deposited a US cheque for $250, about 15 days back,
through Lloyds Road ATM center. I would like to get confirmation
of receipt of this cheque, as well as approximate time to realise
the cheque, please.
Thanking you,
T Mohanakrishnan.
Dear Customer,
Thank you for writing to us. This auto acknowledgement confirms the
receipt of your e-mail. This interaction is being tracked through the
subject line. We request you not to change the subject line.
If you are an existing account holder and have not mentioned your
Customer Identification Number / Account Number in your earlier mail,
please re-send your mail with the details.
Please ignore this message if you have quoted your Customer
Identification Number / Account Number.
We will get back to you shortly.
Warm regards,
HDFC Bank Ltd
• Encapsulation
• Inheritance
• Polymorphism
• Aggregation :
• Inheritance: New object classes can be derived from another class (the super-class)
by inheritance. The new classes inherit the attributes and methods of the super-
class and offer additional attributes and operations. The relation between a
derived class and its super-class is called ``is A" relation because an instance of
the derived class also is an instance of the super-class.
•
• Polymorphism: This feature is closely connected to inheritance. Derived classes may
re-define methods of their super-class(es). This is very useful for achieving
class-specific behaviour using messages already available for the super-class.
■ DATA INDEPENDENCE:
Logical independence: not affected by a change in application program
Physical Independence: not affected by a change in data structure
■ SHARING OF DATA
Flexibility in accessing & viewing data by different users
Availability of data to existing as well as new applications.
■ DATA MAINTENANCE
★ Checking the integrity of the system and data
★ Provision for modification, addition, deletion of records
★
■ DATA SECURITY and REGULATION OF STANDARDS
System failure/ crash, backup
Unauthorised users
SOP, provision of pass words, DBA’s tasks