Professional Documents
Culture Documents
FUNDAMENTALS OF DATABASE
MANAGEMENT SYSTEM
Application requires data access business rules for any of the following
circumstances:
Inserting, updating, deleting, and viewing data
Validating data
Controlling data security.
Handling multifiles data access.
Example: Customer Management, Inventory Tracking, Personnel Database,
Analysis
1.1.3 IMPORTANCE OF DATABASES TO
EVERYDAY LIFE
Planning
Analysis
Logical Design
Physical Design
Implementation
Maintenance
DATABASE DEVELOPMENT PROCESS
Purpose–preliminary understanding
Planning
Planning Deliverable–request for study
Analysis
Logical Design
Physical Design
Logical Design
Physical Design
Logical
Logical Design
Design
Physical Design
Physical Design
Physical Design
Logical Design
Physical Design
Database activity–
database implementation, Implementation
Implementation
including coded programs,
documentation, Maintenance
installation and conversion
DATABASE DEVELOPMENT PROCESS
Logical Design
Physical Design
Database activity–
database maintenance, Implementation
performance analysis
and tuning, error Maintenance
Maintenance
corrections
1.1.5 SHARING CONCEPT DATA IN DATABASE
1.1.6 PROPERTIES OF DATABASES
Completeness
Integrity
Flexibility
Efficiency
Usability
1.1.6 PROPERTIES OF DATABASES
Completeness Ensures that users can access the data they want.
Integrity Ensures that data is both consistent (no contradictory data) and correct (no
invalid data), and ensures that users trust the database.
Flexibility Ensures that a database can evolve to satisfy changing user requirements.
Efficiency Ensures that users do not have unduly long response times when accessing
data.
Usability Ensures that data can be accessed and manipulated in ways which match
user requirements.
UNDERSTAND DBMS
1.2.1 DEFINE DATABASE MANAGEMENT SYSTEM (DBMS)
1.2.2 DESCRIBE THE PURPOSE OF DATABASE SYSTEM
1.2.3 IDENTIFY VARIOUS COMMON DBMS
1.2.4 DISCUSS THE TRADITIONAL APPROACH TO INFORMATION PROCESSING
1.2.5 DISCUSS THE DISADVANTAGES OF THE TRADITIONAL APPROACH TO
INFORMATION PROCESSING
1.2.6 LIST THE IMPORTANCE OF HAVING DBMS
1.2.7 DESCRIBE THE TWO GENERIC DATABASE ARCHITECTURE: CENTRALIZED &
DISTRIBUTED
1.2.1 DBMS DEFINITION
Collection of interrelated data
Set of programs to access the data
DBMS contains information about a particular enterprise
DBMS provides an environment that is both convenient
and efficient to use.
Database Applications:
Banking: all transactions
Airlines: reservations, schedules
Universities: registration, grades
Sales: customers, products, purchases
Manufacturing: production, inventory, orders, supply chain
Human resources: employee records, salaries, tax deductions
Databases touch all aspects of our lives
1.2.2 PURPOSE OF DATABASE SYSTEM
In the early days, database applications were built on top of file systems
Drawbacks of using file systems to store data:
Data redundancy and inconsistency
Multiple file formats, duplication of information in different files
Security problems
Library
Hospital
University
Tourism
Organization
1.2.4 DISADVANTAGE OF TRADITIONAL
APPROACH IN INFORMATION
PROCESSING
Data Security
Data Redundancy
Data Isolation
Program/ Data Dependence
Lack Of Flexibility
Concurrent Access Anomalies
1.2.4 DISADVANTAGE OF TRADITIONAL
APPROACH IN INFORMATION PROCESSING
Data Security
constraints regarding accessing privileges.
Data Redundancy
a situation that occurs in a database when a field needs to be updated in more than one table
Data Isolation
a property that determines when and how changes made by one operation become visible to other
concurrent users and systems
Program/ Data Dependence
application programs are closely dependent on the files in which data is stored
Lack Of Flexibility
If we need unanticipated data, huge programming effort is needed to make the information available
The data stored in the flat file(s) can be easily accessible and hence it is not
secure.
Example:
Consider an online banking application where we store the account related information
of all customers in flat files. A customer will have access only to his account related
details. However from a flat file, it is difficult to put such constraints. It is a big security
issue.
DATA REDUNDANCY
Data Isolation means that all the related data is not available in one file.
Usually the data is scattered in various files having different formats.
Hence writing new application programs to retrieve the appropriate data is
difficult.
PROGRAM/ DATA DEPENDENCE
A useful and productive database management system allows brand managers to not just enter newer
information but also update the current information and also delete information that they do not require.
allows brand managers to maintain and build their data over successive years. The various tables in the
relational database management system allows brand mangers to search through their entire system for a
particular information.
1.2.7 CENTRALIZE AND DISTRIBUTED
DATABASE
Centralize
Distributed
Generally the client process requires some resource, which the server provides to
the client
Clients and servers can reside in the same computer, or they can be on different
computers that are networked together, usually:
Client – Workstation (usually a PC) that requests and uses a service. manages user
interface and runs applications.
Server – Holds database and DBMS.Computer (PC/mini/mainframe) that provides a
service. For DBMS, server is a database server.
CLIENT-SERVER ARCHITECTURE
Desktop databases:
Desktop databases are oriented toward single-user applications and reside on
standard personal computers .
Desktop databases offer an inexpensive , simple solution to many less
complex data storage and manipulation requirements.
Example: Microsoft Access, FoxPro, FileMaker Pro, Paradox and Lotus
Approach.
CATEGORIES OF DBMS
Server Databases
Server databases contain mechanisms to ensure the reliability and
consistency of data and are geared toward multi-user applications.
These databases are designed to run on high-performance servers.
Example: Microsoft SQL Server, Oracle and IBM DB2.
1.3.4 BENEFITS OF USING DESKTOP DATABASE
AND SERVER SOLUTION
Offer web solutions. Provide web solutions so that the user can publish data onto the
web in various fashions.
Lower cost. The cost is lower than server databases. Example : If you own a copy of
Microsoft Office Professional, you’re already a licensed owner of Microsoft Access.
1.3.4 BENEFITS OF USING DESKTOP DATABASE
AND SERVER SOLUTION
BENEFIT OF SERVER
DATABASES
Security. All communication must go through the server, then the setting permissions
can be done at the server level. The permissions determine who can access the database.
1.3.5 THE USERS OF DBMS: END USER, APPLICATION
PROGRAMMER, DATABASE ADMINISTRATOR
DATABASE USERS
Users are differentiated by the way they expect to interact with the system
Application programmers – interact with system through DML calls
Sophisticated users – form requests in a database query language
Specialized users – write specialized database applications that do not fit into the
traditional data processing framework
Naïve users – invoke one of the permanent application programs that have been
written previously
E.g. people accessing database over the web, bank tellers, clerical staff
DATABASE ADMINISTRATOR