SlideShare une entreprise Scribd logo
1  sur  12
Télécharger pour lire hors ligne
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)

Contenu connexe

Tendances

Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Database Design
Database DesignDatabase Design
Database Designlearnt
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approachLuina Pani
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Userssontumax
 
Database systems
Database systemsDatabase systems
Database systemsDhani Ahmad
 
Data Mining: Classification and analysis
Data Mining: Classification and analysisData Mining: Classification and analysis
Data Mining: Classification and analysisDataminingTools Inc
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and modelssabah N
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of DatabaseMarlon Jamera
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagramnethisip13
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentationa9oolq8
 
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 InformaticsZulfiquer Ahmed Amin
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemNishant Munjal
 

Tendances (20)

Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Database Design
Database DesignDatabase Design
Database Design
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approach
 
Elmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 pptElmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 ppt
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
 
RDBMS
RDBMSRDBMS
RDBMS
 
Data models
Data modelsData models
Data models
 
Different data models
Different data modelsDifferent data models
Different data models
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Database systems
Database systemsDatabase systems
Database systems
 
Data Mining: Classification and analysis
Data Mining: Classification and analysisData Mining: Classification and analysis
Data Mining: Classification and analysis
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
 
Database management system
Database management system Database management system
Database management system
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Database Presentation
Database PresentationDatabase Presentation
Database 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
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
 

Similaire à Relational data base management system (Unit 1)

Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra
 
dbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungadbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungaVaradKadtan1
 
Lecture 1. Data Structure & Algorithm.pptx
Lecture 1. Data Structure & Algorithm.pptxLecture 1. Data Structure & Algorithm.pptx
Lecture 1. Data Structure & Algorithm.pptxArifKamal36
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxuwmctesting
 
Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)Vijayananda Ratnam Ch
 
Computer applications.pptx
Computer applications.pptxComputer applications.pptx
Computer applications.pptxEmmanuel235416
 
Introduction of Database
Introduction of Database Introduction of Database
Introduction of Database PadmapriyaA6
 
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxMaryJoseph79
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxRiannel Tecson
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxMEGHANA508383
 
CHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptxCHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptxkashishy2
 
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 yeardhasamalika
 
Types of data bases
Types of data basesTypes of data bases
Types of data basesJanu Jahnavi
 

Similaire à Relational data base management system (Unit 1) (20)

Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnet
 
DBMS ppts unit1.pptx
DBMS ppts  unit1.pptxDBMS ppts  unit1.pptx
DBMS ppts unit1.pptx
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
dbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungadbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodunga
 
Lecture 1. Data Structure & Algorithm.pptx
Lecture 1. Data Structure & Algorithm.pptxLecture 1. Data Structure & Algorithm.pptx
Lecture 1. Data Structure & Algorithm.pptx
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptx
 
Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)
 
oracle
oracle oracle
oracle
 
Computer applications.pptx
Computer applications.pptxComputer applications.pptx
Computer applications.pptx
 
Introduction of Database
Introduction of Database Introduction of Database
Introduction of Database
 
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptx
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
 
Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptx
 
CHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptxCHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptx
 
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
 
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
 
Types of data bases
Types of data basesTypes of data bases
Types of data bases
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 

Plus de Ismail Mukiibi

Relational database (Unit 2)
Relational database (Unit 2)Relational database (Unit 2)
Relational database (Unit 2)Ismail Mukiibi
 
IP/MAC Address Translation
IP/MAC Address TranslationIP/MAC Address Translation
IP/MAC Address TranslationIsmail Mukiibi
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic CharacterizationIsmail Mukiibi
 
Microprocessor application (Introduction)
Microprocessor application (Introduction)Microprocessor application (Introduction)
Microprocessor application (Introduction)Ismail Mukiibi
 
Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Ismail Mukiibi
 
Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4Ismail Mukiibi
 
Advanced computer architecture lesson 5 and 6
Advanced computer architecture lesson 5 and 6Advanced computer architecture lesson 5 and 6
Advanced computer architecture lesson 5 and 6Ismail Mukiibi
 
Pc hardware course work
Pc hardware course workPc hardware course work
Pc hardware course workIsmail Mukiibi
 
Mac addresses(media access control)
Mac addresses(media access control)Mac addresses(media access control)
Mac addresses(media access control)Ismail Mukiibi
 
Why building collapse in kampala
Why building collapse in kampalaWhy building collapse in kampala
Why building collapse in kampalaIsmail Mukiibi
 

Plus de Ismail Mukiibi (15)

Relational database (Unit 2)
Relational database (Unit 2)Relational database (Unit 2)
Relational database (Unit 2)
 
Quality of service
Quality of serviceQuality of service
Quality of service
 
IP/MAC Address Translation
IP/MAC Address TranslationIP/MAC Address Translation
IP/MAC Address Translation
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic Characterization
 
PHP POWERPOINT SLIDES
PHP POWERPOINT SLIDESPHP POWERPOINT SLIDES
PHP POWERPOINT SLIDES
 
Html notes
Html notesHtml notes
Html notes
 
Microprocessor application (Introduction)
Microprocessor application (Introduction)Microprocessor application (Introduction)
Microprocessor application (Introduction)
 
Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2
 
Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4
 
Advanced computer architecture lesson 5 and 6
Advanced computer architecture lesson 5 and 6Advanced computer architecture lesson 5 and 6
Advanced computer architecture lesson 5 and 6
 
Pc hardware course work
Pc hardware course workPc hardware course work
Pc hardware course work
 
Mac addresses(media access control)
Mac addresses(media access control)Mac addresses(media access control)
Mac addresses(media access control)
 
Kinds of networks
Kinds of networksKinds of networks
Kinds of networks
 
Why building collapse in kampala
Why building collapse in kampalaWhy building collapse in kampala
Why building collapse in kampala
 
Compare peer
Compare peerCompare peer
Compare peer
 

Dernier

VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...SUHANI PANDEY
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtrahman018755
 
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...SUHANI PANDEY
 
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...nilamkumrai
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查ydyuyu
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftAanSulistiyo
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrHenryBriggs2
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"growthgrids
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdfMatthew Sinclair
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...tanu pandey
 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...SUHANI PANDEY
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLimonikaupta
 
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...SUHANI PANDEY
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirtrahman018755
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...SUHANI PANDEY
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...SUHANI PANDEY
 

Dernier (20)

VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
 
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 

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.