0% found this document useful (0 votes)
18 views15 pages

DBMS Lecture 1-1

The document provides an overview of data and databases, explaining that data is a collection of information that can be organized in databases for easy access and management. It outlines the different types of database architectures, including 1-Tier, 2-Tier, and 3-Tier architectures, highlighting their characteristics and use cases. The document emphasizes the importance of selecting the correct architecture for efficient data management and the role of Database Management Systems (DBMS) in modern databases.

Uploaded by

Saleem Magsi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views15 pages

DBMS Lecture 1-1

The document provides an overview of data and databases, explaining that data is a collection of information that can be organized in databases for easy access and management. It outlines the different types of database architectures, including 1-Tier, 2-Tier, and 3-Tier architectures, highlighting their characteristics and use cases. The document emphasizes the importance of selecting the correct architecture for efficient data management and the role of Database Management Systems (DBMS) in modern databases.

Uploaded by

Saleem Magsi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Database management

system
Presented by. Lecturer: Mahpara Tunio Week 1 and 2
What is Data?

• Data is a collection of a distinct small unit of information. It


can be used in a variety of forms like text, numbers, media,
bytes, etc. it can be stored in pieces of paper or electronic
memory, etc.
• Word 'Data' is originated from the word 'datum' that means
'single piece of information.' It is plural of the word datum.

• In computing, Data is information that can be translated into a


form for efficient movement and processing. Data is
interchangeable.
What is Database?

• A database is an organized collection of data, so that it can be


easily accessed and managed.

• You can organize data in databases into tables, rows, columns,


and index it to make it easier to find relevant information.

• Database handlers create a database in such a way that only


one set of software program provides access of data to all the
users.
• The main purpose of the database is to operate a large
amount of information by storing, retrieving, and managing
data.
• There are many dynamic websites on the World Wide Web
nowadays which are handled through databases. For example,
a model that checks the availability of rooms in a hotel. It is an
example of a dynamic website that uses a database.

• There are many databases available like MySQL, Sybase,


Oracle, MongoDB, Informix, PostgreSQL, SQL Server, etc.

• Modern databases are managed by the database


management system (DBMS).
• 1st Assignment
• Evaluation of Database and database
management system (DBMS).
Database Architecture in DBMS: 1-
Tier, 2-Tier and 3-Tier
• What is Database Architecture?

• A Database Architecture is a representation of DBMS design.


• It helps to design, develop, implement, and maintain the
database management system.

• A DBMS architecture allows dividing the database system into


individual components that can be independently modified,
changed, replaced, and altered.

• It also helps to understand the components of a database.


• A Database stores critical information and helps access data
quickly and securely.
• Therefore, selecting the correct Architecture of DBMS helps in
easy and efficient data management.

• Types of DBMS Architecture

• There are mainly three types of DBMS architecture:

• One Tier Architecture (Single Tier Architecture)


• Two Tier Architecture
• Three Tier Architecture
1-Tier Architecture
• 1 Tier Architecture in DBMS is the simplest architecture of
Database in which the client, server, and Database all reside
on the same machine.
• A simple one tier architecture example would be anytime you
install a Database in your system and access it to practice SQL
queries. But such architecture is rarely used in production.
2-Tier Architecture

• A 2 Tier Architecture in DBMS is a Database architecture


where the presentation layer runs on a client (PC, Mobile,
Tablet, etc.), and data is stored on a server called the second
tier.
• Two tier architecture provides added security to the DBMS as
it is not exposed to the end-user directly.
• It also provides direct and faster communication.
• In the above 2 Tier client-server architecture of database
management system, we can see that one server is connected
with clients 1, 2, and 3.
• Two Tier Architecture Example:
• A Contact Management System created using MS- Access.
3-Tier Architecture

• A 3 Tier Architecture in DBMS is the most popular client


server architecture in DBMS in which the development and
maintenance of functional processes, logic, data access, data
storage, and user interface is done independently as separate
modules.
• Three Tier architecture contains a presentation layer, an
application layer, and a database server.
• 3-Tier database Architecture design is an extension of the 2-
tier client-server architecture. A 3-tier architecture has the
following layers:
• Presentation layer (your PC, Tablet, Mobile, etc.)
• Application layer (server)
• Database Server
• The Application layer resides between the user and the DBMS,
which is responsible for communicating the user’s request to
the DBMS system and send the response from the DBMS to
the user.
• The application layer(business logic layer) also processes
functional logic, constraint, and rules before passing data to
the user or down to the DBMS.
• The goal of Three Tier client-server architecture is:
• To separate the user applications and physical database
• To support DBMS characteristics
• Program-data independence
• Supporting multiple views of the data
• Summary
• An Architecture of DBMS helps in design, development,
implementation, and maintenance of a database
• The simplest database system architecture is 1 tier where the
Client, Server, and Database all reside on the same machine
• A two-tier architecture is a database architecture in DBMS
where presentation layer runs on a client and data is stored on
a server
• Three-tier client-server architecture consists of the
Presentation layer (PC, Tablet, Mobile, etc.), Application layer
(server) and Database Server

You might also like