Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Da Tabase Management System: Hassan Khan

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 11

DA TABASE

MANAGEMENT SYSTEM
HASSAN KHAN
Database
• Database is a collection of related data and data is a collection of facts
and figures that can be processed to produce information.

“Database management system”


• A database management system stores data in such a way that it
becomes easier to retrieve, manipulate, and produce information.
Database management system (DBMS)
• A database management system (DBMS) is system software for
creating and managing databases. The DBMS provides users and
programmers with a systematic way to create, retrieve, update and
manage data.
• A DBMS makes it possible for end users to create, read, update and
delete data in a database. The DBMS essentially serves as an interface
between the database and end users or application programs,
ensuring that data is consistently organized and remains easily
accessible.
Users
Administrators −
• Administrators maintain the DBMS and are responsible for administrating the database. They
are responsible to look after its usage and by whom it should be used. They create access
profiles for users and apply limitations to maintain isolation and force security. Administrators
also look after DBMS resources like system license, required tools, and other software and
hardware related maintenance.

Designers −
• Designers are the group of people who actually work on the designing part of the database.
They keep a close watch on what data should be kept and in what format. They identify and
design the whole set of entities, relations, constraints, and views.

End Users −
• End users are those who actually reap the benefits of having a DBMS. End users can range from
simple viewers who pay attention to the logs or market rates to sophisticated users such as
business analysts
DBMS vs. File System
There are following differences between DBMS and File system:
DBMS File System
DBMS is a collection of data. In DBMS, the user is not File system is a collection of data. In this system, the user has to
required to write the procedures. write the procedures for managing the database.

DBMS gives an abstract view of data that hides the details. File system provides the detail of the data representation and
storage of data.

DBMS provides a crash recovery mechanism, i.e., DBMS File system doesn't have a crash mechanism, i.e., if the system
protects the user from the system failure. crashes while entering some data, then the content of the file will
lost.

DBMS provides a good protection mechanism. It is very difficult to protect a file under the file system.

DBMS contains a wide variety of sophisticated techniques to File system can't efficiently store and retrieve the data.
store and retrieve the data.

DBMS takes care of Concurrent access of data using some In the File system, concurrent access has many problems like
form of locking. redirecting the file while other deleting some information or
updating some information.
DBMS Architecture

• A DBMS architecture is depending on its design and can be of the


following types:
• Centralized
• Decentralized
• Hierarchical
• DBMS architecture can be seen as either a single tier or multi-tier. An
architecture having n-tier splits the entire system into related but
independent n modules that can be independently customized,
changed, altered, or replaced.
DBMS Architecture (Continue)
• The architecture of a database system is very much influenced by the
primary computer system on which the database system runs.
Database systems can be centralized, or client-server, where one
server machine executes work on behalf of multiple client machines.
Database systems can also be designed to exploit parallel computer
architectures. Distributed databases span multiple geographically
separated machines.
DBMS Architecture (Continue)
• In 1-tier architecture, the DBMS is the only entity where the user directly
sits on the DBMS and uses it. Any changes done here will directly be done
on the DBMS itself. It does not provide handy tools for end-users.
Database designers and programmers normally prefer to use single-tier
architecture.

• If the architecture of DBMS is 2-tier, then it must have an application


through which the DBMS can be accessed. Programmers use 2-tier
architecture where they access the DBMS by means of an application.
Here the application tier is entirely independent of the database in terms
of operation, design, and programming.
3-tier Architecture

• A 3-tier architecture separates its tiers from each other based on the
complexity of the users and how they use the data present in the
database. It is the most widely used architecture to design a DBMS.
3-tier Architecture (Continue)
• Database (Data) Tier − At this tier, the database resides along with its query processing languages.
We also have the relations that define the data and their constraints at this level.

• Application (Middle) Tier − At this tier reside the application server and the programs that access
the database. For a user, this application tier presents an abstracted view of the database. End-
users are unaware of any existence of the database beyond the application. At the other end, the
database tier is not aware of any other user beyond the application tier. Hence, the application
layer sits in the middle and acts as a mediator between the end-user and the database.

• User (Presentation) Tier − End-users operate on this tier and they know nothing about any
existence of the database beyond this layer. At this layer, multiple views of the database can be
provided by the application. All views are generated by applications that reside in the application
tier.

You might also like