Data Base Management System PDF
Data Base Management System PDF
MANAGEMENT
GROUP XIV SYSTEM
Vaibhav 696
Pranjay 576
Suraj 901
What is Database Management System?
Database
Accounting Customers
Sales Representative
Department USER
DBMS Sales
INTERFACE
Inventory
Accounts
Employees etc.
Personnel
Department
Advantages
Reduced Data Redundancy: As compared to a conventional file system in which the data is maintained in separate
files by the different user groups as per their requirements that leads to duplication of data and wastage of storage
resources, the DBMS allows the users to access centrally managed database that reduces the data redundancy and
saves storage space.
Elimination of Inconsistencies: In file system when one has to update the data, he/she has to make changes in all the
files where the data is maintained. This process is error prone. But using DBMS, the data is centrally managed that
reduces the chances of such errors.
Lower Overall Cost: Though the initial cost of setting up a database system is quite high, if one sees the information
requirements in today's competitive and transparent environment and the speed at which it is required that too over
a number of years, the overall cost turns out to be much lower than traditional file system of managing data.
Data Security: The DBMS allows enforcement of authentications that reduces the possibility of unauthorized access
of the database. This makes the data secure.
Backup and Recovery: DBMS provides for recovery and backup of data on a regular basis from failures like power
failure, disk crash, software errors, etc.
Disadvantages
High Initial Cost: The initial cost of setting up a database management system is high
as it requires specific hardware & software components. Also, trained personnel is
necessary to set up a DBMS.
Security Issues: Since the data is centrally managed and saved by the users, it creates
a possibility of unauthorized access to data by outsiders.
ER MODEL
ER model representented by ER
Diagram, pictorially explains the
relationship between entities to be Basic ER Model
ENTITY
An entity may be any object, class, person or place. It is
represented by rectangle in ER diagram.
Weak Entity
An entity that makes reliance over another entity is
called a weak entity
COMPONENTS OF ER MODEL
ATTRIBUTES
The attribute is used to describe the property of an entity. Oval is
used to represent an attribute.
Key Attribute
The key attribute is used to represent the main characteristics
of an entity. It represents a primary key.
Composite Attribute
An attribute that is composed of several other attributes is
known as a composite attribute.
COMPONENTS OF ER MODEL
Multivalued Attribute
Some attributes can possess over one value, those attributes
are called multivalued attributes. It is represented by double
oval shape
Derived Attribute
An attribute that can be derived from other attributes of the
entity is known as a derived attribute. The dashed oval
represents the derived attribute.
COMPONENTS OF ER MODEL
RELATIONSHIP
A relationship is used to describe the relation between entities.
Diamond or rhombus is used to represent the relationship
CANDIDATE KEY
A candidate key is an attribute or set of attributes that can uniquely identify a tuple. Except for
the primary key, the remaining attributes are considered a candidate key
PRIMARY KEY
It is a key that can uniquely identify each record in a table.
COMPOSITE KEY
Key that consists of two or more attributes that uniquely identify any record in a table is called
Composite key.
SECONDARY KEY
The candidate key which are not selected as primary key are known as secondary or alternative keys.
SUPER KEY
Super key is an attribute set that can uniquely identify a tuple. A super key is a superset of a
candidate key.
THANKS