ER Diagram For Library Management System
ER Diagram For Library Management System
SUBMITED TO
SUBMITED BY GUIDED BY
……………….. ……………………..
IN SUPERVIGINE OF
A project can never be completed Without the help of teachers , friends and family .I am greatly
This project mainly helps us to know about the basic concepts database . The work is done with
under supervision of Prof. Anil Lata . This project may be not completed perfectly special
Last but not the least only because of the help of my family , friends and teachers who supported
……………….
BCA PART 1
CERTIFICATE
This is to certify that work entitled has been carried out by ……………………. Under the
COMPUTER APPLICATIONS, B.J.S.R College, Bikaner for completing her mini project on the
……………………….
Project Guide
ER Diagram for
Library
Management
System
INDEX
Certificate
Acknowledgement
Introduction of DBMS
Entity Relationship Diagram
Database design
Introduction of DBMS
o Database management system is a software which is used to manage the database. For
example: MySQL, Oracle, etc are a very popular commercial database which is used in
different applications.
o DBMS provides an interface to perform various operations like database creation, storing
data in it, updating data, creating a table in the database and a lot more.
o It provides protection and security to the database. In the case of multiple users, it also
maintains data consistency.
o Data Definition: It is used for creation, modification, and removal of definition that
defines the organization of data in the database.
o Data Updation: It is used for the insertion, modification, and deletion of the actual data in
the database.
o Data Retrieval: It is used to retrieve the data from the database which can be used by
applications for various purposes.
o User Administration: It is used for registering and monitoring users, maintain data
integrity, enforcing data security, dealing with concurrency control, monitoring
performance and recovering information corrupted by unexpected failure.
Characteristics of DBMS
o It uses a digital repository established on a server to store and manage the information.
o It can provide a clear and logical view of the process that manipulates data.
o DBMS contains automatic backup and recovery procedures.
o It contains ACID properties which maintain data in a healthy state in case of failure.
o It can reduce the complex relationship between data.
o It is used to support manipulation and processing of data.
o It is used to provide security of data.
o It can view the database from different viewpoints according to the requirements of the
user.
Advantages of DBMS
o Controls database redundancy: It can control data redundancy because it stores all the
data in one single database file and that recorded data is placed in the database.
o Data sharing: In DBMS, the authorized users of an organization can share the data among
multiple users.
o Easily Maintenance: It can be easily maintainable due to the centralized nature of the
database system.
o Reduce time: It reduces development time and maintenance need.
o Backup: It provides backup and recovery subsystems which create automatic backup of
data from hardware and software failures and restores the data if required.
o multiple user interface: It provides different types of user interfaces like graphical user
interfaces, application program interface.
Database Language
o A DBMS has appropriate languages and interfaces to express database queries and
updates.
o Database languages can be used to read, store and update the data in the database.
(But in Oracle database, the execution of data control language does not have the feature of
rolling back.)
There are the following operations which have the authorization of Revoke:
In the library Management system, the following entities and attributes can be identified.
•Book -the set all the books in the library. Each book has a Book-id, Title, Author, Price,and
Available (y or n) as its attributes.
•Member -the set all the library members. The member is described by the attributesMember_id,
Name, Street, City, Zip_code, Mem_type, Mem_date (date of membership),Expiry_date.
•Publisher -the set of all the publishers of the books. Attributes of this entity are Pub_id,Name,
Street, City, and Zip_code.
•Supplier -the set of all the Suppliers of the books. Attributes of this entity are Sup_id,Name,
Street, City, and Zip_code.Assumptions: a publisher publishes a book. Supplier supplies book to
library. Members borrowthe book (only issue).
E-R Diagram
Entity relationship diagram is used in modern database software engineering to illustrate
logical structure of database. It is a relational schema database modeling method used to
model a system and approach. This approach commonly used in database design. The
diagram created using this method is called E-R diagram.
The E-R diagram depicts the various relationships among entities considering each object
as entity. Entity is represented as diamond shape and relationship is represented as rectangle.
It depicts the relationship between data objects. The E-R diagram is the relation that is used
to conduct the data modeling activity.
Entity:-
Entity is the thing which we want to store information. It is an elementary basic building
block of storing information about business process. An entity represents an objects defined
within the information system about which you want to store information.
Relationship:-
A relationship is named connection or association between entities used to relate two or
more entities with some common attributes of meaningful interaction between the object.
Attributes:-
Attributes are the properties of the entities and relationship. Descriptor of the entity.
Attributes are elementary pieces of information attached to an entity.
Symbols Meaning
Entity
Relationship
Attribute
Key Attribute