Database Design & Management
Database Design & Management
&
Management
Contents (Summary)
• Concepts of Database Management
• Database Designing and Modelling
• Client-Server Architecture, Data Dictionaries
• SQL
– DDL,DML,Views ,Constraints
• Oracle SQL
• Distributed Database
• Object oriented database
• Database Administration
Method of Delivery
• Text Books
• Reference Book/s
• Lecture Slides
• Lab work (SQL)
• Helping notes or Reference website
(email)
Key to success
• Punctuality
• Hard work
• Practice
• Devotion
• Dedication
Text Book
(1) Modern Database Management By:
Fred McFadden, Jeffrey Hoffer, Mary Prescott 11th Edition, Addison Wesley
• integer
• floating point
• character, string
• date
• student record
• blob (binary large object)
Data in Context
Sales files
Sales
Contracts files
Contracts
File-based Systems
Duplicate
Data
Limitation of Computerized File-
based Approach
• Separation and Isolation of data
• Each application maintains its own set of data.
• Users of one application may be unaware of potentially
useful data held by other applications.
Duplication of data (data redundancy)
• Same data is held by different files.
Limited Data Sharing
No centralized control of data
Lengthy Development Times
Programmers must design their own file formats
Excessive Program Maintenance
80% of information systems budget
Limitation of File-based
Approach
• Accessibility
• Data is stored using programs that are written in
different languages and format
• Cannot easily access other files due to incompatible file
format.
• No control over access and manipulation of data beyond
that imposed by application programs.
• Hard Coded Queries (Data dependence)
• File structure and all definition of data are defined in the
application program code.
• Programs are written to satisfy particular functions /
requirements.
• Any new requirement needs a new program.
Problems with Data Dependency
Each application programmer must maintain
their own data
Each application program needs to include
code for the metadata of each file
Each application program must have its own
processing routines for reading, inserting,
updating and deleting data
Lack of coordination and central control
Non-standard file formats
Problems with Data
Redundancy
Database Processing
System
Database Processing
Sales
Application
Sales
DBMS
Database
Contracts
Application
Contracts
The DATABASE Approach
• Central repository of shared data
• Data is managed by a controlling
agent
• Stored in a standardized, convenient
form
Application
DBMS
#2
Database
containing
centralized
shared data
Application
#3 DBMS manages data
resources like an operating
system manages hardware
resources
Database Management System
(DBMS)
Borland Interbase
Database Management System
2. Software
DBMS itself and operating system, including any
network software if network is being used.
3. Data
Includes actual data used by the organization, and
description of data (schema). Also a system
catalog contains data such as the names of
authorized users.
Components of
DBMS Environment
4. Procedures
Instructions and rules that should be applied to the
design and use of the database, and the use of
the DBMS.
5. People
Data & Database Administrator
Database Designer :- Logical & Physical
Application Programmers
End Users
DBMS Environment
Bridge
Data
Software Procedures
Hardware People
Machine Human
Database System
Environment
Users/Programs
Application Programs/Queries
Software to Process
Queries/Programs