DBMS
DBMS
Data: Data is the row facts and figures observed by on observed. Example= -
Red, 2S, Pen etc.
Information: Collection of data which gives complete meaning is called as
information is achieved by processing on data. It gives complete recognizing of an
object or a person or a place. Example= Roll-1, Name- Anu, Address- Haripur.
Example- DATA
color model
ID NO.
II. Hierarchical Data Model: The data model in which all the data are
hierarchically connected in the form of data structure concept (root- child
process) is called as hierarchical data model.
III. Network data model: The data model that represents the database of one-to-
many relationship using link pointer concept of data structure is called
network data model.
IV. Relation Data Model: The tabular data model is called as relational data
model.
Importance of Data Model:
i. We can tackle data redundancy
ii. We can tackle data dependency
iii. We can maintain integrity
iv. We can maintain flexibility
LEVEL OF DATA ABSITRACTION: How data are seen for user known as
level data abstraction.
i. External/ logical view
ii. Conceptual view
iii. Internal/ physical view
I. External/ logical view: This is the highest level of data abstraction as seen
by the user. It describes only some pa
II. Conceptual view: It describes what data are actually stored in the database.
In times of simple structure.
III. Internal/ physical view: It describes how data are physically stored in the
disc.
Example-
See number Roll
Name Name Age External View
User1 user2
Roll Integer
Name string conceptual view
Age integer
Section no. Character
Roll integer, offset S
Name string (15), offset £125 internal view
Age integer (2), offset 150
Section no. char (1), offset 200
Common terms:
i. Entity: Entity specifies red world item. Example- student, school, book, etc.
ii. Attribute: It specifies properties of an entity or relation. Example- Name,
Color, Address, Cost.
iii. Relation: Relation is a kind of co-ordination between entities.
E-R Data Model: Graphical representation of W-R Data model (symbols
used in E-R Data model).
Rectangle It is used to represent entity.
Oral It is used to represent Attribute
Diamond It is used to represent relation
Line It is used to connect entity with attribute, entity with
relation
Cardinal Mapping: The method of relation implementation through mapping
is called as coordination mapping.
One to one: (1:1)
husband has wife
Books Students
BNO. Name Writer Cost Rol Name Address Clas DOB
l s
Bad
Name
Constant: The prohibition or some criteria to be followed for relation its
attributes it known as constant. Example: salary must be between 1000/- $ 23000/-
empro must start with etc.
Employers
ENO. Name Post salary Salary= 10000/- AND 25000/-
E001
Supply-details Item-details
S code Name Address I code I name Quality Price
Item-supply
ADBMS:
i. Distributed database management system (DDBMS or D 2BMS): D2BMS,
the database is stored in several computers. The computers in distributed
database communicates with each other through various communication
media. The database is handled in dependably and produce result in
integration form.
Objectives of D2BMS
Separation of data fragmentation from data allocation.
Control of data redundancy
Independence from local DBMS
Object oriented database management system (OODBMS or O 2DBMS):
OODBMS provides facilities to create objects, to organize on instanced hierarchy,
to organizes classes so that sub-class may intertie attributes and methods from
super class. It is standard database it has all facilities provided in ADBMS.
Example-
Employee (Name, Address, Post)
District
VDC
Ward no.
F name
M name
L name
Advantages of O2DBMS:
Objects are created during run time and destroyed when the program in
It has better flexibility
It has high security
Data can also be handled in distributed system.
It minimized need of vertical memory.
Multimedia database management system. A multimedia management
database is general term for a database that consists of abstract data
such as image, video, audio, graphics, animation hypertext and
hypermedia.
Concurrency control: It means multiple users using a signal database for
their functions concurrency. In this case database administrator/ manager has the
responsibility to handle/ control the functions of all the users with the database
centrally.
Backup: Backup is a type of process which is applied to store certain data/
program into a disc.
Advantage of Backup:
In the case of program/ data loss backup is used to restore.
One copy of program/ data can be used to copy into another.
Steps for Backup:
Click on start button
Choose program and then oracles person edition.
Choose and click on backup manager
Choose and click on ok.
Memory: storage area of computer is called as memory/ storage.
Disc: Disk is secondary storage which stores data for example- Hard disc,
floppy disc etc.
Seek time: Seek time is the time taken by read/ write head to reach specified
track for reading/ writing.
Latency time: Latency time is the time taken by specified sector to reach
below read (write head).
FINISH