SlideShare una empresa de Scribd logo
1 de 46
DATA BASE
MANAGEMENT
SYSTEM (DBMS)
INTRODUCTION
DATABASE SYSTEM :
╺ A database is a set of logically related data that is organised so
that it can easily be retrieved, managed and updated. The
modern database are managed by sophisticated software
known as database management system (DBMS).
╺ The database which uses DBMS for data collection, retrieval and
updating is called database system.
2
3
A database system offers the following to the users :
•an easy way to collect, update and retrieve stored infomation;
•data stability by preventing unnecessary loss of data;
•data protection by preventing unauthorised use of data; and
•ensures data quality in terms of accuracy, availability and usability
.
4
5
1. Improve data sharing by providing a easy and feasible system.
2. Improve data security.
3. Better data integration at one place for better efficiency.
4. Minimized data inconsistency.
5. Improved data access.
6. Improved decision making.
7. Increase end-user productivity.
Advantages of data base management system :
DISADVANTAGES
OF DBMS
6
7
1. Increased costs
2. Management complexity
3. Maintaining currency
4. Frequent upgrade/replacement cycles
8
9
FACTORS File System
DEFINATION
A file system is an abstraction to store,
retrieve, manage, and update a set of files,
along with keeping track of the files and also
manage them.
Data Program
Independence
Data definition is typically part of application
program and therefore data and program are
dependent to each other.
Data Sharing
Data is stored in separate files in different
departments of the organization, which
makes data sharing throughout the
organization difficult.
Data
Redundancy
Since separate files are maintained in
different departments for usage requirements,
it leads to duplication or manipulation of data
i.e. data redundancy
10
FACTORS File System
Data
Consistency and
Accuracy
In file system, the degree of data
consistency and accuracy is low because of
data redundancy
Data Security
The degree of data security in the file
system is very low
Multiple view of
Data
In traditional file system, creating multiple
views of data is next to impossible
Cost
A low cost approach of database
mangement.
11
FACTORS File System
Error Correction
Correcting error in all relevant file is very
difficult and complex
Data Retrieval
Retrieval of stored data is difficult
Advantages of
traditional file
system
13
Advantages of Traditional File System
1.Simple to use.
2. Less complex.
3. Minimal investment (Not make the investment in software because it
allows us to transport files from one to another computer).
4. No requirement of the specialist.
14
Disadvantages of
file system
15
Disadvantages of Traditional File System
1. Data redundancy (Each application has its own data file so, same data may have to be recorded
and stored in many times).
2. Data inconsistency (Due to the same data items that appear in more than one file do not get
updated simultaneously in each and every file).
3. Data dependence (Program and application in the file processing system are data dependent
but, the problem is incompatible with file format).
4. Limited data sharing.
5. The problem with security.
6. Retrieval (retrieval is not easy).
7. Time-consuming.
8. Inefficient to maintain the record of the big firm having a large number of items.
Required Lots of labor work to do.
MODERN APPROACH TO
DATABASE
16
DESIGNING A DATABASE
17
Database design is a process of producing detailed data model of a database.
It requires a complete knowledge of the business functions for which a data
model has to be designed- A database design is a logical design of base data
structure developed for the purpose Of storing data.
The following steps are taken for designing a database :
1. REALITY.
2. ENTITY RELATIONSHIP DESIGN.
3. RELATION DATA MODEL.
4. NORMALIZATION
1. REALITY
18
– Process of designing starts with a real world situation, known
as reality, for which the database is to be designed.
– All aspects of reality must be clearly understood by the
designer.
– E.g.: Database for library, The library will be reality, and one
need to understand all aspects of a library, i.e. the nature of all
transactions that happen in library in reality.
2. ENTITY RELATIONSHIP DESIGN.
19
– After getting complete details of reality (real world
situation), a formal blueprint, with pictorial presentation is
prepared using the concept of ER Model to present the
details of the reality
3. RELATION DATA MODEL
20
– Once the blueprint, i.e. ER diagram is ready, it is
transformed into inter related tables.
– To Create tables, the details are divided into major
entities and then each entity becomes a table.
– Relationship between tables are defined to maintain data
integrity.
4. NORMALIZATION
21
– This is the process of refining a database design.
– It follows set of rules proposed by Edger F. Codd and
eliminates or reduces data redundancy.
– It makes sure that the tables are structured correctly.
– The database design is analysed for errors and, if needed,
normalization rules are applied
22
REALITY
ER- DESIGN
NORMALIZATION
IS THERE A
NEED TO
REFINE ?
FINAL DATABASE DESIGN
NO
YES
FLOW CHART: PROCESS OF DESIGNING A DATABASE
ER-MODEL
╺ BASIC CONCEPTS
23
Entity
24
An entity can be a person, place, object, event or concept in the
user environment about which the data is collected. An entity can
be a real-world object, either animate or inanimate, that can be
easily identifiable.
Entity = Database Table
• Represented as a named rectangular shape, which may have
a number of attributes. EMPLOYEE
Attributes
25
Entities are represented by means of their named properties, or
characteristics of an entity, is of inetrest to an organization, called attributes.
• Describes the entity in terms of its characteristics such as code, name,
height, weight, etc.
• All attributes have values. For example, a student entity may have name,
class, and age as attributes.
• There exists a domain or range of values that can be assigned to attributes.
For example, a student's name cannot be a numeric value. It has to be
alphabetic. A student's age cannot be negative, etc.
26
TYPES OF
ATTRIBUTES
Simple
attribute
Derived
attribute
Single-
value
attribute
Composite
attribute
TYPES
OF
ATTRIBUTES
Simple attribute
27
Simple attributes are atomic values, which cannot
be divided further. E.g. A student's phone number is
an atomic value of 10 digits, a gender of employee
can not be subdivided.
Composite attribute
28
Composite attributes are made of more than one simple
attribute. For example, a student's complete name may
have first_name and last_name.
Derived attribute
29
Derived attributes are the attributes that do
not exist in the physical database, but their
values are derived from other attributes
present in the database. For example,
average_salary in a department should not
be saved directly in the database, instead it
can be derived. For another example, age
can be derived from data_of_birth.
Represented by a dotted oval.
Single-value attribute
30
Single-value attributes contain single value. For
example − Social_Security_Number. Represented by
single oval.
Multi-value attribute
31
Multi-value attributes may contain more than one values.
For example, a person can have more than one phone
number, email_address, etc. Represented by double
oval.
Key attribute
32
Unique, distinguishing characteristic of the entity. The
values of the key attributes are distinct for each individual
entity. For eg.: Unique ID no. of the citizens of a country. It
may consist of a single attribute or multiple attributes in
combination. For eg. Emp_Id is a key attribute as it is a
unique no. in the organization. Represented by an
underlined oval
RELATIONSHIP AND
TYPES
33
RELATIONSHIP
34
• A relationship represents some association between two or more entities.
• Defines the manner in which the entities interact.
• The association among entities is called a relationship.
• The entities that are enrolled in a relationship are known as participants.
• The relationships are generally given names.
• The degree of relationship is defined by the number of participants in the relationship.
• For example, an employee works_at a department, a student enrolls in a course. Here,
Works_at and Enrolls are called relationships.
• Relationship is represented as a diamond shape containing the name of relationship between
entities.
Relationship Set
35
A set of relationships of similar type is called a relationship
set. Like entities, a relationship too can have attributes.
These attributes are called descriptive attributes.
Relationship Between Entitie
36
TYPES OF
RELATIONSHIPS
37
38
1. One-to-one
39
For every row of entity 1 there is only one row row
corresponding to entity 2. Represented as (1:1). • E.g.:
Two entities “Boy” and “Girl”. Assuming one Boy will
marry only one girl and one girl will marry only one boy ,
the relationship represented between the entities in on-
to-one.
BOY MARY GIRL
2. One-to-Many
40
Relationship is there when, for every row in first table (Entity 1)
There exist zero, one or many rows in the second table (Entity 2).
• Represented by (1:N).
• In ER diagram crowfoot (<) is used to show this relationship, in
which crowfoot represents many rows.
• The one to many relationship is shown by department employee
relationship. One Department can have many employees.
EMPLOYEE DEPLOYED DEPARTMENT
3. Many –to-Many
41
Said to exist, if for every row in the first table (Entity 1) there can be many rows in
the second table (Entity 2), and for every row in the second table, there can be
many rows in the first table.
• Represented by (M:N) •
Eg.: Student studies subject. There can be many students who can study the
subject, whereas there can be many subjects which can be studied by the student.
STUDENTS STUDIES SUBJECTS
DEGREE OF
RELATIONSHIP
42
–Unary Relationship
–Binary Relationship
–Ternary Relationship
1. Unary Relationship
43
• A relationship between the instances of a single entity type.
• Only a single entity participates.
• Also called recursive relationship.
• A “person” wish to represent “marriages” between persons. It involves a relationship
between one instance of a person entity with another instance of person entity.
• To show such relationship in ER diagram, the entity is connected twice with the diamond
showing the relationship.
2. Binary Relationship
44
• The relationship between two entities.
• In the last example if we divide the employees (a single entity) into two
different entities “managers” and “workers”, there exist two entities and the
relationship between them will be a binary relationship.
3. Ternary Relationship
45
A ternary relationship is when three entities participate in the relationship.
For Example: The University might need to record which teachers taught
which subjects in which courses. The connectivity of a relationship is its
classification.
THANK YOU

Más contenido relacionado

La actualidad más candente

Database management system1
Database management system1Database management system1
Database management system1
jamwal85
 
Data Base Management
Data Base ManagementData Base Management
Data Base Management
Apex
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
Jotham Gadot
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
a9oolq8
 
The advantages of a dbms
The advantages of a dbmsThe advantages of a dbms
The advantages of a dbms
adnan_bappy
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
sameerraaj
 
DATABASE Fp304 chapter 1
DATABASE Fp304   chapter 1DATABASE Fp304   chapter 1
DATABASE Fp304 chapter 1
Radio Deejay
 
File system-and-database-chapter01-connoly
File system-and-database-chapter01-connolyFile system-and-database-chapter01-connoly
File system-and-database-chapter01-connoly
Temma Tems
 

La actualidad más candente (20)

Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
 
Database management system
Database management systemDatabase management system
Database management system
 
Database management system1
Database management system1Database management system1
Database management system1
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMS
 
Library Database management system
Library Database management system Library Database management system
Library Database management system
 
Data Base Management
Data Base ManagementData Base Management
Data Base Management
 
The database applications
The database applicationsThe database applications
The database applications
 
Database management system presentation
Database management system presentation Database management system presentation
Database management system presentation
 
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
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approach
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
 
The advantages of a dbms
The advantages of a dbmsThe advantages of a dbms
The advantages of a dbms
 
Dbms
DbmsDbms
Dbms
 
Database Management system
Database Management systemDatabase Management system
Database Management system
 
Relational database management system (rdbms) i
Relational database management system (rdbms) iRelational database management system (rdbms) i
Relational database management system (rdbms) i
 
History of Database
History  of DatabaseHistory  of Database
History of Database
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
DATABASE Fp304 chapter 1
DATABASE Fp304   chapter 1DATABASE Fp304   chapter 1
DATABASE Fp304 chapter 1
 
File system-and-database-chapter01-connoly
File system-and-database-chapter01-connolyFile system-and-database-chapter01-connoly
File system-and-database-chapter01-connoly
 

Similar a Data base management system(DBMS), sourav mathur

Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
SURBHI SAROHA
 
Database Management System NOTES for 2nd year
Database Management System NOTES for 2nd yearDatabase Management System NOTES for 2nd year
Database Management System NOTES for 2nd year
dhasamalika
 
SQL Tutorial - Basics of Structured Query Language Day 1.pdf
SQL Tutorial - Basics of Structured Query Language Day 1.pdfSQL Tutorial - Basics of Structured Query Language Day 1.pdf
SQL Tutorial - Basics of Structured Query Language Day 1.pdf
RiturajDas28
 

Similar a Data base management system(DBMS), sourav mathur (20)

Database Management System
Database Management SystemDatabase Management System
Database Management System
 
DBMS ppts unit1.pptx
DBMS ppts  unit1.pptxDBMS ppts  unit1.pptx
DBMS ppts unit1.pptx
 
Db lec 01
Db lec 01Db lec 01
Db lec 01
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Bca examination 2015 dbms
Bca examination 2015 dbmsBca examination 2015 dbms
Bca examination 2015 dbms
 
ICT DBA3 09 0710 Model Data Objects.pdf
ICT DBA3 09 0710 Model Data Objects.pdfICT DBA3 09 0710 Model Data Objects.pdf
ICT DBA3 09 0710 Model Data Objects.pdf
 
DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
 
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
 
Database Management System NOTES for 2nd year
Database Management System NOTES for 2nd yearDatabase Management System NOTES for 2nd year
Database Management System NOTES for 2nd year
 
Unit-1-DBMS-SUN-4 everything you need to know.pptx
Unit-1-DBMS-SUN-4 everything you need to know.pptxUnit-1-DBMS-SUN-4 everything you need to know.pptx
Unit-1-DBMS-SUN-4 everything you need to know.pptx
 
Database system
Database system Database system
Database system
 
DBMS
DBMS DBMS
DBMS
 
Data models
Data modelsData models
Data models
 
Data models
Data modelsData models
Data models
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
 
Sql server ___________session_1-intro
Sql server  ___________session_1-introSql server  ___________session_1-intro
Sql server ___________session_1-intro
 
SQL Tutorial - Basics of Structured Query Language Day 1.pdf
SQL Tutorial - Basics of Structured Query Language Day 1.pdfSQL Tutorial - Basics of Structured Query Language Day 1.pdf
SQL Tutorial - Basics of Structured Query Language Day 1.pdf
 

Más de sourav mathur

Más de sourav mathur (20)

budget_speech 2023-2024
budget_speech 2023-2024budget_speech 2023-2024
budget_speech 2023-2024
 
tally ppt.pptx
tally ppt.pptxtally ppt.pptx
tally ppt.pptx
 
MS word.pptx
MS word.pptxMS word.pptx
MS word.pptx
 
MS ACCESS PPT.pptx
MS ACCESS PPT.pptxMS ACCESS PPT.pptx
MS ACCESS PPT.pptx
 
EXCEL PPT.pptx
EXCEL PPT.pptxEXCEL PPT.pptx
EXCEL PPT.pptx
 
computer fundamentals.pptx
computer fundamentals.pptxcomputer fundamentals.pptx
computer fundamentals.pptx
 
BUREAU OF INDIAN STANDARDS ACT, 2016
BUREAU OF INDIAN STANDARDS ACT, 2016BUREAU OF INDIAN STANDARDS ACT, 2016
BUREAU OF INDIAN STANDARDS ACT, 2016
 
GST REGISTRATION SECTION 22-30
GST REGISTRATION SECTION 22-30 GST REGISTRATION SECTION 22-30
GST REGISTRATION SECTION 22-30
 
Trade union AND ITS GROWTH AND EVOLUTION IN INDIA
Trade union AND ITS GROWTH AND EVOLUTION IN INDIA Trade union AND ITS GROWTH AND EVOLUTION IN INDIA
Trade union AND ITS GROWTH AND EVOLUTION IN INDIA
 
Family business conflict and resolution
Family business   conflict and resolutionFamily business   conflict and resolution
Family business conflict and resolution
 
Business incubators
Business incubatorsBusiness incubators
Business incubators
 
Do Padosi - A political satire
Do Padosi - A political satireDo Padosi - A political satire
Do Padosi - A political satire
 
Lockdown negative and positive points
Lockdown negative and positive pointsLockdown negative and positive points
Lockdown negative and positive points
 
Computer aided audit techniques (CAAT) sourav mathur
Computer aided audit techniques (CAAT)  sourav mathurComputer aided audit techniques (CAAT)  sourav mathur
Computer aided audit techniques (CAAT) sourav mathur
 
how internet helping us during lockdown
how internet helping us during lockdownhow internet helping us during lockdown
how internet helping us during lockdown
 
Ekta kapoor bala tele films owner
Ekta kapoor bala tele films ownerEkta kapoor bala tele films owner
Ekta kapoor bala tele films owner
 
Reliance ceo mukesh ambani
Reliance ceo mukesh ambaniReliance ceo mukesh ambani
Reliance ceo mukesh ambani
 
Contemporary role models in indian business
Contemporary role models in indian businessContemporary role models in indian business
Contemporary role models in indian business
 
Foreign direct investment and missing middle concept in india
Foreign direct investment and missing middle concept in indiaForeign direct investment and missing middle concept in india
Foreign direct investment and missing middle concept in india
 
basic startups challenges faces by new syartups
basic startups challenges faces by new syartups basic startups challenges faces by new syartups
basic startups challenges faces by new syartups
 

Último

Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Anamikakaur10
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
dlhescort
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
lizamodels9
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
amitlee9823
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
dollysharma2066
 

Último (20)

Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 

Data base management system(DBMS), sourav mathur

  • 2. INTRODUCTION DATABASE SYSTEM : ╺ A database is a set of logically related data that is organised so that it can easily be retrieved, managed and updated. The modern database are managed by sophisticated software known as database management system (DBMS). ╺ The database which uses DBMS for data collection, retrieval and updating is called database system. 2
  • 3. 3 A database system offers the following to the users : •an easy way to collect, update and retrieve stored infomation; •data stability by preventing unnecessary loss of data; •data protection by preventing unauthorised use of data; and •ensures data quality in terms of accuracy, availability and usability .
  • 4. 4
  • 5. 5 1. Improve data sharing by providing a easy and feasible system. 2. Improve data security. 3. Better data integration at one place for better efficiency. 4. Minimized data inconsistency. 5. Improved data access. 6. Improved decision making. 7. Increase end-user productivity. Advantages of data base management system :
  • 7. 7 1. Increased costs 2. Management complexity 3. Maintaining currency 4. Frequent upgrade/replacement cycles
  • 8. 8
  • 9. 9 FACTORS File System DEFINATION A file system is an abstraction to store, retrieve, manage, and update a set of files, along with keeping track of the files and also manage them. Data Program Independence Data definition is typically part of application program and therefore data and program are dependent to each other. Data Sharing Data is stored in separate files in different departments of the organization, which makes data sharing throughout the organization difficult. Data Redundancy Since separate files are maintained in different departments for usage requirements, it leads to duplication or manipulation of data i.e. data redundancy
  • 10. 10 FACTORS File System Data Consistency and Accuracy In file system, the degree of data consistency and accuracy is low because of data redundancy Data Security The degree of data security in the file system is very low Multiple view of Data In traditional file system, creating multiple views of data is next to impossible Cost A low cost approach of database mangement.
  • 11. 11 FACTORS File System Error Correction Correcting error in all relevant file is very difficult and complex Data Retrieval Retrieval of stored data is difficult
  • 13. 13 Advantages of Traditional File System 1.Simple to use. 2. Less complex. 3. Minimal investment (Not make the investment in software because it allows us to transport files from one to another computer). 4. No requirement of the specialist.
  • 15. 15 Disadvantages of Traditional File System 1. Data redundancy (Each application has its own data file so, same data may have to be recorded and stored in many times). 2. Data inconsistency (Due to the same data items that appear in more than one file do not get updated simultaneously in each and every file). 3. Data dependence (Program and application in the file processing system are data dependent but, the problem is incompatible with file format). 4. Limited data sharing. 5. The problem with security. 6. Retrieval (retrieval is not easy). 7. Time-consuming. 8. Inefficient to maintain the record of the big firm having a large number of items. Required Lots of labor work to do.
  • 17. DESIGNING A DATABASE 17 Database design is a process of producing detailed data model of a database. It requires a complete knowledge of the business functions for which a data model has to be designed- A database design is a logical design of base data structure developed for the purpose Of storing data. The following steps are taken for designing a database : 1. REALITY. 2. ENTITY RELATIONSHIP DESIGN. 3. RELATION DATA MODEL. 4. NORMALIZATION
  • 18. 1. REALITY 18 – Process of designing starts with a real world situation, known as reality, for which the database is to be designed. – All aspects of reality must be clearly understood by the designer. – E.g.: Database for library, The library will be reality, and one need to understand all aspects of a library, i.e. the nature of all transactions that happen in library in reality.
  • 19. 2. ENTITY RELATIONSHIP DESIGN. 19 – After getting complete details of reality (real world situation), a formal blueprint, with pictorial presentation is prepared using the concept of ER Model to present the details of the reality
  • 20. 3. RELATION DATA MODEL 20 – Once the blueprint, i.e. ER diagram is ready, it is transformed into inter related tables. – To Create tables, the details are divided into major entities and then each entity becomes a table. – Relationship between tables are defined to maintain data integrity.
  • 21. 4. NORMALIZATION 21 – This is the process of refining a database design. – It follows set of rules proposed by Edger F. Codd and eliminates or reduces data redundancy. – It makes sure that the tables are structured correctly. – The database design is analysed for errors and, if needed, normalization rules are applied
  • 22. 22 REALITY ER- DESIGN NORMALIZATION IS THERE A NEED TO REFINE ? FINAL DATABASE DESIGN NO YES FLOW CHART: PROCESS OF DESIGNING A DATABASE
  • 24. Entity 24 An entity can be a person, place, object, event or concept in the user environment about which the data is collected. An entity can be a real-world object, either animate or inanimate, that can be easily identifiable. Entity = Database Table • Represented as a named rectangular shape, which may have a number of attributes. EMPLOYEE
  • 25. Attributes 25 Entities are represented by means of their named properties, or characteristics of an entity, is of inetrest to an organization, called attributes. • Describes the entity in terms of its characteristics such as code, name, height, weight, etc. • All attributes have values. For example, a student entity may have name, class, and age as attributes. • There exists a domain or range of values that can be assigned to attributes. For example, a student's name cannot be a numeric value. It has to be alphabetic. A student's age cannot be negative, etc.
  • 27. Simple attribute 27 Simple attributes are atomic values, which cannot be divided further. E.g. A student's phone number is an atomic value of 10 digits, a gender of employee can not be subdivided.
  • 28. Composite attribute 28 Composite attributes are made of more than one simple attribute. For example, a student's complete name may have first_name and last_name.
  • 29. Derived attribute 29 Derived attributes are the attributes that do not exist in the physical database, but their values are derived from other attributes present in the database. For example, average_salary in a department should not be saved directly in the database, instead it can be derived. For another example, age can be derived from data_of_birth. Represented by a dotted oval.
  • 30. Single-value attribute 30 Single-value attributes contain single value. For example − Social_Security_Number. Represented by single oval.
  • 31. Multi-value attribute 31 Multi-value attributes may contain more than one values. For example, a person can have more than one phone number, email_address, etc. Represented by double oval.
  • 32. Key attribute 32 Unique, distinguishing characteristic of the entity. The values of the key attributes are distinct for each individual entity. For eg.: Unique ID no. of the citizens of a country. It may consist of a single attribute or multiple attributes in combination. For eg. Emp_Id is a key attribute as it is a unique no. in the organization. Represented by an underlined oval
  • 34. RELATIONSHIP 34 • A relationship represents some association between two or more entities. • Defines the manner in which the entities interact. • The association among entities is called a relationship. • The entities that are enrolled in a relationship are known as participants. • The relationships are generally given names. • The degree of relationship is defined by the number of participants in the relationship. • For example, an employee works_at a department, a student enrolls in a course. Here, Works_at and Enrolls are called relationships. • Relationship is represented as a diamond shape containing the name of relationship between entities.
  • 35. Relationship Set 35 A set of relationships of similar type is called a relationship set. Like entities, a relationship too can have attributes. These attributes are called descriptive attributes.
  • 38. 38
  • 39. 1. One-to-one 39 For every row of entity 1 there is only one row row corresponding to entity 2. Represented as (1:1). • E.g.: Two entities “Boy” and “Girl”. Assuming one Boy will marry only one girl and one girl will marry only one boy , the relationship represented between the entities in on- to-one. BOY MARY GIRL
  • 40. 2. One-to-Many 40 Relationship is there when, for every row in first table (Entity 1) There exist zero, one or many rows in the second table (Entity 2). • Represented by (1:N). • In ER diagram crowfoot (<) is used to show this relationship, in which crowfoot represents many rows. • The one to many relationship is shown by department employee relationship. One Department can have many employees. EMPLOYEE DEPLOYED DEPARTMENT
  • 41. 3. Many –to-Many 41 Said to exist, if for every row in the first table (Entity 1) there can be many rows in the second table (Entity 2), and for every row in the second table, there can be many rows in the first table. • Represented by (M:N) • Eg.: Student studies subject. There can be many students who can study the subject, whereas there can be many subjects which can be studied by the student. STUDENTS STUDIES SUBJECTS
  • 42. DEGREE OF RELATIONSHIP 42 –Unary Relationship –Binary Relationship –Ternary Relationship
  • 43. 1. Unary Relationship 43 • A relationship between the instances of a single entity type. • Only a single entity participates. • Also called recursive relationship. • A “person” wish to represent “marriages” between persons. It involves a relationship between one instance of a person entity with another instance of person entity. • To show such relationship in ER diagram, the entity is connected twice with the diamond showing the relationship.
  • 44. 2. Binary Relationship 44 • The relationship between two entities. • In the last example if we divide the employees (a single entity) into two different entities “managers” and “workers”, there exist two entities and the relationship between them will be a binary relationship.
  • 45. 3. Ternary Relationship 45 A ternary relationship is when three entities participate in the relationship. For Example: The University might need to record which teachers taught which subjects in which courses. The connectivity of a relationship is its classification.