SlideShare a Scribd company logo
1
Database :- 
A Database is a structure that can store information 
about multiple types of entities ,and the relationships 
among the entities . 
Entity :- 
An entity is a person , place, object or idea for which 
you want to store and process data. 
Attribute:- 
An Attribute is a characteristic or property of an entity. 
The term used in this text exactly as it is used. 
Data Base Management System :- 
A DBMS is a program or a collection 
of programs , though which users interact with a database . The actual 
manipulation of the underlying in handled by the DBMS . 
2
Database application:- 
An application program (or set of related 
programs)that is used to perform a series of database activities (Create, read, 
update and delete) on behalf of database users. Each database application 
performs some combination of the following basic operation 
1)Create :- Add new data to the database. 
2)Read :- Read current database data (often presented in a useful format on a 
computer screen or on a printed report). 
3)Update :- Update or modify current data. 
4)Delete :- Delete current data from the database. 
3
DBMS Advantages 
DBMS has many advantages such as: 
Reduction in data Redundancy :- 
It means that DBMS helps in removing duplicate 
data from the database. It will notice that Redundancy leads to several problems: 
i) Duplication of Efforts . 
ii) Save the storage space /memory where data is saved. 
Provides Security :- 
Restrict users to access all the information of the database by 
providing passwords and rights .there are also various coding techniques to maintain the security of 
important and crucial information from unauthorized users and accidents. 
4
DBMS Advantages 
 Data can be shared among various users:- 
In a database system , data can be 
easily shared by different users .For example ,student data can shared by teacher 
department subject wise ,Fee department ,library etc. 
 Data Integrity :- 
since a large number of users can access database together at the same 
time . So, to maintain the same data/information correct every time and at every 
place during any operation is called data integrity. 
 Maintenance of data integrity :- 
data Integration can be understood by the fact 
that data contained in the database should be accurate and consistent. 
5
Types of DBMS Models 
These categories are made on the basis of the ways in which data are stored in 
the database : 
1)Flat file or sequential . 
2)Hierarchical 
3)Network 
4)Relational 
5)Entity–relationship model 
6)Object database 
6
Sequential or Flat File 
Flat File:- 
A Flat File can be defined as a text file in which you can organize the data in 
your own format and it is not linked with any other file .In this the data is processed in the 
way the data is stored. 
Example:-MS Spread Sheet. 
Item name Price Quantity Store Name Date of sale 
Bread 15 5 saravana 30-08-2014 
Butter 46 6 saravana 30-08-2014 
Biscuits 56 8 saravana 01-09-2014 
7
Sequential or Flat File 
Advantages of Flat File System:- 
1) It is simple and easy to implement. 
2) It can be used for small database 
3) It is used where no links between data or files are required. 
Disadvantage of File System :- 
1)Duplication of data Entries. 
2)Since the access mode is sequential or in a single order, the system gets 
slower for large database. 
3)The file is hard to recover if it is corrupted or system crashes . 
8
Hierarchical Database Model 
• In this kind of database, data are stored in the form of a hierarchy .Hierarchy 
database is like a tree structure which has one root and many branches .It uses the 
concept of parent child relation ship .in this type of database a single file may have 
many relationship. 
this system is very advance compare to sequential system(a flat file). 
9
Hierarchical Database Model 10
Hierarchical Database Model 
Advantages of Hierarchical databases :- 
it is having following advantage 
1) Hierarchical model is simple to construct. 
2)This type of database is generally used in daily life organizations 
where data is organized in hierarchically organized domains, 
component assemblies in manufacturing ,personnel organization in 
companies. 
3)Accessing of data is faster in hierarchical database compared to 
sequential database. 
11
Hierarchical Database Model 
Disadvantages of Hierarchical Database :- 
1) Complex implementation 
2)Difficult to manage 
3)Lacks structural independence 
4)Complex applications programming and use 
5)Implementation limitations 
6)Lack of standards 
12
Network database model 
• In this model, a parent can have many children and a child can also 
have many parent records. These records are physically linked 
through linked lists. 
network model was developed in mid 1960s as part of work of 
CODASYL(Conference on Data Systems Languages) which 
proposed programming language COBOL(1966) and then network 
model(1971). 
13
Network database model 14
Network database model 
Advantages of network Model:- 
1)It eliminates unnecessary duplication of data with associated errors and 
costs. 
2)It uses concept of a data definition language ,data manipulation language . 
3)It uses concept of m:n linkages or relationships, which mean that an owner 
record can have many members records. Similarly a member record can have 
several owners .but a hierarchical model allows only 1:n 
Disadvantages of network Model :- 
1)System complexity 
2)Lack of structural independence 
15
Relational data model :- 
In this model of DBMS ,data is stored in two- dimensional table (rows, and columns ),this is a 
model relation between two tables exists with something in common or some data which these 
two tables share. Each column of a table is referred ta as an attribute and the values which it may 
contain is called domain of values. 
In this model was proposed by IBM researcher E.F.Codd in 1970. it is more of a concept than a 
data structure varies substantially from one RDBMS to another .Relational database model use 
relational concept of mathematics in a table . 
You can understand Relational Model where 
Each row is a record or tuple. 
Each column is an attribute. 
Primary Key:- 
the Primary Key of a table uniquely identifies the record . 
Foreign Key :- 
16 
The Foreign key is the key of a table which is used for referencing the other table .
Relational data model :- 
• Example :1 Student table and its primary Key 
ID No 
(Primary Key) 
Student Name Class Department 
S34877 Raja Sekhar MLIS Library and Information Science 
S34878 Avani MSc Computer Science 
S34879 Kadiresan MLIS Library and information science 
S34880 Amees MLIS Library and information science 
S34881 Gopi MA English 
S34882 Shyndeep MLIS Library and information science 
S34883 Rajesh MBA Business Management 
17
Relational data model :- 
• Example :- Library Table 
Book No 
(Primary Key) 
ID No 
(Foreign Key) 
Title Issued Date 
12567 S34877 Colon classification 26/09/2014 
15498 S34878 Database System 16/09/2014 
12578 S34879 Information Resources 22/092014 
12576 S34880 MARC21 14/092014 
14582 S34881 William Shakespeare 24/09/2014 
12565 S34882 Library Associations 22/09/2014 
14825 S34883 Business Law 15/09/2014 
18
Relational data model :- 
Advantages of Relational data Model:- 
1)Structural independence. 
2)Improved conceptual simplicity. 
3)Easier database design, implementation, management, and use. 
4)Ad hoc query capability. 
5)Powerful database management system. 
Advantages of Relational data Model:- 
1)Substantial hardware and system software overhead. 
2)Can facilitate poor design and implementation 
3)May promote “islands of information "problems 
19
Entity Relationship Models 
Entity- relationship model is a logical representation of data for 
an organization or for a business area .the E-R model consists of entities 
which have attributes and relationships between these entities . 
E-R model was proposed by peter in 1976. simply stated ,the 
ER model is a conceptual data model that views the real world as entities 
and relationships. 
20
Entity Relationship Models 21
Entity Relationship Models 
Advantages of Entity Relationship Models:- 
1)Exceptional conceptual simplicity 
2)Visual representation 
3)Effective communication tool 
4)Integrated with the relational data model. 
Disadvantages of Entity Relationship Models:- 
1)Limited constraint representation 
2)Limited relationship representation 
3)No data manipulation language 
4)Loss of information content 
22
Object Oriented Model 
An object database (also object-oriented database 
management system) is a database management system in which 
information is represented in the form of objects as used in object-oriented 
programming. Object databases are different from relational 
databases which are table-oriented. 
•Object is described by its factual content 
•Includes information about relationships between facts within object and 
relationships with other objects. 
•Subsequent OODM development allowed an object to also contain 
operations 
••Object becomes basic building block for autonomous structures 
23
Object Oriented Model 
Basic structure of OODB model:- 
Object: abstraction of a real-world entity. 
Attributes describe the properties of an object. 
Objects that share similar characteristics are grouped in classes. 
Classes are organized in a class hierarchy. 
Inheritance is the ability of an object within the class hierarchy to 
inherit the attributes and methods of classes above it. 
24
Object Oriented Model 25
Object Oriented Model 
Advantages of OODBMS model:- 
1)Object model intuitively closer to real world 
2)Extensibility – inheritance 
3)Complex values 
4)Removal of impedance mismatch 
5)More expressive query language 
6)Tight coupling between data and applications allows schema 
to capture more of the meaning of applications 
7) Support for long transactions 
26
Object Oriented Model 
Advantages of OODBMS model:- 
8) Better support for applications like software engineering or 
computer aided design (CAD) 
9) Arguably better performance, though benchmarks have mainly 
been applied in areas like engineering support to which OODBMS 
are better suited. 
Disadvantages of OODBMS model:- 
1) Lack of a theoretical foundation, so exact meaning of OODM 
is not well defined (though this is mitigated by the ODMG model) 
27
Object Oriented Model 
Disadvantages of OODBMS model:- 
2)More difficult to get staff experienced with OODBMSs 
3)Lack of standards (mitigated by ODMG's OQL) 
4)Competition from relational and object-relational DBMS's 
5)Encapsulation compromised to optimize queries (but in RDBMS's, 
normalization may be compromised to improve performance). 
6) OODBMS's usually control concurrency by locking; locking 
an inheritance hierarchy is difficult and may affect performance. 
28
Object Oriented Model 
7) OODM is inherently more complex than relational data model; 
OODBMS provides more complex functionality than RDBMS; 
complexity leads to higher implementation and maintenance costs. 
8) Lack of views; but are views necessary with an object model? 
29
References :- 
1)IGNOU computer fundamentals book. 
2)Modern Database Management sixth edition. 
3)Internet . 
30
Thank you 
31

More Related Content

What's hot

Viruses andthreats@dharmesh
Viruses andthreats@dharmeshViruses andthreats@dharmesh
Viruses andthreats@dharmesh
Dharmesh Kumar Sharma
 
Hash mac algorithms
Hash mac algorithmsHash mac algorithms
Hash mac algorithms
Tony Nguyen
 
File concept and access method
File concept and access methodFile concept and access method
File concept and access method
rajshreemuthiah
 
Web Application
Web ApplicationWeb Application
Web Application
Sameer Poudel
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMSkoolkampus
 
C++ Memory Management
C++ Memory ManagementC++ Memory Management
C++ Memory Management
Rahul Jamwal
 
Operating system 32 logical versus physical address
Operating system 32 logical versus physical addressOperating system 32 logical versus physical address
Operating system 32 logical versus physical address
Vaibhav Khanna
 
Files
FilesFiles
Lesson 6 php if...else...elseif statements
Lesson 6   php if...else...elseif statementsLesson 6   php if...else...elseif statements
Lesson 6 php if...else...elseif statements
MLG College of Learning, Inc
 
Dynamic storage allocation techniques in Compiler design
Dynamic storage allocation techniques in Compiler designDynamic storage allocation techniques in Compiler design
Dynamic storage allocation techniques in Compiler design
kunjan shah
 
Distributed database management system
Distributed database management  systemDistributed database management  system
Distributed database management system
Pooja Dixit
 
Disk Operating System.pptx
Disk Operating System.pptxDisk Operating System.pptx
Disk Operating System.pptx
DrIrfanulHaqAkhoon
 
OS Components and Structure
OS Components and StructureOS Components and Structure
OS Components and Structure
sathish sak
 
Memory Management
Memory ManagementMemory Management
Memory Management
lavanya marichamy
 
Text analytics
Text analyticsText analytics
Text analytics
Utkarsh Sharma
 
ACID Property in DBMS
ACID Property in DBMSACID Property in DBMS
ACID Property in DBMS
Techtud Network
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
Rahul Narang
 

What's hot (20)

Linkers
LinkersLinkers
Linkers
 
Viruses andthreats@dharmesh
Viruses andthreats@dharmeshViruses andthreats@dharmesh
Viruses andthreats@dharmesh
 
Hash mac algorithms
Hash mac algorithmsHash mac algorithms
Hash mac algorithms
 
File concept and access method
File concept and access methodFile concept and access method
File concept and access method
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
 
Web Application
Web ApplicationWeb Application
Web Application
 
Loaders
LoadersLoaders
Loaders
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
C++ Memory Management
C++ Memory ManagementC++ Memory Management
C++ Memory Management
 
Operating system 32 logical versus physical address
Operating system 32 logical versus physical addressOperating system 32 logical versus physical address
Operating system 32 logical versus physical address
 
Files
FilesFiles
Files
 
Lesson 6 php if...else...elseif statements
Lesson 6   php if...else...elseif statementsLesson 6   php if...else...elseif statements
Lesson 6 php if...else...elseif statements
 
Dynamic storage allocation techniques in Compiler design
Dynamic storage allocation techniques in Compiler designDynamic storage allocation techniques in Compiler design
Dynamic storage allocation techniques in Compiler design
 
Distributed database management system
Distributed database management  systemDistributed database management  system
Distributed database management system
 
Disk Operating System.pptx
Disk Operating System.pptxDisk Operating System.pptx
Disk Operating System.pptx
 
OS Components and Structure
OS Components and StructureOS Components and Structure
OS Components and Structure
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Text analytics
Text analyticsText analytics
Text analytics
 
ACID Property in DBMS
ACID Property in DBMSACID Property in DBMS
ACID Property in DBMS
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
 

Viewers also liked

Different data models
Different data modelsDifferent data models
Different data models
madhusha udayangani
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
Vaibhav Kathuria
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
Dr. C.V. Suresh Babu
 
Database Management system
Database Management systemDatabase Management system
Database Management system
Vijay Thorat
 
Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 

Viewers also liked (9)

Chapter 7
Chapter 7Chapter 7
Chapter 7
 
Different data models
Different data modelsDifferent data models
Different data models
 
Tg03
Tg03Tg03
Tg03
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
 
Database Management system
Database Management systemDatabase Management system
Database Management system
 
Data base management system
Data base management systemData base management system
Data base management system
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 

Similar to DBMS topic in PU

DBMS-Unit-1.pptx
DBMS-Unit-1.pptxDBMS-Unit-1.pptx
DBMS-Unit-1.pptx
Bhavya304221
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptx
uwmctesting
 
DBMS
DBMS DBMS
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
chatkall46
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health Informatics
Zulfiquer Ahmed Amin
 
DBMS OF DATA MODEL Deepika 2
DBMS OF DATA MODEL  Deepika 2DBMS OF DATA MODEL  Deepika 2
DBMS OF DATA MODEL Deepika 2
Rai Saheb Bhanwar Singh College Nasrullaganj
 
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvyppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
vk5985399
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
Nishant Munjal
 
database management system - overview of entire dbms
database management system - overview of entire dbmsdatabase management system - overview of entire dbms
database management system - overview of entire dbms
vikramkagitapu
 
dbms unit-1
dbms unit-1dbms unit-1
dbms unit-1
Vivek Kumar
 
Lecture#5
Lecture#5Lecture#5
Dbms unit 1
Dbms unit   1Dbms unit   1
Dbms unit 1
devineni66
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
Jananath Banuka
 
Database Systems Lec 1.pptx
Database Systems Lec 1.pptxDatabase Systems Lec 1.pptx
Database Systems Lec 1.pptx
NishaTariq1
 
Chapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureChapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and Architecture
Kunal Anand
 
Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
RAJULKUMARSUTHAR
 
Database System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptxDatabase System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptx
Koteswari Kasireddy
 
Database Concepts
Database ConceptsDatabase Concepts
Database Concepts
Upendra Reddy Vuyyuru
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
Krishna Bashyal
 

Similar to DBMS topic in PU (20)

DBMS-Unit-1.pptx
DBMS-Unit-1.pptxDBMS-Unit-1.pptx
DBMS-Unit-1.pptx
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptx
 
DBMS
DBMS DBMS
DBMS
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health Informatics
 
DBMS
DBMSDBMS
DBMS
 
DBMS OF DATA MODEL Deepika 2
DBMS OF DATA MODEL  Deepika 2DBMS OF DATA MODEL  Deepika 2
DBMS OF DATA MODEL Deepika 2
 
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvyppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
database management system - overview of entire dbms
database management system - overview of entire dbmsdatabase management system - overview of entire dbms
database management system - overview of entire dbms
 
dbms unit-1
dbms unit-1dbms unit-1
dbms unit-1
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
 
Dbms unit 1
Dbms unit   1Dbms unit   1
Dbms unit 1
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
 
Database Systems Lec 1.pptx
Database Systems Lec 1.pptxDatabase Systems Lec 1.pptx
Database Systems Lec 1.pptx
 
Chapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureChapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and Architecture
 
Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
 
Database System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptxDatabase System Concepts AND architecture [Autosaved].pptx
Database System Concepts AND architecture [Autosaved].pptx
 
Database Concepts
Database ConceptsDatabase Concepts
Database Concepts
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
 

Recently uploaded

Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 

DBMS topic in PU

  • 1. 1
  • 2. Database :- A Database is a structure that can store information about multiple types of entities ,and the relationships among the entities . Entity :- An entity is a person , place, object or idea for which you want to store and process data. Attribute:- An Attribute is a characteristic or property of an entity. The term used in this text exactly as it is used. Data Base Management System :- A DBMS is a program or a collection of programs , though which users interact with a database . The actual manipulation of the underlying in handled by the DBMS . 2
  • 3. Database application:- An application program (or set of related programs)that is used to perform a series of database activities (Create, read, update and delete) on behalf of database users. Each database application performs some combination of the following basic operation 1)Create :- Add new data to the database. 2)Read :- Read current database data (often presented in a useful format on a computer screen or on a printed report). 3)Update :- Update or modify current data. 4)Delete :- Delete current data from the database. 3
  • 4. DBMS Advantages DBMS has many advantages such as: Reduction in data Redundancy :- It means that DBMS helps in removing duplicate data from the database. It will notice that Redundancy leads to several problems: i) Duplication of Efforts . ii) Save the storage space /memory where data is saved. Provides Security :- Restrict users to access all the information of the database by providing passwords and rights .there are also various coding techniques to maintain the security of important and crucial information from unauthorized users and accidents. 4
  • 5. DBMS Advantages  Data can be shared among various users:- In a database system , data can be easily shared by different users .For example ,student data can shared by teacher department subject wise ,Fee department ,library etc.  Data Integrity :- since a large number of users can access database together at the same time . So, to maintain the same data/information correct every time and at every place during any operation is called data integrity.  Maintenance of data integrity :- data Integration can be understood by the fact that data contained in the database should be accurate and consistent. 5
  • 6. Types of DBMS Models These categories are made on the basis of the ways in which data are stored in the database : 1)Flat file or sequential . 2)Hierarchical 3)Network 4)Relational 5)Entity–relationship model 6)Object database 6
  • 7. Sequential or Flat File Flat File:- A Flat File can be defined as a text file in which you can organize the data in your own format and it is not linked with any other file .In this the data is processed in the way the data is stored. Example:-MS Spread Sheet. Item name Price Quantity Store Name Date of sale Bread 15 5 saravana 30-08-2014 Butter 46 6 saravana 30-08-2014 Biscuits 56 8 saravana 01-09-2014 7
  • 8. Sequential or Flat File Advantages of Flat File System:- 1) It is simple and easy to implement. 2) It can be used for small database 3) It is used where no links between data or files are required. Disadvantage of File System :- 1)Duplication of data Entries. 2)Since the access mode is sequential or in a single order, the system gets slower for large database. 3)The file is hard to recover if it is corrupted or system crashes . 8
  • 9. Hierarchical Database Model • In this kind of database, data are stored in the form of a hierarchy .Hierarchy database is like a tree structure which has one root and many branches .It uses the concept of parent child relation ship .in this type of database a single file may have many relationship. this system is very advance compare to sequential system(a flat file). 9
  • 11. Hierarchical Database Model Advantages of Hierarchical databases :- it is having following advantage 1) Hierarchical model is simple to construct. 2)This type of database is generally used in daily life organizations where data is organized in hierarchically organized domains, component assemblies in manufacturing ,personnel organization in companies. 3)Accessing of data is faster in hierarchical database compared to sequential database. 11
  • 12. Hierarchical Database Model Disadvantages of Hierarchical Database :- 1) Complex implementation 2)Difficult to manage 3)Lacks structural independence 4)Complex applications programming and use 5)Implementation limitations 6)Lack of standards 12
  • 13. Network database model • In this model, a parent can have many children and a child can also have many parent records. These records are physically linked through linked lists. network model was developed in mid 1960s as part of work of CODASYL(Conference on Data Systems Languages) which proposed programming language COBOL(1966) and then network model(1971). 13
  • 15. Network database model Advantages of network Model:- 1)It eliminates unnecessary duplication of data with associated errors and costs. 2)It uses concept of a data definition language ,data manipulation language . 3)It uses concept of m:n linkages or relationships, which mean that an owner record can have many members records. Similarly a member record can have several owners .but a hierarchical model allows only 1:n Disadvantages of network Model :- 1)System complexity 2)Lack of structural independence 15
  • 16. Relational data model :- In this model of DBMS ,data is stored in two- dimensional table (rows, and columns ),this is a model relation between two tables exists with something in common or some data which these two tables share. Each column of a table is referred ta as an attribute and the values which it may contain is called domain of values. In this model was proposed by IBM researcher E.F.Codd in 1970. it is more of a concept than a data structure varies substantially from one RDBMS to another .Relational database model use relational concept of mathematics in a table . You can understand Relational Model where Each row is a record or tuple. Each column is an attribute. Primary Key:- the Primary Key of a table uniquely identifies the record . Foreign Key :- 16 The Foreign key is the key of a table which is used for referencing the other table .
  • 17. Relational data model :- • Example :1 Student table and its primary Key ID No (Primary Key) Student Name Class Department S34877 Raja Sekhar MLIS Library and Information Science S34878 Avani MSc Computer Science S34879 Kadiresan MLIS Library and information science S34880 Amees MLIS Library and information science S34881 Gopi MA English S34882 Shyndeep MLIS Library and information science S34883 Rajesh MBA Business Management 17
  • 18. Relational data model :- • Example :- Library Table Book No (Primary Key) ID No (Foreign Key) Title Issued Date 12567 S34877 Colon classification 26/09/2014 15498 S34878 Database System 16/09/2014 12578 S34879 Information Resources 22/092014 12576 S34880 MARC21 14/092014 14582 S34881 William Shakespeare 24/09/2014 12565 S34882 Library Associations 22/09/2014 14825 S34883 Business Law 15/09/2014 18
  • 19. Relational data model :- Advantages of Relational data Model:- 1)Structural independence. 2)Improved conceptual simplicity. 3)Easier database design, implementation, management, and use. 4)Ad hoc query capability. 5)Powerful database management system. Advantages of Relational data Model:- 1)Substantial hardware and system software overhead. 2)Can facilitate poor design and implementation 3)May promote “islands of information "problems 19
  • 20. Entity Relationship Models Entity- relationship model is a logical representation of data for an organization or for a business area .the E-R model consists of entities which have attributes and relationships between these entities . E-R model was proposed by peter in 1976. simply stated ,the ER model is a conceptual data model that views the real world as entities and relationships. 20
  • 22. Entity Relationship Models Advantages of Entity Relationship Models:- 1)Exceptional conceptual simplicity 2)Visual representation 3)Effective communication tool 4)Integrated with the relational data model. Disadvantages of Entity Relationship Models:- 1)Limited constraint representation 2)Limited relationship representation 3)No data manipulation language 4)Loss of information content 22
  • 23. Object Oriented Model An object database (also object-oriented database management system) is a database management system in which information is represented in the form of objects as used in object-oriented programming. Object databases are different from relational databases which are table-oriented. •Object is described by its factual content •Includes information about relationships between facts within object and relationships with other objects. •Subsequent OODM development allowed an object to also contain operations ••Object becomes basic building block for autonomous structures 23
  • 24. Object Oriented Model Basic structure of OODB model:- Object: abstraction of a real-world entity. Attributes describe the properties of an object. Objects that share similar characteristics are grouped in classes. Classes are organized in a class hierarchy. Inheritance is the ability of an object within the class hierarchy to inherit the attributes and methods of classes above it. 24
  • 26. Object Oriented Model Advantages of OODBMS model:- 1)Object model intuitively closer to real world 2)Extensibility – inheritance 3)Complex values 4)Removal of impedance mismatch 5)More expressive query language 6)Tight coupling between data and applications allows schema to capture more of the meaning of applications 7) Support for long transactions 26
  • 27. Object Oriented Model Advantages of OODBMS model:- 8) Better support for applications like software engineering or computer aided design (CAD) 9) Arguably better performance, though benchmarks have mainly been applied in areas like engineering support to which OODBMS are better suited. Disadvantages of OODBMS model:- 1) Lack of a theoretical foundation, so exact meaning of OODM is not well defined (though this is mitigated by the ODMG model) 27
  • 28. Object Oriented Model Disadvantages of OODBMS model:- 2)More difficult to get staff experienced with OODBMSs 3)Lack of standards (mitigated by ODMG's OQL) 4)Competition from relational and object-relational DBMS's 5)Encapsulation compromised to optimize queries (but in RDBMS's, normalization may be compromised to improve performance). 6) OODBMS's usually control concurrency by locking; locking an inheritance hierarchy is difficult and may affect performance. 28
  • 29. Object Oriented Model 7) OODM is inherently more complex than relational data model; OODBMS provides more complex functionality than RDBMS; complexity leads to higher implementation and maintenance costs. 8) Lack of views; but are views necessary with an object model? 29
  • 30. References :- 1)IGNOU computer fundamentals book. 2)Modern Database Management sixth edition. 3)Internet . 30