UT1 QB DBMS ls1
UT1 QB DBMS ls1
. What are the problems with traditional file system? Explain how DBMS overcome these problems?
2
1. Data Duplication: Traditional file systems lead to the same info being stored in multiple places, wasting storage space and making updates difficult.
2. Data Isolation: Data in files is like separate islands; it's not easy to access or share between different parts of a system or among users.
3. Data Inconsistency: Because data is spread across files, it's easy for different copies of the same data to become different, causing confusion.
4. Data Integrity: File systems don't check if data is correct; you can accidentally put the wrong information in a file.
5. Data Security: File systems often lack strong control over who can see and change data, making it vulnerable to unauthorized access.
BMSisacollectionofdata.InDBMS,theuserisnotrequiredtowritethe
D Filesystemisacollectionofdata.Inthissystem,theuserhastowritethe
procedures. rocedures for managing the database.
p
DBMS gives an abstract view of data that hides the details. File system provides the detail of the data representation and storageof
ata.
d
DBMS provides a good protection mechanism. It is very difficult to protect a file under the file system.
BMS contains a wide variety of sophisticated techniques to store and
D File system can't efficiently store and retrieve the data.
retrieve the data.
DBMS takes care of Concurrent access of data using some form of locking. IntheFilesystem,concurrentaccesshasmanyproblemslikeredirectingthe
le while other deleting some information or updating some information.
fi
. **User Interface:** This is where users interact with the DBMS. It includes applications, forms, and queries that allow userstoinput,
1
retrieve, and manipulate data.
2.**QueryProcessor:**Whenauserrequestsdataorissuesaquery,thequeryprocessortakescareofunderstandingthequeryandfiguring
out how to get the data from the database.
3.**DatabaseEngine:**ThedatabaseengineisthecoreoftheDBMS.Itmanagesthestorage,retrieval,andmanipulationofdata.Itincludes
components for data storage, indexing, and transactions.
4.**DataStorage:**Thisiswheretheactualdataisstored.Itcanbeondiskdrives,in-memory,oracombinationofboth,dependingonthe
DBMS. The data is organized into tables and files.
5.**SecurityandAuthorization:**DBMSsystemshavesecuritymechanismstocontrolwhocanaccessandmodifydata.Authorizationrules
define what each user or role is allowed to do.
6. **Concurrency Control:** This component ensures that multiple users can access and modify data simultaneously without causing
conflicts or data corruption.
7.**BackupandRecovery:**DBMSsystemsincludetoolsformakingbackupsofthedataandrecoveringitincaseofsystemfailuresordata
loss.
8.**QueryOptimizer:**ThisisacrucialpartoftheDBMSthatdecideshowtoexecutequeriesmostefficiently.Itdeterminesthebestwayto
access and retrieve data to ensure fast query response times.
9. **Data Dictionary:** The data dictionary is like a catalog that stores metadata about the database,includinginformationabouttables,
columns, constraints, and more. It helps the DBMS manage and organize the data.
10.**DataAbstractionLayers:**TheDBMStypicallyhasmultiplelayersofdataabstraction,includingexternalschemas(howusersseethe
data), a conceptual schema (the overall database design), and an internal schema(howthedataisphysicallystored).Theselayershelp
separate the concerns of different user groups.
DBMS architecture is a layered system that provides a structured approach to storing, managing, and accessing data, while offering
a
security, performance, and flexibility for different user needs.