Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Notes  >  Database Management System (DBMS)  >  Short Notes Introduction - Database Management System (DBMS) - Computer Science Engineering

Short Notes Introduction - Database Management System (DBMS) - Computer Science Engineering

Download, print and study this document offline
Please wait while the PDF view is loading
 Page 1


1 Introduction to Database Management Systems (DBMS)
1.1 Introduction to DBMS
A Database Management System (DBMS) is software that facilitates the creation, man-
agement,andmanipulationofdatabases. Itprovidesaninterfacebetweenusers/applications
and the database, ensuring e?cient data storage, retrieval, and updating while maintain-
ing data integrity and security.
1.2 Characteristics of DBMS
• Data Organization: Stores data in a structured format (e.g., tables in relational
DBMS).
• Data Integrity: Enforces constraints to ensure accuracy and consistency.
• Data Security: Provides access control and authentication mechanisms.
• Concurrency Control: Manages simultaneous data access by multiple users.
• Backup and Recovery: Ensures data restoration in case of failures.
• Query Processing: Supports e?cient data retrieval using query languages like
SQL.
1.3 DBMS Architecture
• 1-TierArchitecture: Directaccesstothedatabasebytheuser(e.g.,localdatabase
applications).
• 2-Tier Architecture: Client communicates directly with the DBMS server (e.g.,
client-server applications).
• 3-Tier Architecture: Includes a presentation layer (client), application layer
(business logic), and data layer (DBMS), improving scalability and security.
• Components:
– Query Processor: Interprets and executes queries.
– Storage Manager: Handles data storage and retrieval.
– TransactionManager: Ensuresdataconsistencyduringconcurrentoperations.
1.4 Functions of DBMS
• Data De?nition: De?nes the database structure using Data De?nition Language
(DDL).
• Data Manipulation: Supports data insertion, updating, deletion, and retrieval
using Data Manipulation Language (DML).
• DataControl: ManagesuserpermissionsandaccessusingDataControlLanguage
(DCL).
• Transaction Management: Ensures ACID properties (Atomicity, Consistency,
Isolation, Durability) for reliable transactions.
• Data Independence: Separates logical and physical data representations for ?ex-
ibility.
1.5 Types of DBMS
• RelationalDBMS(RDBMS):Organizesdataintotableswithrowsandcolumns
(e.g., MySQL, Oracle).
1
Page 2


1 Introduction to Database Management Systems (DBMS)
1.1 Introduction to DBMS
A Database Management System (DBMS) is software that facilitates the creation, man-
agement,andmanipulationofdatabases. Itprovidesaninterfacebetweenusers/applications
and the database, ensuring e?cient data storage, retrieval, and updating while maintain-
ing data integrity and security.
1.2 Characteristics of DBMS
• Data Organization: Stores data in a structured format (e.g., tables in relational
DBMS).
• Data Integrity: Enforces constraints to ensure accuracy and consistency.
• Data Security: Provides access control and authentication mechanisms.
• Concurrency Control: Manages simultaneous data access by multiple users.
• Backup and Recovery: Ensures data restoration in case of failures.
• Query Processing: Supports e?cient data retrieval using query languages like
SQL.
1.3 DBMS Architecture
• 1-TierArchitecture: Directaccesstothedatabasebytheuser(e.g.,localdatabase
applications).
• 2-Tier Architecture: Client communicates directly with the DBMS server (e.g.,
client-server applications).
• 3-Tier Architecture: Includes a presentation layer (client), application layer
(business logic), and data layer (DBMS), improving scalability and security.
• Components:
– Query Processor: Interprets and executes queries.
– Storage Manager: Handles data storage and retrieval.
– TransactionManager: Ensuresdataconsistencyduringconcurrentoperations.
1.4 Functions of DBMS
• Data De?nition: De?nes the database structure using Data De?nition Language
(DDL).
• Data Manipulation: Supports data insertion, updating, deletion, and retrieval
using Data Manipulation Language (DML).
• DataControl: ManagesuserpermissionsandaccessusingDataControlLanguage
(DCL).
• Transaction Management: Ensures ACID properties (Atomicity, Consistency,
Isolation, Durability) for reliable transactions.
• Data Independence: Separates logical and physical data representations for ?ex-
ibility.
1.5 Types of DBMS
• RelationalDBMS(RDBMS):Organizesdataintotableswithrowsandcolumns
(e.g., MySQL, Oracle).
1
• Hierarchical DBMS: Uses a tree-like structure (e.g., IBM IMS).
• Network DBMS: Uses a graph structure for complex relationships.
• Object-Oriented DBMS: Integrates object-oriented programming concepts.
• NoSQL DBMS: Handles unstructured or semi-structured data (e.g., MongoDB
for document-based data).
Advantages and Disadvantages
• Advantages:
– Centralized data management improves consistency and accessibility.
– Supports complex queries and data relationships.
– Ensures data security, integrity, and recovery.
• Disadvantages:
– High setup and maintenance costs.
– Complex design for large-scale systems.
– Performance overhead for small applications.
Short Questions and Answers
1. What is a DBMS? Software for managing databases, enabling data storage,
retrieval, and manipulation.
2. What are ACID properties? Atomicity, Consistency, Isolation, and Durability
ensure reliable transactions.
3. What is the di?erence between 2-tier and 3-tier architecture? 2-tier in-
volves direct client-DBMS communication, while 3-tier adds an application layer
for scalability.
4. Why is data independence important? It allows changes to the physical
storage without a?ecting the logical structure.
2
Read More
62 videos|101 docs|35 tests
Related Searches
Exam, pdf , ppt, Sample Paper, Extra Questions, Short Notes Introduction - Database Management System (DBMS) - Computer Science Engineering, Semester Notes, Important questions, Viva Questions, study material, Previous Year Questions with Solutions, past year papers, mock tests for examination, Free, Summary, Objective type Questions, video lectures, Short Notes Introduction - Database Management System (DBMS) - Computer Science Engineering, Short Notes Introduction - Database Management System (DBMS) - Computer Science Engineering, shortcuts and tricks, MCQs, practice quizzes;