DBMS
DBMS
❖ DBMS
1> Database management system is a software which is used to manage the database. Ex:
(MYSQL, SQL, ORACAL)
2> Database provides and interface to perform various operations like –
Database creation
Updating data
Store data in it.
3> It provides protection and security to the database. In the of multiusers.
4> It also maintains data consistency.
❖ Advantages of DBMS
❖ Dis-advantages of DBMS
1> Cost of hardware and software :- It is required a high speed of data processor and large
memory size to run DBMS
2> Size :- It occupied the space of disc and large memory to run them efficiently.
architecture ( 1 – tire ) :-
In these Architecture the database is directly available to the user it means the user can directly seat on the DBMS
and uses it. Any changes done here will directly be done on the database itself. It does not provide a handy tool for
the end user. The one tire architecture is used for development of the local application, we are programmers can
directly communicate with the database.
❖ Entity :-
An Entity is a real world thing can be distinctly identified like a person, place or a concept it is an object
which is distinguishable from other if we cannot distinguish it from others than it is an object but not an entity.
Eg. :- in a school database student, teacher, course can be considered as Entities.
All these Entities have some attributes or properties that give than their identify.
❖ Attributes :-
An attributes is a property or characteristics of an entity. An entity may contain any number of attributes are
represented in one elliptical shape. Like
There are following types of attributes :-
1> Simple attributes:- An attribute can which cannot be further subdivided into components is called
simple attributes. E.G.:- students, roll no, employee, etc.
2> Composite attribute :-
An attribute which can be splited or divided into components is called composite attribute.
E.g. :- address –locality, state, city.
John Order – 1
Jack Order – 2
Johnny Order – 3
Bob Order - 4
As above example one to one relationship is used to create a relationship between two tables in which a single
row of the first table can only be related to one and only second table similarly. The row of second table can also
be related to any one row of the first table.
As above example one to many relation is used to create a relationship between two tables. In these single rows of
the first table can be related to one or many rows of second tables can only one row in the first table it is also
known as many to one relationship.
In many to many relationships each record of first table can related to any record in the second table.
Similarly, each record of the second table can also related to more than one record of the first table.
E.G.: There are many people involved in each project and every person can involve more than one project.
Structure of DBMS Language