Professional Documents
Culture Documents
UNIT- 1: INTRODUCTION TO
DATABASE
Project Presentation
INTRODUCTION TO DATA
Project Presentation
Project Presentation
WHY DATABASE?
Project Presentation
DATABASE MANAGEMENT
SYSTEMS
Defining a database - involves specifying the data types, structures, and constraints of the data
to be stored in the database. The database definition or descriptive information is also stored
by the DBMS in the form of a database catalog or dictionary; it is called meta-data.
Constructing -the database is the process of storing the data on some storage medium that is
controlled by the DBMS.
Manipulating a database includes functions such as querying the database to retrieve specific
data, updating the database to reflect changes in the miniworld, and generating reports from
the data.
Sharing a database allows multiple users and programs to access the database simultaneously.
Project Presentation
DATABASE SYSTEMS
•DBMS contains information about a particular enterprise
i.Collection of interrelated data
ii.Set of programs to access the data
iii.An environment that is both convenient and efficient to use
•Database systems are used to manage collections of data that are:
i.Highly valuable
ii.Relatively large
iii.Accessed by multiple users and applications, often at the same time.
• A modern database system is a complex software system whose task
is to manage a large, complex collection of data.
•Databases touch all aspects of our lives.
•Database can be of any size and complexity.
Project Presentation
PROPERTIES OF DATABASE
FUNCTION OF DATABASE
Project Presentation
ACTORS
Database administrators –
ON THE SCENE
Naive or parametric end users make up a sizable portion of database end users. Their
The DBA is responsible for authorizing access to the database, coordinating and monitoring its use, and acquiring
main
softwarejobandfunction
hardware revolves
resources asaround constantly
needed. The querying
DBA is accountable forand updating
problems such as the database,
security using
breaches and poor
standard types
system response time.ofIn queries and updates—
large organizations, calledby canned
the DBA is assisted a staff that transactions—that
carries out these functions.have been
Databaseprogrammed
carefully Designers – and tested.
Database designers are responsible for identifying the data to be stored in the database and for choosing appropriate
Bank customers and tellers check account balances and post withdrawals and deposits.
structures to represent and store this data.
It Reservation agents
is the responsibility or customers
of database for airlines,
designers to communicate hotels,
with and car
all prospective rental
database companies
users check
in order to understand
availability for aand
their requirements given request
to create and
a design thatmake
meets reservations.
these requirements.
End User –
End users are the people whose jobs require access to the database for querying,updating, and generating reports; the
Sophisticated end users include engineers, scientists, business analysts, and others who
database primarily exists for ttheir use. There are several categories of end users:
thoroughly
Casual end-user familiarize
:- occasionalythemselves
access the db with the
but need facilities
different of ime.
info each the DBMS in order to implement
their
Naïveown applications
end –user :- to meet their complex requirements.
Sophisticated end-user –.
Standalone end user :- maintain personal databases by using ready-made program packages that provide easy-to-use
menu-based or graphics-based interfaces. An example is the user of a financial software package that stores a variety of
personal financial data.
System Analysts and application programmers:-
Project Presentation
DISADVANTAGES OF DBMS
Project Presentation
VIEW OF DATA
A database system is a collection of interrelated data and a set of programs that allow
users to access and modify these data.
A major purpose of a database system is to provide users with an abstract view of the
data.
Data models
A collection of conceptual tools for describing data, data relationships, data semantics, and consistency constraints.
Data abstraction
Hide the complexity of data structures to represent data in the database from users through several levels of data abstraction.
Project Presentation
Project Presentation
STAGES OF DATABASE
Q/A
Define the following terms: data, database, DBMS, database system, database
Catalog,DBA, end user, canned transaction, meta-data, and
transaction-processing application.
1. What four main types of actions involve databases? Briefly discuss each.
2. Discuss the main characteristics of the database approach and how it differs from
traditional file systems.
3. What are the responsibilities of the DBA and the database designers?
4. What are the different types of database end users? Discuss the main activities of
each.
5. Discuss the capabilities that should be provided by a DBMS.
6. Discuss the differences between database systems and information retrieval
systems.
Project Presentation
Data Models
•Data Model:
A set of concepts to describe the structure of a database, the operations
for manipulating these structures, and certain constraints that the
database should obey.
•Data Model Structure and Constraints:
oConstructs are used to define the database structure
oConstructs typically include elements (and their data types) as well as groups of
elements (e.g. entity, record, table), and relationships among such groups
oConstraints specify some restrictions on valid data; these constraints must be
enforced at all times
Project Presentation
THREE-TIER CLIENT-SERVER
ARCHITECTURE
CLASSIFICATION OF DBMS’S
Based on the data model used
Traditional: Relational, Network, Hierarchical.
Emerging: Object-oriented, Object-relational.
Other classifications
Single-user (typically used with personal computers)
vs. multi-user (most DBMSs).
Centralized (uses a single computer with one database)
vs. distributed (uses multiple computers, multiple
databases)
VARIATIONS OF DISTRIBUTED DBMSS (DDBMSS)
Homogeneous DDBMS
Heterogeneous DDBMS
Federated or Multidatabase Systems
Distributed Database Systems have now
come to be known as client-server
based database systems because:
They do not support a totally distributed
environment, but rather a set of database
servers supporting a set of clients.
HISTORY OF DATA MODELS
Network Model
Hierarchical Model
Relational Model
Object-oriented Data Models
Object-Relational Models
HISTORY OF DATA MODELS
Network Model:
The first network DBMS was implemented by Honeywell in
1964-65 (IDS System).
Adopted heavily due to the support by CODASYL
(Conference on Data Systems Languages) (CODASYL - DBTG
report of 1971).
Later implemented in a large variety of systems - IDMS
(Cullinet - now Computer Associates), DMS 1100 (Unisys),
IMAGE (H.P. (Hewlett-Packard)), VAX -DBMS (Digital
Equipment Corp., next COMPAQ, now H.P.).
EXAMPLE OF NETWORK
MODEL SCHEMA
NETWORK MODEL
Advantages:
Network Model is able to model complex
relationships and represents semantics of
add/delete on the relationships.
Can handle most situations for modeling using
record types and relationship types.
Language is navigational; uses constructs like FIND,
FIND member, FIND owner, FIND NEXT within set,
GET, etc.
Programmers can do optimal navigation through
the database.
NETWORK MODEL
Disadvantages:
Navigational and procedural nature of processing
Database contains a complex array of pointers that
thread through a set of records.
Little scope for automated “query optimization”
HISTORY OF DATA MODELS