SlideShare a Scribd company logo
What is DBMS Architecture
• Database System Architecture refers to the
design and structure of a database system,
which includes the components and
processes that work together to store,
manage, and retrieve data efficiently.
• It provides a framework for organizing and
interacting with data, ensuring data
integrity, security, and performance.
Three-Level Architecture (ANSI-SPARC
Architecture) of DBMS
It provides a clear separation between the physical
storage of data, the logical structure of the database,
and how users interact with the data.
a. External Level (View Level)
Users interact with the database and Queries are submitted
to the database system.
b. Conceptual Level (Logical Level)
The DBMS translates user queries into a logical structure
using the conceptual schema.
Ensures data integrity and enforces constraints.
c. Internal Level (Physical Level)
The DBMS maps the logical structure to the physical storage
using the internal schema.
Retrieves or modifies data on disk.
1. External Level (View Level)
This is the highest level of abstraction and represent how users or
applications view the data. Different users may have different
views of the same database, depending on their specific needs.
Key Features:
• Provides a user-specific view of the database.
• Hides irrelevant or sensitive data from users.
• Multiple external views can exist for a single database.
• Enhances security by restricting access to sensitive information.
Components:
• External Schemas (Views): Define how data is presented to users
• User Interfaces: Forms, reports, or applications that users
interact with to access the database.
2. Conceptual Level (Logical Level)
This level describes the logical structure of the entire database for
all users. It acts as an intermediary between the external and
internal levels.
Key Features:
• Represents the global view of the database.
• Defines the overall structure, including entities, relationships,
constraints, and data types.
• Independent of specific user views or physical storage details.
Components:
• Conceptual Schema: Describes the logical structure of the
database, which includes tables, attributes, relationships, and
constraints (e.g., primary keys, foreign keys).
• Metadata: Information about the database structure, such as
table names, column names, and data types.
3. Internal Level (Physical Level)
This level deals with the physical storage of data on the hardware. It
describes how data is stored in files, indexes, and storage structures.
Key Features:
• Focuses on the physical implementation of the database.
• Includes details like data compression, encryption, and disk
allocation.
• Optimizes storage efficiency and access speed.
Components:
• Internal Schema: Describes the physical storage structure of the
database. Includes file organization, indexing methods, and storage
allocation.
• Storage Structures: Data files, index files, and log files.
• Access Methods: Techniques for accessing data, such as B-trees,
hashing, and sequential access.
Advantages of the Three-Level Architecture
1. Data Independence: Changes at one level do not affect
the other, making the system more flexible and
maintainable.
Example: Adding a new column to a table does not require
changes to user applications.
2. Security: Users only see the data they are authorized to
access.
3. Efficiency: Physical storage can be optimized without
affecting the logical structure or user views.
4. Scalability: The database can grow and evolve without
disrupting existing appilcations.
Components of Database System Architecture
Interaction between Components:
• Users submit queries or requests
to the database system.
• The Query Processor interprets
and optimizes the queries,
generating an execution plan.
• The Storage Manager retrieves or
modifies the data by interacting
with Disk Storage.
• The results are returned to the
Users through the Query
Processor.
1. Users
Users are the individuals or applications that interact with the database system. They can be
categorised into different types based on their roles and level of interaction with the database:
A. End users:
• These are the individuals who interact with the database through applications or interfaces.
• Examples: Students accessing their grades from university portal.
B. Application programmers:
• These are developers who write applications that interact with the database.
• They use programming languages (e.g., Java, Python) and database APIs (e.g., JDBC, ODBC) to create
software that accesses and manipulates data.
C. Database administrators:
• These are responsible for managing and maintaining the database system.
• Tasks including creating and managing user accounts ensuring data security optimising performance
and performing backups and recovery.
2. Query Processor
The Query Processor is a critical component of the DBMS that handles user queries and ensures they are
executed efficiently. It translates high level queries into low level instructions that the database system can
understand and execute.
Components of the Query Processor:
• DDL Interpreter:
• Processes Data Definition Language(DDL) statements, such as CREATE, ALTER, and DROP.
• Updates the database schema and metadata.
• DML compiler:
• Processes Data Manipulation Language statements, such as SELECT, INSERT, UPDATE, and DELETE.
• Converts these statements into intermediate form for execution.
• Query optimizer:
• Determines the most efficient way to execute a query.
• Considers factors like indexes, join order, and access paths to minimise execution time and resource
usage.
• Execution engine:
• Exhibits the low level instructions generated by DML Compiler and Query Optimizer.
• Interacts with Storage Manager to retrieve modify data.
3. Storage Manager
The Storage Manager is responsible for managing the storage, retrieval, and organization of data on disk. It
ensures that data is stored efficiently and can be accessed quickly when needed.
Components of the Storage Manager:
• File Manager:
• Manages the allocation of disk space and organizes data into files.
• Handles file creation, deletion, and access.
• Buffer Manager:
• Manages the transfer of data between disk and main memory (RAM).
• Uses a buffer pool to cache frequently accessed data, reducing disk I/O and improving performance.
• Index Manager:
• Manages indexes, which are data structures (e.g., B-trees, hash tables) that speed up data retrieval.
• Ensures indexes are updated when data is modified.
• Transaction Manager:
• Ensures the ACID properties (Atomicity, Consistency, Isolation, Durability) of transactions.
• Manages concurrency control and recovery.
4. Disk Storage
Disk Storage refers to the physical storage devices (e.g., HDDs, SSDs) where the database data is permanently
stored. It is the lowest level of the database architecture and is managed by the Storage Manager. It ensures
that data is retained even after system is powered off.
Parts of Disk Storage:
• Data Files:
• Store the actual data in the form of tables, records, and fields.
• Organized into blocks or pages for efficient access.
• Index Files:
• Store indexes that provide fast access to data.
• Examples: B-trees, hash indexes.
• Log Files:
• Store transaction logs for recovery purposes.
• Record all changes made to the database to ensure durability and support rollback/rollforward
operations.
• Metadata Files:
• Store information about the database schema, such as table structures, constraints, and user
permissions.
Types of Database System Architectures
a. Centralized Database Architecture
• A single server hosts the database, and all users access it from the
same location.
• Suitable for small organizations with limited data.
b. Client-Server Architecture
• The database is hosted on a server, and clients (users or
applications) access it over a network.
• Two-Tier Architecture: Clients directly interact with the database
server.
• Three-Tier Architecture: Includes an intermediate application
server between clients and the database server.
c. Distributed Database Architecture
• Data is stored across multiple servers or locations.
• Improves scalability and fault tolerance.
• Examples: Google Spanner, Apache Cassandra.
Conclusion
Database system architectures are the backbone of
modern data management systems. They provide the
structure and tools needed to store, retrieve, and
manage data efficiently while ensuring scalability,
security, and reliability. By understanding the different
types of architectures and their components,
organizations can design systems that meet their
specific needs and adapt to future challenges.
Whether it's a centralized system for small
applications or a distributed cloud-based system for
large-scale enterprises, the right architecture ensures
that data remains a valuable and accessible resource.
Department of Computer Science and Engineering
Thank you
Ad

Recommended

Database Management Architecture.pptx
Database Management Architecture.pptx
sivamathi12
 
2.pptx
2.pptx
SandeepYadav949827
 
DBMS architecture &; system structure
DBMS architecture &; system structure
RUpaliLohar
 
UNIT 1 dbdm ad3391 unit lecture notes ppt
UNIT 1 dbdm ad3391 unit lecture notes ppt
yuvaraniit
 
ARCHITECTURE.pptx
ARCHITECTURE.pptx
NANDHINIS900805
 
Computer class of agriculture production 5.pptx
Computer class of agriculture production 5.pptx
muddydevil2003
 
Database Management system, database architecture unikkkkkkkkkkkkkkk
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
2nd chapter dbms.pptx
2nd chapter dbms.pptx
kavitha623544
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
Introduction to Data Base Management System.pptx
Introduction to Data Base Management System.pptx
SandeepY10
 
Database Management Systems
Database Management Systems
Dr. SURBHI SAROHA
 
DBMS.pptx
DBMS.pptx
Dr. Thippeswamy S.
 
Introduction to Database
Introduction to Database
Siti Ismail
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
parveen204931475
 
data base
data base
Surya Swaroop
 
Dbms level of architecture2
Dbms level of architecture2
Akshaya Parida
 
Database system concepts
Database system concepts
Dr. Jasmine Beulah Gnanadurai
 
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Rai University
 
Database Design Slide 1
Database Design Slide 1
ahfiki
 
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
prabhdeeprai46
 
01-database-management.pptx
01-database-management.pptx
dhanajimirajkar1
 
Chapter (Two) The best lecture PowerPoint
Chapter (Two) The best lecture PowerPoint
afendimohammed288
 
Chp-1.pptx
Chp-1.pptx
Dr. Thippeswamy S.
 
14 db system
14 db system
Vivek Kumar
 
DBMS CONCEPT
DBMS CONCEPT
Vivek Kumar
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide database management system 4
Syed Ariful Islam Emon
 
DBMS Architecture having normalisation he
DBMS Architecture having normalisation he
ab0067752
 
Database architacture
Database architacture
Param Radadiya
 
ElysiumPro Company Profile 2025-2026.pdf
ElysiumPro Company Profile 2025-2026.pdf
info751436
 
Fundamentals of Digital Design_Class_12th April.pptx
Fundamentals of Digital Design_Class_12th April.pptx
drdebarshi1993
 

More Related Content

Similar to What is dbms architecture, components of dbms architecture and types of dbms architecture (20)

INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
Introduction to Data Base Management System.pptx
Introduction to Data Base Management System.pptx
SandeepY10
 
Database Management Systems
Database Management Systems
Dr. SURBHI SAROHA
 
DBMS.pptx
DBMS.pptx
Dr. Thippeswamy S.
 
Introduction to Database
Introduction to Database
Siti Ismail
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
parveen204931475
 
data base
data base
Surya Swaroop
 
Dbms level of architecture2
Dbms level of architecture2
Akshaya Parida
 
Database system concepts
Database system concepts
Dr. Jasmine Beulah Gnanadurai
 
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Rai University
 
Database Design Slide 1
Database Design Slide 1
ahfiki
 
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
prabhdeeprai46
 
01-database-management.pptx
01-database-management.pptx
dhanajimirajkar1
 
Chapter (Two) The best lecture PowerPoint
Chapter (Two) The best lecture PowerPoint
afendimohammed288
 
Chp-1.pptx
Chp-1.pptx
Dr. Thippeswamy S.
 
14 db system
14 db system
Vivek Kumar
 
DBMS CONCEPT
DBMS CONCEPT
Vivek Kumar
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide database management system 4
Syed Ariful Islam Emon
 
DBMS Architecture having normalisation he
DBMS Architecture having normalisation he
ab0067752
 
Database architacture
Database architacture
Param Radadiya
 
Introduction to Data Base Management System.pptx
Introduction to Data Base Management System.pptx
SandeepY10
 
Introduction to Database
Introduction to Database
Siti Ismail
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
parveen204931475
 
Dbms level of architecture2
Dbms level of architecture2
Akshaya Parida
 
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Rai University
 
Database Design Slide 1
Database Design Slide 1
ahfiki
 
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
prabhdeeprai46
 
01-database-management.pptx
01-database-management.pptx
dhanajimirajkar1
 
Chapter (Two) The best lecture PowerPoint
Chapter (Two) The best lecture PowerPoint
afendimohammed288
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide database management system 4
Syed Ariful Islam Emon
 
DBMS Architecture having normalisation he
DBMS Architecture having normalisation he
ab0067752
 

Recently uploaded (20)

ElysiumPro Company Profile 2025-2026.pdf
ElysiumPro Company Profile 2025-2026.pdf
info751436
 
Fundamentals of Digital Design_Class_12th April.pptx
Fundamentals of Digital Design_Class_12th April.pptx
drdebarshi1993
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
社内勉強会資料_Chain of Thought .
社内勉強会資料_Chain of Thought .
NABLAS株式会社
 
Low Power SI Class E Power Amplifier and Rf Switch for Health Care
Low Power SI Class E Power Amplifier and Rf Switch for Health Care
ieijjournal
 
OCS Group SG - HPHT Well Design and Operation - SN.pdf
OCS Group SG - HPHT Well Design and Operation - SN.pdf
Muanisa Waras
 
Fundamentals of Digital Design_Class_21st May - Copy.pptx
Fundamentals of Digital Design_Class_21st May - Copy.pptx
drdebarshi1993
 
machine learning is a advance technology
machine learning is a advance technology
ynancy893
 
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
djiceramil
 
60 Years and Beyond eBook 1234567891.pdf
60 Years and Beyond eBook 1234567891.pdf
waseemalazzeh
 
Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
 
Modern multi-proposer consensus implementations
Modern multi-proposer consensus implementations
François Garillot
 
grade 9 science q1 quiz.pptx science quiz
grade 9 science q1 quiz.pptx science quiz
norfapangolima
 
NALCO Green Anode Plant,Compositions of CPC,Pitch
NALCO Green Anode Plant,Compositions of CPC,Pitch
arpitprachi123
 
The basics of hydrogenation of co2 reaction
The basics of hydrogenation of co2 reaction
kumarrahul230759
 
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
dayananda54
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
djiceramil
 
IntroSlides-June-GDG-Cloud-Munich community [email protected]
IntroSlides-June-GDG-Cloud-Munich community [email protected]
Luiz Carneiro
 
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
resming1
 
ElysiumPro Company Profile 2025-2026.pdf
ElysiumPro Company Profile 2025-2026.pdf
info751436
 
Fundamentals of Digital Design_Class_12th April.pptx
Fundamentals of Digital Design_Class_12th April.pptx
drdebarshi1993
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
社内勉強会資料_Chain of Thought .
社内勉強会資料_Chain of Thought .
NABLAS株式会社
 
Low Power SI Class E Power Amplifier and Rf Switch for Health Care
Low Power SI Class E Power Amplifier and Rf Switch for Health Care
ieijjournal
 
OCS Group SG - HPHT Well Design and Operation - SN.pdf
OCS Group SG - HPHT Well Design and Operation - SN.pdf
Muanisa Waras
 
Fundamentals of Digital Design_Class_21st May - Copy.pptx
Fundamentals of Digital Design_Class_21st May - Copy.pptx
drdebarshi1993
 
machine learning is a advance technology
machine learning is a advance technology
ynancy893
 
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
djiceramil
 
60 Years and Beyond eBook 1234567891.pdf
60 Years and Beyond eBook 1234567891.pdf
waseemalazzeh
 
Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
 
Modern multi-proposer consensus implementations
Modern multi-proposer consensus implementations
François Garillot
 
grade 9 science q1 quiz.pptx science quiz
grade 9 science q1 quiz.pptx science quiz
norfapangolima
 
NALCO Green Anode Plant,Compositions of CPC,Pitch
NALCO Green Anode Plant,Compositions of CPC,Pitch
arpitprachi123
 
The basics of hydrogenation of co2 reaction
The basics of hydrogenation of co2 reaction
kumarrahul230759
 
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
dayananda54
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
djiceramil
 
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
resming1
 
Ad

What is dbms architecture, components of dbms architecture and types of dbms architecture

  • 1. What is DBMS Architecture • Database System Architecture refers to the design and structure of a database system, which includes the components and processes that work together to store, manage, and retrieve data efficiently. • It provides a framework for organizing and interacting with data, ensuring data integrity, security, and performance.
  • 2. Three-Level Architecture (ANSI-SPARC Architecture) of DBMS It provides a clear separation between the physical storage of data, the logical structure of the database, and how users interact with the data. a. External Level (View Level) Users interact with the database and Queries are submitted to the database system. b. Conceptual Level (Logical Level) The DBMS translates user queries into a logical structure using the conceptual schema. Ensures data integrity and enforces constraints. c. Internal Level (Physical Level) The DBMS maps the logical structure to the physical storage using the internal schema. Retrieves or modifies data on disk.
  • 3. 1. External Level (View Level) This is the highest level of abstraction and represent how users or applications view the data. Different users may have different views of the same database, depending on their specific needs. Key Features: • Provides a user-specific view of the database. • Hides irrelevant or sensitive data from users. • Multiple external views can exist for a single database. • Enhances security by restricting access to sensitive information. Components: • External Schemas (Views): Define how data is presented to users • User Interfaces: Forms, reports, or applications that users interact with to access the database.
  • 4. 2. Conceptual Level (Logical Level) This level describes the logical structure of the entire database for all users. It acts as an intermediary between the external and internal levels. Key Features: • Represents the global view of the database. • Defines the overall structure, including entities, relationships, constraints, and data types. • Independent of specific user views or physical storage details. Components: • Conceptual Schema: Describes the logical structure of the database, which includes tables, attributes, relationships, and constraints (e.g., primary keys, foreign keys). • Metadata: Information about the database structure, such as table names, column names, and data types.
  • 5. 3. Internal Level (Physical Level) This level deals with the physical storage of data on the hardware. It describes how data is stored in files, indexes, and storage structures. Key Features: • Focuses on the physical implementation of the database. • Includes details like data compression, encryption, and disk allocation. • Optimizes storage efficiency and access speed. Components: • Internal Schema: Describes the physical storage structure of the database. Includes file organization, indexing methods, and storage allocation. • Storage Structures: Data files, index files, and log files. • Access Methods: Techniques for accessing data, such as B-trees, hashing, and sequential access.
  • 6. Advantages of the Three-Level Architecture 1. Data Independence: Changes at one level do not affect the other, making the system more flexible and maintainable. Example: Adding a new column to a table does not require changes to user applications. 2. Security: Users only see the data they are authorized to access. 3. Efficiency: Physical storage can be optimized without affecting the logical structure or user views. 4. Scalability: The database can grow and evolve without disrupting existing appilcations.
  • 7. Components of Database System Architecture Interaction between Components: • Users submit queries or requests to the database system. • The Query Processor interprets and optimizes the queries, generating an execution plan. • The Storage Manager retrieves or modifies the data by interacting with Disk Storage. • The results are returned to the Users through the Query Processor.
  • 8. 1. Users Users are the individuals or applications that interact with the database system. They can be categorised into different types based on their roles and level of interaction with the database: A. End users: • These are the individuals who interact with the database through applications or interfaces. • Examples: Students accessing their grades from university portal. B. Application programmers: • These are developers who write applications that interact with the database. • They use programming languages (e.g., Java, Python) and database APIs (e.g., JDBC, ODBC) to create software that accesses and manipulates data. C. Database administrators: • These are responsible for managing and maintaining the database system. • Tasks including creating and managing user accounts ensuring data security optimising performance and performing backups and recovery.
  • 9. 2. Query Processor The Query Processor is a critical component of the DBMS that handles user queries and ensures they are executed efficiently. It translates high level queries into low level instructions that the database system can understand and execute. Components of the Query Processor: • DDL Interpreter: • Processes Data Definition Language(DDL) statements, such as CREATE, ALTER, and DROP. • Updates the database schema and metadata. • DML compiler: • Processes Data Manipulation Language statements, such as SELECT, INSERT, UPDATE, and DELETE. • Converts these statements into intermediate form for execution. • Query optimizer: • Determines the most efficient way to execute a query. • Considers factors like indexes, join order, and access paths to minimise execution time and resource usage. • Execution engine: • Exhibits the low level instructions generated by DML Compiler and Query Optimizer. • Interacts with Storage Manager to retrieve modify data.
  • 10. 3. Storage Manager The Storage Manager is responsible for managing the storage, retrieval, and organization of data on disk. It ensures that data is stored efficiently and can be accessed quickly when needed. Components of the Storage Manager: • File Manager: • Manages the allocation of disk space and organizes data into files. • Handles file creation, deletion, and access. • Buffer Manager: • Manages the transfer of data between disk and main memory (RAM). • Uses a buffer pool to cache frequently accessed data, reducing disk I/O and improving performance. • Index Manager: • Manages indexes, which are data structures (e.g., B-trees, hash tables) that speed up data retrieval. • Ensures indexes are updated when data is modified. • Transaction Manager: • Ensures the ACID properties (Atomicity, Consistency, Isolation, Durability) of transactions. • Manages concurrency control and recovery.
  • 11. 4. Disk Storage Disk Storage refers to the physical storage devices (e.g., HDDs, SSDs) where the database data is permanently stored. It is the lowest level of the database architecture and is managed by the Storage Manager. It ensures that data is retained even after system is powered off. Parts of Disk Storage: • Data Files: • Store the actual data in the form of tables, records, and fields. • Organized into blocks or pages for efficient access. • Index Files: • Store indexes that provide fast access to data. • Examples: B-trees, hash indexes. • Log Files: • Store transaction logs for recovery purposes. • Record all changes made to the database to ensure durability and support rollback/rollforward operations. • Metadata Files: • Store information about the database schema, such as table structures, constraints, and user permissions.
  • 12. Types of Database System Architectures a. Centralized Database Architecture • A single server hosts the database, and all users access it from the same location. • Suitable for small organizations with limited data. b. Client-Server Architecture • The database is hosted on a server, and clients (users or applications) access it over a network. • Two-Tier Architecture: Clients directly interact with the database server. • Three-Tier Architecture: Includes an intermediate application server between clients and the database server. c. Distributed Database Architecture • Data is stored across multiple servers or locations. • Improves scalability and fault tolerance. • Examples: Google Spanner, Apache Cassandra.
  • 13. Conclusion Database system architectures are the backbone of modern data management systems. They provide the structure and tools needed to store, retrieve, and manage data efficiently while ensuring scalability, security, and reliability. By understanding the different types of architectures and their components, organizations can design systems that meet their specific needs and adapt to future challenges. Whether it's a centralized system for small applications or a distributed cloud-based system for large-scale enterprises, the right architecture ensures that data remains a valuable and accessible resource.
  • 14. Department of Computer Science and Engineering Thank you