SlideShare a Scribd company logo
2
Most read
5
Most read
6
Most read
RELATIONAL DATA BASE MANAGEMENT SYSTEM
Introduction
A definition of a RDBMS is: a DBMS in which data is stored in tables
and the relationships among the data are also stored in tables. The
data can be accessed or reassembled in many different ways without
having to change the table forms.
Historical usage of the term
The term "relational database" was invented by E. F. Codd at IBM in
1970; Codd introduced the term in his seminal paper "A Relational
Model of Data for Large Shared Data Banks". In this paper and later
papers he defined what he meant by relational. One well-known
definition of what constitutes a relational database system is
composed of Codd's 12 rules. However, many of the early
implementations of the relational model did not conform to all of
Codd's rules, so the term gradually came to describe a broader class of
database systems. At a minimum, these systems should:
• Present the data to the user as relations (a presentation in
tabular form, i.e. as a collection of tables with each table
consisting of a set of rows and columns);
• Provide relational operators to manipulate the data in tabular
form.
Data
• Data is raw fact or figures or entity.
• When activities in the organization takes place, the effect
of these activities need to be recorded which is known as
Data.
Information :
• Processed data is called information.
• The purpose of data processing is to generate the
information required for carrying out the business
activities.
In general data management consists of following tasks:
• Data capture: Which is the task associated with gathering
the data as and when they originate.
• Data classification: Captured data has to be classified
based on the nature and intended usage.
• Data storage: The segregated data has to be stored
properly.
• Data arranging: It is very important to arrange the data
properly
• Data retrieval: Data will be required frequently for further
processing, hence it is very important to create some
indexes so that data can be retrieved easily.
• Data maintenance: Maintenance is the task concerned
with keeping the data up-to-date.
• Data verification: Before storing the data it must be
verified for any error.
• Data coding: Data will be coded for easy reference.
• Data editing: Editing means re-arranging the data or
modifying the data for presentation.
• Data transcription: This is the activity where the data is
converted from one form into another.
• Data transmission: This is a function where data is
forwarded to the place where it would be used further.
Data Flow Diagrams
• The Data Flow Diagrams (DFDs) are used to illustrate the data
process activities of an organisation.
• The DFD indicate all the sequences including how data generated,
stored and processed.
An example of academic institute is represented in the Fig.
Data Flow Diagram for an academic institute
Database
• Database may be defined in simple terms as a collection of data.
• A database is a collection of related data.
• The database can be of any size and of varying complexity.
• A database may be generated and maintained manually or it may
be computerized.
Database Management System
• A Database Management System (DBMS) is a collection of
program that enables user to create and maintain a database.
• The DBMS is hence s general purpose software system that
facilitates the process of defining constructing and manipulating
database for various applications.
DBMS Characteristics
• To incorporate the requirements of the organization, system
should be designed for easy maintenance.
• Information systems should allow interactive access to data to
obtain new information without writing fresh programs.
• System should be designed to co-relate different data to meet new
requirements.
• Data should be stored with minimum redundancy to ensure
consistency in stored data across different applications.
• An independent central repository, which gives information and
meaning of available data, is required.
• Integrated database will help in understanding the inter-
relationships between data stored in different applications.
• The stored data should be made available for access by different
users simultaneously.
• Automatic recovery feature has to be provided to overcome the
problems with processing system failure.
Advantage of using a DBMS
• Controlling redundancy
• Restricting unauthorized access
• Providing persistent storage for program object and data
structures
• Permitting inference and actions by using rules
• Providing multiple user interface
• Presenting complex relationships among data
• Enforcing integrity constraints
• Providing backup and recovery
DBMS Utilities:
Data Base Management System provides many utilities, some of
which are listed below
• A data loading utility:
Which allows easy loading of data from the external format
without writing programs.
• A backup utility:
Which allows to make copies of the database periodically to help
in cases of crashes and disasters.
• Recovery utility:
Which allows to reconstruct the correct state of database from the
backup and history of transactions.
• Monitoring tools:
Which monitors the performance so that internal schema can be
changed and database access can be optimized.
• File organization:
Which allows to restructure the data from one type to another.
Data Models
The data model is used to represent real facts of the application.
An application may contain many facts however one has to focus only
on important facts ignoring the others.
Some of the salient features that model must may have are as listed;
• Data model mainly describes the data, which gets stored and
processed in a given situation.
• A data model may describe data at various levels and description
may be at logical/physical levels or from the point of user.
• A data model proposes a set of concepts for description of the
nature of data and inter-relationships between them along with
the syntax.
• A model should have as minimum concepts, which are close to real
world so that user can understand the model and verify.
• The model should provide primitives by which meaning of data can
be captured.
ER Model
• ER model is represents real world situations using concepts, which
are commonly used by people.
• It allows defining a representation of the real world at logical
level.
• ER model has no facilities to describe machine-related aspects.
• In ER model the logical structure of data is captured by indicating
the grouping of data into entities.
• The ER model also supports a top-down approach by which details
can be given in successive stages.
• Entity: An entity is something which is described in the database
by storing its data, it may be a concrete entity a conceptual entity.
• Entity set: An entity set is a collection of similar entities.
• Attribute: An attribute describes a property associated with
entities. Attribute will have a name and a value for each entity.
• Domain: A domain defines a set of permitted values for a
attribute
Relationship
• The relationship concept represents association among different
entities.
• In an application, entities interact with each other and these
interactions are captured through the concept of relationship.
Types of Relationship
• One to one relationship, where one entity in A may be associated
at most with one entity in B.
• One to many relationship, where one entity in A is associated with
zero or more entities in B and one entity in B can be associated
with at most one entity from A.
• Many to one relationship is the reverse of one to many as given
above.
• Many to many relationship, where an instance in A is associated
with many entities in B and vice-versa.
• Existence Dependence: To check the correctness of the data in the
database, there is constraint called existence dependence, which
indicates that entity has its own identity it cannot exist
independently.
SYMBOLS
• The ER model is represented using different symbols as shown
E-R Notation: Symbols
Example for ER Model
Database Design
Some guidelines to be followed while designing the database:
Data integrity:
• Data is accepted based on certain rules & there fore data is valid.
• Enforcing data integrity ensures that the data in the database is
valid and correct. Keys play an important role in maintaining data
integrity.
• The various types of keys that have been identified are the:
o Candidate key
o Primary key
o Alternate key
o Composite key
o Foreign key
Candidate key
• An attribute or set of attributes that uniquely identifies a row is
called a Candidate key.
• This attribute has values that are unique.
Vehicle
Primary Key
The Candidate key that you choose to identify each row uniquely
is called the Primary key.
Alternate Key
A Candidate key that is not chosen as a Primary key is an
Alternate key.
Composite Key
In certain tables, a single attribute cannot be used to identify
rows uniquely and a combination of two or more attributes is
used as a Primary key. Such keys are called Composite keys.
Purchase
Foreign Key
• When a primary key of one table appears as an attribute in another
table, it is called the Foreign key in the second table.
• A foreign key is used to relate two tables.
Weak entity:
• A weak entity does not have a distinguishing attribute of its own
and mostly are dependent entities, which are part of some another
entity.
• A weak entity will always be related to one or more strong entities.
• They can be also understood as multi-valued attributes.
Relational data base management system (Unit 1)

More Related Content

What's hot (20)

PPTX
Ado.net
Om Prakash
 
PDF
2 database system concepts and architecture
Kumar
 
PPTX
Relational Data Model Introduction
Nishant Munjal
 
PDF
Relational algebra in dbms
Vignesh Saravanan
 
PPTX
Big data ppt
Deepika ParthaSarathy
 
PPTX
Data Science
Prakhyath Rai
 
PPTX
Relational database
Megha Sharma
 
PPTX
SQL(DDL & DML)
Sharad Dubey
 
PPTX
Data science life cycle
Manoj Mishra
 
PPTX
Relational algebra ppt
GirdharRatne
 
PPTX
Purpose of DBMS and users of DBMS
DharmamSavani
 
PPTX
Introduction to Relational Databases
Research Support Team, IT Services, University of Oxford
 
PPT
Database Presentation
a9oolq8
 
PDF
Database User and Administrator
A. S. M. Shafi
 
PPTX
Data Reduction
Rajan Shah
 
PPT
3.7 outlier analysis
Krish_ver2
 
PPT
Assignment on dbms
Mohd Arif
 
PPT
1.2 steps and functionalities
Krish_ver2
 
PPTX
RDBMS
PriyangaRajaram
 
PDF
Introduction to Database Management Systems: Structure, Applications, and Key...
Mahmud Hasan Tanvir
 
Ado.net
Om Prakash
 
2 database system concepts and architecture
Kumar
 
Relational Data Model Introduction
Nishant Munjal
 
Relational algebra in dbms
Vignesh Saravanan
 
Big data ppt
Deepika ParthaSarathy
 
Data Science
Prakhyath Rai
 
Relational database
Megha Sharma
 
SQL(DDL & DML)
Sharad Dubey
 
Data science life cycle
Manoj Mishra
 
Relational algebra ppt
GirdharRatne
 
Purpose of DBMS and users of DBMS
DharmamSavani
 
Introduction to Relational Databases
Research Support Team, IT Services, University of Oxford
 
Database Presentation
a9oolq8
 
Database User and Administrator
A. S. M. Shafi
 
Data Reduction
Rajan Shah
 
3.7 outlier analysis
Krish_ver2
 
Assignment on dbms
Mohd Arif
 
1.2 steps and functionalities
Krish_ver2
 
Introduction to Database Management Systems: Structure, Applications, and Key...
Mahmud Hasan Tanvir
 

Similar to Relational data base management system (Unit 1) (20)

PPT
Fundamentals of information systems chapter 3.ppt
ArebuMaruf
 
PPTX
Fundamentals of information systems chapter 3.pptx
ArebuMaruf
 
PPTX
DBMS unit 1.pptx
ssuserc8e1481
 
PPTX
RDBMS to NoSQL. An overview.
Girish. N. Raghavan
 
PDF
Database.pdf
l235546
 
PPTX
Databases and its representation
Ruhull
 
PPTX
Data concepts
Sachidananda M H
 
PPTX
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra
 
PPTX
History of database processing module 1 (2)
chottu89
 
PDF
Database management systems
Ravindra Singh Gohil
 
PDF
Dbms quick guide
ArjunChoudhury1
 
PPTX
data Modelling in Database introduction and design.pptx
kbjoash1
 
PPTX
Database Introduction to Data Models.pptx
ssuser19199c
 
PPTX
Dbms unit 1
SaiGupta18
 
PDF
Database Concepts & SQL(1).pdf
rsujeet169
 
PPTX
Data base management system(DBMS), sourav mathur
sourav mathur
 
PDF
Dbms notes
Prof. Dr. K. Adisesha
 
PPTX
Module 3 Database systems for DIPLOMA.pptx
makinikanasi
 
PPTX
database management system anna universityUnit1.pptx
SatheeshKumar349161
 
PPTX
DBMS-Unit-1.pptx
Bhavya304221
 
Fundamentals of information systems chapter 3.ppt
ArebuMaruf
 
Fundamentals of information systems chapter 3.pptx
ArebuMaruf
 
DBMS unit 1.pptx
ssuserc8e1481
 
RDBMS to NoSQL. An overview.
Girish. N. Raghavan
 
Database.pdf
l235546
 
Databases and its representation
Ruhull
 
Data concepts
Sachidananda M H
 
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra
 
History of database processing module 1 (2)
chottu89
 
Database management systems
Ravindra Singh Gohil
 
Dbms quick guide
ArjunChoudhury1
 
data Modelling in Database introduction and design.pptx
kbjoash1
 
Database Introduction to Data Models.pptx
ssuser19199c
 
Dbms unit 1
SaiGupta18
 
Database Concepts & SQL(1).pdf
rsujeet169
 
Data base management system(DBMS), sourav mathur
sourav mathur
 
Module 3 Database systems for DIPLOMA.pptx
makinikanasi
 
database management system anna universityUnit1.pptx
SatheeshKumar349161
 
DBMS-Unit-1.pptx
Bhavya304221
 
Ad

More from Ismail Mukiibi (15)

PDF
Relational database (Unit 2)
Ismail Mukiibi
 
PPT
Quality of service
Ismail Mukiibi
 
PPT
IP/MAC Address Translation
Ismail Mukiibi
 
PPT
Traffic Characterization
Ismail Mukiibi
 
PPT
PHP POWERPOINT SLIDES
Ismail Mukiibi
 
PDF
Html notes
Ismail Mukiibi
 
PPT
Microprocessor application (Introduction)
Ismail Mukiibi
 
PPTX
Advanced computer architecture lesson 1 and 2
Ismail Mukiibi
 
PPT
Advanced computer architect lesson 3 and 4
Ismail Mukiibi
 
PPT
Advanced computer architecture lesson 5 and 6
Ismail Mukiibi
 
DOCX
Pc hardware course work
Ismail Mukiibi
 
PPTX
Mac addresses(media access control)
Ismail Mukiibi
 
DOCX
Kinds of networks
Ismail Mukiibi
 
DOC
Why building collapse in kampala
Ismail Mukiibi
 
DOCX
Compare peer
Ismail Mukiibi
 
Relational database (Unit 2)
Ismail Mukiibi
 
Quality of service
Ismail Mukiibi
 
IP/MAC Address Translation
Ismail Mukiibi
 
Traffic Characterization
Ismail Mukiibi
 
PHP POWERPOINT SLIDES
Ismail Mukiibi
 
Html notes
Ismail Mukiibi
 
Microprocessor application (Introduction)
Ismail Mukiibi
 
Advanced computer architecture lesson 1 and 2
Ismail Mukiibi
 
Advanced computer architect lesson 3 and 4
Ismail Mukiibi
 
Advanced computer architecture lesson 5 and 6
Ismail Mukiibi
 
Pc hardware course work
Ismail Mukiibi
 
Mac addresses(media access control)
Ismail Mukiibi
 
Kinds of networks
Ismail Mukiibi
 
Why building collapse in kampala
Ismail Mukiibi
 
Compare peer
Ismail Mukiibi
 
Ad

Recently uploaded (20)

PPTX
AI at Your Side: Boost Impact Without Losing the Human Touch (SXSW 2026 Meet ...
maytaldahan
 
PPT
1965 INDO PAK WAR which Pak will never forget.ppt
sanjaychief112
 
PDF
UI/UX Developer Guide: Tools, Trends, and Tips for 2025
Penguin peak
 
PPTX
B2B_Ecommerce_Internship_Simranpreet.pptx
LipakshiJindal
 
DOCX
An_Operating_System by chidi kingsley wo
kingsleywokocha4
 
PPTX
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
PPTX
MSadfadsfafdadfccadradfT_Presentation.pptx
pahalaedward2
 
PDF
GEO Strategy 2025: Complete Presentation Deck for AI-Powered Customer Acquisi...
Zam Man
 
PPTX
Perkembangan Perangkat jaringan komputer dan telekomunikasi 3.pptx
Prayudha3
 
PPTX
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
PPTX
Different Generation Of Computers .pptx
divcoder9507
 
PDF
The AI Trust Gap: Consumer Attitudes to AI-Generated Content
Exploding Topics
 
PPTX
The Monk and the Sadhurr and the story of how
BeshoyGirgis2
 
PPTX
办理方法西班牙假毕业证蒙德拉贡大学成绩单MULetter文凭样本
xxxihn4u
 
PDF
Latest Scam Shocking the USA in 2025.pdf
onlinescamreport4
 
PPTX
Pengenalan perangkat Jaringan komputer pada teknik jaringan komputer dan tele...
Prayudha3
 
PPT
Introduction to dns domain name syst.ppt
MUHAMMADKAVISHSHABAN
 
PDF
LOGENVIDAD DANNYFGRETRRTTRRRTRRRRRRRRR.pdf
juan456ytpro
 
PPTX
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
PDF
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
AI at Your Side: Boost Impact Without Losing the Human Touch (SXSW 2026 Meet ...
maytaldahan
 
1965 INDO PAK WAR which Pak will never forget.ppt
sanjaychief112
 
UI/UX Developer Guide: Tools, Trends, and Tips for 2025
Penguin peak
 
B2B_Ecommerce_Internship_Simranpreet.pptx
LipakshiJindal
 
An_Operating_System by chidi kingsley wo
kingsleywokocha4
 
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
MSadfadsfafdadfccadradfT_Presentation.pptx
pahalaedward2
 
GEO Strategy 2025: Complete Presentation Deck for AI-Powered Customer Acquisi...
Zam Man
 
Perkembangan Perangkat jaringan komputer dan telekomunikasi 3.pptx
Prayudha3
 
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
Different Generation Of Computers .pptx
divcoder9507
 
The AI Trust Gap: Consumer Attitudes to AI-Generated Content
Exploding Topics
 
The Monk and the Sadhurr and the story of how
BeshoyGirgis2
 
办理方法西班牙假毕业证蒙德拉贡大学成绩单MULetter文凭样本
xxxihn4u
 
Latest Scam Shocking the USA in 2025.pdf
onlinescamreport4
 
Pengenalan perangkat Jaringan komputer pada teknik jaringan komputer dan tele...
Prayudha3
 
Introduction to dns domain name syst.ppt
MUHAMMADKAVISHSHABAN
 
LOGENVIDAD DANNYFGRETRRTTRRRTRRRRRRRRR.pdf
juan456ytpro
 
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 

Relational data base management system (Unit 1)

  • 1. RELATIONAL DATA BASE MANAGEMENT SYSTEM Introduction A definition of a RDBMS is: a DBMS in which data is stored in tables and the relationships among the data are also stored in tables. The data can be accessed or reassembled in many different ways without having to change the table forms. Historical usage of the term The term "relational database" was invented by E. F. Codd at IBM in 1970; Codd introduced the term in his seminal paper "A Relational Model of Data for Large Shared Data Banks". In this paper and later papers he defined what he meant by relational. One well-known definition of what constitutes a relational database system is composed of Codd's 12 rules. However, many of the early implementations of the relational model did not conform to all of Codd's rules, so the term gradually came to describe a broader class of database systems. At a minimum, these systems should: • Present the data to the user as relations (a presentation in tabular form, i.e. as a collection of tables with each table consisting of a set of rows and columns); • Provide relational operators to manipulate the data in tabular form. Data • Data is raw fact or figures or entity. • When activities in the organization takes place, the effect of these activities need to be recorded which is known as Data.
  • 2. Information : • Processed data is called information. • The purpose of data processing is to generate the information required for carrying out the business activities. In general data management consists of following tasks: • Data capture: Which is the task associated with gathering the data as and when they originate. • Data classification: Captured data has to be classified based on the nature and intended usage. • Data storage: The segregated data has to be stored properly. • Data arranging: It is very important to arrange the data properly • Data retrieval: Data will be required frequently for further processing, hence it is very important to create some indexes so that data can be retrieved easily. • Data maintenance: Maintenance is the task concerned with keeping the data up-to-date. • Data verification: Before storing the data it must be verified for any error. • Data coding: Data will be coded for easy reference. • Data editing: Editing means re-arranging the data or modifying the data for presentation. • Data transcription: This is the activity where the data is converted from one form into another. • Data transmission: This is a function where data is forwarded to the place where it would be used further.
  • 3. Data Flow Diagrams • The Data Flow Diagrams (DFDs) are used to illustrate the data process activities of an organisation. • The DFD indicate all the sequences including how data generated, stored and processed. An example of academic institute is represented in the Fig. Data Flow Diagram for an academic institute Database • Database may be defined in simple terms as a collection of data.
  • 4. • A database is a collection of related data. • The database can be of any size and of varying complexity. • A database may be generated and maintained manually or it may be computerized. Database Management System • A Database Management System (DBMS) is a collection of program that enables user to create and maintain a database. • The DBMS is hence s general purpose software system that facilitates the process of defining constructing and manipulating database for various applications. DBMS Characteristics • To incorporate the requirements of the organization, system should be designed for easy maintenance. • Information systems should allow interactive access to data to obtain new information without writing fresh programs. • System should be designed to co-relate different data to meet new requirements. • Data should be stored with minimum redundancy to ensure consistency in stored data across different applications. • An independent central repository, which gives information and meaning of available data, is required. • Integrated database will help in understanding the inter- relationships between data stored in different applications. • The stored data should be made available for access by different users simultaneously. • Automatic recovery feature has to be provided to overcome the problems with processing system failure.
  • 5. Advantage of using a DBMS • Controlling redundancy • Restricting unauthorized access • Providing persistent storage for program object and data structures • Permitting inference and actions by using rules • Providing multiple user interface • Presenting complex relationships among data • Enforcing integrity constraints • Providing backup and recovery DBMS Utilities: Data Base Management System provides many utilities, some of which are listed below • A data loading utility: Which allows easy loading of data from the external format without writing programs. • A backup utility: Which allows to make copies of the database periodically to help in cases of crashes and disasters. • Recovery utility: Which allows to reconstruct the correct state of database from the backup and history of transactions. • Monitoring tools: Which monitors the performance so that internal schema can be changed and database access can be optimized. • File organization: Which allows to restructure the data from one type to another.
  • 6. Data Models The data model is used to represent real facts of the application. An application may contain many facts however one has to focus only on important facts ignoring the others. Some of the salient features that model must may have are as listed; • Data model mainly describes the data, which gets stored and processed in a given situation. • A data model may describe data at various levels and description may be at logical/physical levels or from the point of user. • A data model proposes a set of concepts for description of the nature of data and inter-relationships between them along with the syntax. • A model should have as minimum concepts, which are close to real world so that user can understand the model and verify. • The model should provide primitives by which meaning of data can be captured. ER Model • ER model is represents real world situations using concepts, which are commonly used by people. • It allows defining a representation of the real world at logical level. • ER model has no facilities to describe machine-related aspects. • In ER model the logical structure of data is captured by indicating
  • 7. the grouping of data into entities. • The ER model also supports a top-down approach by which details can be given in successive stages. • Entity: An entity is something which is described in the database by storing its data, it may be a concrete entity a conceptual entity. • Entity set: An entity set is a collection of similar entities. • Attribute: An attribute describes a property associated with entities. Attribute will have a name and a value for each entity. • Domain: A domain defines a set of permitted values for a attribute Relationship • The relationship concept represents association among different entities. • In an application, entities interact with each other and these interactions are captured through the concept of relationship. Types of Relationship • One to one relationship, where one entity in A may be associated at most with one entity in B. • One to many relationship, where one entity in A is associated with zero or more entities in B and one entity in B can be associated with at most one entity from A. • Many to one relationship is the reverse of one to many as given above. • Many to many relationship, where an instance in A is associated with many entities in B and vice-versa. • Existence Dependence: To check the correctness of the data in the database, there is constraint called existence dependence, which indicates that entity has its own identity it cannot exist independently. SYMBOLS
  • 8. • The ER model is represented using different symbols as shown E-R Notation: Symbols Example for ER Model
  • 9. Database Design Some guidelines to be followed while designing the database: Data integrity: • Data is accepted based on certain rules & there fore data is valid. • Enforcing data integrity ensures that the data in the database is valid and correct. Keys play an important role in maintaining data integrity. • The various types of keys that have been identified are the: o Candidate key o Primary key o Alternate key o Composite key o Foreign key
  • 10. Candidate key • An attribute or set of attributes that uniquely identifies a row is called a Candidate key. • This attribute has values that are unique. Vehicle Primary Key The Candidate key that you choose to identify each row uniquely is called the Primary key. Alternate Key A Candidate key that is not chosen as a Primary key is an Alternate key. Composite Key In certain tables, a single attribute cannot be used to identify rows uniquely and a combination of two or more attributes is used as a Primary key. Such keys are called Composite keys.
  • 11. Purchase Foreign Key • When a primary key of one table appears as an attribute in another table, it is called the Foreign key in the second table. • A foreign key is used to relate two tables. Weak entity: • A weak entity does not have a distinguishing attribute of its own and mostly are dependent entities, which are part of some another entity. • A weak entity will always be related to one or more strong entities. • They can be also understood as multi-valued attributes.