CSF212 Module1
CSF212 Module1
3
BITS Pilani, Pilani Campus
DataBase Management Systems
6
BITS Pilani, Pilani Campus
Characteristics of DataBase System
7
BITS Pilani, Pilani Campus
DataBase Users
DataBase Administrators
•In a database environment, the primary resource is the
database itself, and the secondary resource is the
DBMS and related software.
• Administering these resources is the responsibility of
the DataBase Administrator (DBA).
•The DBA is responsible for authorizing access to the
database, coordinating and monitoring its use, and
acquiring software and hardware resources as needed.
•The DBA is accountable for problems such as security
breaches and poor system response time.
Database designers
•They are responsible for identifying the data to be stored in the
database and for choosing appropriate structures to represent
and store this data.
• These tasks are mostly undertaken before the database is
actually implemented and populated with data.
•It is the responsibility of database designers to communicate
with all prospective database users in order to understand their
requirements and to create a design that meets these
requirements.
• In many cases, the designers are on the staff of the DBA and
may be assigned other staff responsibilities after the database
design is completed. 9
BITS Pilani, Pilani Campus
DataBase Users
End Users
•Casual end users occasionally access the database, but they
may need different information each time. They use a
sophisticated database query language to specify their
requests and are typically middle- or high-level managers or
other occasional browsers.
•Naive or parametric end users make up a sizable portion of
database end users. Their main job function revolves
around constantly querying and updating the database,
using standard types of queries and updates—called
canned transactions—that have been carefully
programmed and tested.
10
BITS Pilani, Pilani Campus
DataBase Users
End Users
•Sophisticated end users include engineers, scientists,
business analysts, and others who thoroughly familiarize
themselves with the facilities of the DBMS in order to
implement their own applications to meet their complex
requirements.
11
BITS Pilani, Pilani Campus
DataBase Users
System analysts
•System Analysts determine the requirements of end users,
especially naive and parametric end users, and develop
specifications for standard canned transactions that meet
these requirements.
•Application programmers implement these specifications as
programs; then they test, debug, document, and maintain
these canned transactions.
•Such analysts and programmers—commonly referred to as
software developers or software engineers—should be
familiar with the full range of capabilities provided by the
DBMS to accomplish their tasks.
12
BITS Pilani, Pilani Campus
Advantages of a DBMS
• Controlling Redundancy
• Restricting Unauthorized Access
• Providing Persistant Storage for Program Objects
• Efficient Storage Structure and Query Processing
• Providing Multiple User Interfaces
• Representing Complex Relationships among Data
• Enforcing Integrity Constraints
• Permitting Inferencing and Actions Using Rules
13
BITS Pilani, Pilani Campus
Disadvantages of using DBMS
• High initial investment in hardware, software, and training.
• The generality that a DBMS provides for defining and processing
data.
• Overhead for providing security, concurrency control, recovery,
and integrity functions.
Advantages of Traditional File System
• Simple, well-defined database applications that are not expected
to change at all.
• Stringent, real-time requirements for some application programs
that may not be met because of DBMS overhead.
• Embedded systems with limited storage capacity, where a
general-purpose DBMS would not fit.
• No multiple-user access to data.
14
BITS Pilani, Pilani Campus
Data Models
18
BITS Pilani, Pilani Campus
Categories of Data Models
19
BITS Pilani, Pilani Campus
Schemas,Instances and DataBase
State
• The description of a database is called the database
schema, which is specified during database design
and is not expected to change frequently.
• A displayed schema is called a schema diagram.
• The data in the database at a particular moment in
time is called a database state or snapshot.
• It is also called the current set of occurrences or
instances in the database. In a given database state,
each schema construct has its own current set of
instances.
20
BITS Pilani, Pilani Campus
Three – Schema Architecture
22
BITS Pilani, Pilani Campus
Data Independence
24
BITS Pilani, Pilani Campus
DBMS Architecture
25
BITS Pilani, Pilani Campus
Two-Tier Client/Server
Architecture
26
BITS Pilani, Pilani Campus
Three-tier/n-tier Architecture
27
BITS Pilani, Pilani Campus