PC 318 DBMS: Prepared By: Darwin N. Desamparado

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

Pc 318

DBMS
Prepared by : Darwin N. Desamparado
Points to
Review
A database management system (DBMS) is software that supports
managementof large collections of data.

A DBMS provides ecient data access, data independence,


data integrity, security, quick application development, support for
concurrent access, and recovery from system failures.

Storing data in a DBMS versus storing it in operating system files has


many advantages.
Using a DBMS provides the user with data independence, efficient data
access, automatic data integrity, and security.

The structure of the data is described in terms of a data model and the
description is called a schema. The relational model is currently the most
popular data model.

A DBMS distinguishes between external, conceptual, and physical schema


and thus allows a view of the data at three levels of abstraction.
A query language and a data manipulation language enable high-level access
and modication of the data.A transaction is a logical unit of access to a DBMS.

The DBMS ensures thateither all or none of a transaction's changes are


applied to the database.

Forperformance reasons, the DBMS processes multiple transactions


concurrently, butensures that the result is equivalent to running the
transactions one after the otherin some order.
The DBMS maintains a record of all changes to the data in thesystem
log, in order to undo partial transactions and recover from system
crashes.

Checkpointing is a periodic operation that can reduce the time for


recovery froma crash.
DBMS code is organized into several modules: the disk space manager, the
Buffer manager, a layer that supports the abstractions of files and index
structures, a layer that implements relational operators, and a layer that
optimizes queries andproduces an execution plan in terms of relational
operators.

A database administrator (DBA) manages a DBMS for an enterprise. The DBA


designs schemas, provide security, restores the system after a failure, and
periodically tunes the database to meet changing user needs. Application
programmersdevelop applications that use DBMS functionality to access and
manipulate data,and end users invoke these applications.
ENTITY-RELATIONSHIP MODEL
The entity-relationship (ER) data model allows us to describe the data
involved in a real-world enterprise in terms of objects and their relationships
and is widely used to develop an initial database design.
The database design process

(1) Requirements Analysis: The very first step in designing a database


application is to understand what data is to be stored in the database, what
applications must be built on top of it, and what operations are most frequent
and subject to performance requirements.

(2) Conceptual Database Design: The information gathered in the requirements


analysis step is used to develop a high-level description of the data to be stored
in the database, along with the constraints that are known to hold over this data.
Design: We must choose a DBMS to implement our database
design, and convert the conceptual database design into a database schema in
the data
model of the chosen DBMS. We will only consider relational DBMSs, and
therefore,
the task in the logical design step is to convert an ER schema into a relational
database
schema. We discuss this step

You might also like