DBMS - Presentation - Module-1
DBMS - Presentation - Module-1
Database
Management System
By
N Anusha
Venkat
The Topics
Introduction to DBMS
Application of Database System
Data Architecture
Purpose of Database Systems
Database Users and Administrators
View of Data – Data Abstraction
Introduction to Database Design
Instances and Schemas
ER Diagrams
Data Models
Entities, Attributes and Entity Sets
Database Languages
Relationships and Relationship Sets
DDL with Commands
Additional features of ER Model
DML with Commands
Conceptual Design with ER Model
DCL with Commands
TCL with Commands
Introduction to DBMS
1-Tier Architecture
In this architecture, the database is directly available to the user. It means the
user can directly sit on the DBMS and uses it.
Any changes done here will directly be done on the database itself. It doesn't
provide a handy tool for end users.
The 1-Tier architecture is used for development of the local application, where
programmers can directly communicate with the database for the quick
response.
2-Tier Architecture
The 2-Tier architecture is same as basic client-server. In the two-tier
architecture, applications on the client end can directly communicate
with the database at the server side. For this interaction, API's like:
ODBC, JDBC are used.
The user interfaces and application programs are run on the client-side.
The server side is responsible to provide the functionalities like: query
processing and transaction management.
To communicate with the DBMS, client-side application establishes a
connection with the server side
3-Tier Architecture
The 3-Tier architecture contains another layer between the client and server. In
this architecture, client can't directly communicate with the server.
The application on the client-end interacts with an application server which
further communicates with the database system.
End user has no idea about the existence of the database beyond the
application server. The database also has no idea about any other user beyond
the application.
The 3-Tier architecture is used in case of large web application.
Database Users and Administrators
1.End users: People who interact with the database through
applications.
2.Database administrators (DBAs): Manage the database
system, ensuring performance, security, and availability.
3.Application programmers: Develop applications that
interact with the database.
4.System analysts: Design the database structure and ensure
it meets business requirements.
Introduction to Database Design
• Database design involves creating a detailed data model of
the database.
• Ensures data is organized efficiently and logically.
• Focuses on defining the data elements, structures, and
relationships.
• Helps in reducing redundancy and improving data integrity.
ER Diagrams
ER (Entity-Relationship) diagrams: Visual representation of
the database structure.
• Generalization
• Specialization
• Aggregation
Generalization
Generalization is the process of extracting common properties from a set of
entities and creating a generalized entity from it. It is a bottom-up approach in
which two or more entities can be generalized to a higher-level entity if they
have some attributes in common. For Example, STUDENT and FACULTY can be
generalized to a higher-level entity called PERSON as shown in Figure 1. In this
case, common attributes like P_NAME, and P_ADD become part of a higher entity
(PERSON), and specialized attributes like S_FEE become part of a specialized
entity (STUDENT).