Professional Documents
Culture Documents
DBMS (1)
DBMS (1)
DBMS (1)
• Banking –
Database the executive’s framework is utilized to store the exchange
data of the client in the information base.
• Library Management System –
There are lots of books in the library so; it is difficult to store the
record of the relative multitude of books in a register or duplicate.
Along these lines, the data set administration framework (DBMS) is
utilized to keep up all the data identified with the name of the book,
issue date, accessibility of the book, and its writer.
• 1968 was the year when File-Based database were introduced. In file-
based databases, data was maintained in a flat file. Though files have
many advantages, there are several limitations.
• One of the major advantages is that the file system has various access
methods, e.g., sequential, indexed, and random.
• It requires extensive programming in a third-generation language such
as COBOL, BASIC.
Hierarchical Data Model
Meaning DBMS is a collection of data. In DBMS, the The file system is a collection of data.
user is not required to write the procedures. In this system, the user has to write
the procedures for managing the
database.
Sharing of data Due to the centralized approach, data Data is distributed in many files, and
sharing is easy. it may be of different formats, so it
isn't easy to share data.
Data Abstraction DBMS gives an abstract view of data that The file system provides the detail of
hides the details. the data representation and storage of
data.
Security and DBMS provides a good protection It isn't easy to protect a file under the file
Protection mechanism. system.
Recovery DBMS provides a crash recovery The file system doesn't have a crash
Mechanism mechanism, i.e., DBMS protects the user mechanism, i.e., if the system crashes
from system failure. while entering some data, then the content
of the file will be lost.
Manipulation DBMS contains a wide variety of The file system can't efficiently store and
Techniques sophisticated techniques to store and retrieve the data.
retrieve the data.
Concurrency DBMS takes care of Concurrent access of In the File system, concurrent access has
Problems data using some form of locking. many problems like redirecting the file
while deleting some information or
updating some information.
Where to use Database approach used in large systems File system approach used in
which interrelate many files. large systems which interrelate
many files.
Cost The database system is expensive to The file system approach is
design. cheaper to design.
Data Redundancy and Due to the centralization of the database, In this, the files and application
Inconsistency
the problems of data redundancy and programs are created by different
inconsistency are controlled. programmers so that there exists
a lot of duplication of data which
may lead to inconsistency.
Structure The database structure is complex to The file system approach has a
design. simple structure.
Data Independence •In this system, Data In the File system approach,
Independence exists, and it can there exists no Data
be of two types.Logical Data Independence.
Independence
•Physical Data Independence
Integrity Constraints Integrity Constraints are easy to Integrity Constraints are difficult
apply. to implement in file system.
Data Models •In the database approach, 3 In the file system approach, there
types of data models is no concept of data models
exist:Hierarchal data models exists.
•Network data models
•Relational data models
Flexibility Changes are often a necessity to the content of The flexibility of the system is less as
the data stored in any system, and these compared to the DBMS approach.
changes are more easily with a database
approach.
• The physical or internal layer is the lowest level of data abstraction in the
database management system.
• It is the layer that defines how data is actually stored in the database. It
defines methods to access the data in the database.
• It defines complex data structures in detail, so it is very complex to
understand, which is why it is kept hidden from the end user.
• Data Administrators (DBA) decide how to arrange data and where to store
data.
• The Data Administrator (DBA) is the person whose role is to manage the
data in the database at the physical or internal level.
• There is a data center that securely stores the raw data in detail on hard
drives at this level.
2. Logical or Conceptual Level: