SlideShare a Scribd company logo
DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS
BASIC CONCEPTSBASIC CONCEPTS
1. What is a database?1. What is a database?
A database is a collection of data whichA database is a collection of data which
can be used:can be used:
• alone, oralone, or
• combined / related to other datacombined / related to other data
to provide answers to the user’s question.to provide answers to the user’s question.
N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
2. What is a Database Management System?2. What is a Database Management System?
A DBMS is a collection of programs whichA DBMS is a collection of programs which
• provide management of databasesprovide management of databases
• control access to datacontrol access to data
• contain a query language to retrievecontain a query language to retrieve
information easilyinformation easily
DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS
N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
3. Database Design3. Database Design
It is important to design the database in such aIt is important to design the database in such a
way that:way that:
• A specific item can be reached easilyA specific item can be reached easily
(maximum guarantee that the desired record will be(maximum guarantee that the desired record will be
reached)reached)
• The database can respond to the user’sThe database can respond to the user’s
different questions easilydifferent questions easily
(necessary relationships are provided)(necessary relationships are provided)
DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS
N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
•The database occupies minimum storage spaceThe database occupies minimum storage space
(choosing data types and how to express a certain(choosing data types and how to express a certain
concept is important)concept is important)
•The database contains no unnecessary dataThe database contains no unnecessary data
(storing the gross salary is enough, the net salary(storing the gross salary is enough, the net salary
can be calculated from the gross salary)can be calculated from the gross salary)
• Data can be added and updated easilyData can be added and updated easily
without causing mistakeswithout causing mistakes
(no data redundancy)(no data redundancy)
DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS
N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
Data redundancyData redundancy
Different and conflicting versions of the same
data
e.g. Employee database:
personal info payroll
- ID - ID (relating parameter)
- name - name (causes redundancy)
- address - gross salary
DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS
N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
STEPS IN DATABASE DESIGNSTEPS IN DATABASE DESIGN
• Requirement analysisRequirement analysis
What does the user want?What does the user want?
• Conceptual database designConceptual database design
Defining the entities and attributes, and theDefining the entities and attributes, and the
relationships between theserelationships between these --> The ER model--> The ER model
• Physical database designPhysical database design
Implementation of the conceptual design using aImplementation of the conceptual design using a
Database Management SystemDatabase Management System
DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS
N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
TERMINOLOGYTERMINOLOGY
• EntityEntity --> What is this table about?--> What is this table about? studentsstudents
• AttributeAttribute (Field) --> What items of(Field) --> What items of
information are necessary to keep concerninginformation are necessary to keep concerning
this entity?this entity?
ID, name, department, year, advisorID, name, department, year, advisor
• RecordRecord (Tuple) --> A set of values for each(Tuple) --> A set of values for each
attribute for one itemattribute for one item
2002765420027654 Ali KayaAli Kaya CAACAA 22 Ahmet DurukalAhmet Durukal
DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS
N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
• KeyKey --> The attribute used to define a required--> The attribute used to define a required
itemitem
who is the advisor ofwho is the advisor of Ali KayaAli Kaya??
Types of keys:Types of keys:
** Primary KeyPrimary Key: Key used to uniquely identify a record: Key used to uniquely identify a record
** Foreign KeyForeign Key: A field in this table which is the Primary: A field in this table which is the Primary
key of another tablekey of another table
• RelationshipRelationship --> Definitions linking two or--> Definitions linking two or
more tablesmore tables
DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS
N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring

More Related Content

Viewers also liked

Data base management system
Data base management systemData base management system
Data base management system
ouvesh
 
BIS06 Physical Database Models
BIS06 Physical Database ModelsBIS06 Physical Database Models
BIS06 Physical Database Models
Prithwis Mukerjee
 
BIS03 Data Modelling - I
BIS03 Data Modelling - IBIS03 Data Modelling - I
BIS03 Data Modelling - I
Prithwis Mukerjee
 
Intro to DBMS
Intro to DBMSIntro to DBMS
Intro to DBMS
sheikhfaizanali
 
05. Physical Data Specification Template
05. Physical Data Specification Template05. Physical Data Specification Template
05. Physical Data Specification Template
Alan D. Duncan
 
Physical database design(database)
Physical database design(database)Physical database design(database)
Physical database design(database)
welcometofacebook
 

Viewers also liked (6)

Data base management system
Data base management systemData base management system
Data base management system
 
BIS06 Physical Database Models
BIS06 Physical Database ModelsBIS06 Physical Database Models
BIS06 Physical Database Models
 
BIS03 Data Modelling - I
BIS03 Data Modelling - IBIS03 Data Modelling - I
BIS03 Data Modelling - I
 
Intro to DBMS
Intro to DBMSIntro to DBMS
Intro to DBMS
 
05. Physical Data Specification Template
05. Physical Data Specification Template05. Physical Data Specification Template
05. Physical Data Specification Template
 
Physical database design(database)
Physical database design(database)Physical database design(database)
Physical database design(database)
 

Similar to data base management

DBMS_Fundamentals
DBMS_FundamentalsDBMS_Fundamentals
DBMS_Fundamentals
Priya.Kanjani
 
Data base management ssystem
Data base management  ssystemData base management  ssystem
Data base management ssystem
Sabeeh Ahmed
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
sameerraaj
 
DBMS ppt
DBMS pptDBMS ppt
Database management system presentation
Database management system presentation Database management system presentation
Database management system presentation
umesh patil
 
Computing 7
Computing 7Computing 7
Computing 7
sufyanmaqsood
 
Database 1 Introduction
Database 1   IntroductionDatabase 1   Introduction
Database 1 Introduction
Ashwani Kumar Ramani
 
Preparing for BIT – IT2301 Database Management Systems 2001b
Preparing for BIT – IT2301 Database Management Systems 2001bPreparing for BIT – IT2301 Database Management Systems 2001b
Preparing for BIT – IT2301 Database Management Systems 2001b
Gihan Wikramanayake
 
sappresentation- By Prithwijit
sappresentation- By Prithwijit sappresentation- By Prithwijit
sappresentation- By Prithwijit
PRITHWIJIT PAL
 
ch01.ppt
ch01.pptch01.ppt
ch01.ppt
shahzadkhan34
 
Introduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptIntroduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).ppt
RuelDogma1
 
E-Tourism - Databases
E-Tourism - DatabasesE-Tourism - Databases
E-Tourism - Databases
Faindra Jabbar
 
Database system Handbook.docx
Database system Handbook.docxDatabase system Handbook.docx
Database system Handbook.docx
Bahria University Islamabad, Pakistan
 
Databases systems chapter 1( Definition ,concept ,Architecture)
Databases systems chapter 1( Definition ,concept ,Architecture)Databases systems chapter 1( Definition ,concept ,Architecture)
Databases systems chapter 1( Definition ,concept ,Architecture)
ihtesham tariq
 
database management system (DBMS)
database management system (DBMS)database management system (DBMS)
database management system (DBMS)
BigyanDhital1
 
DATABASE ADMINSTRATION
DATABASE ADMINSTRATION DATABASE ADMINSTRATION
DATABASE ADMINSTRATION
Nusrat Gulbarga
 
Annual Results and Impact Evaluation Workshop for RBF - Day Five - Adept-RBF ...
Annual Results and Impact Evaluation Workshop for RBF - Day Five - Adept-RBF ...Annual Results and Impact Evaluation Workshop for RBF - Day Five - Adept-RBF ...
Annual Results and Impact Evaluation Workshop for RBF - Day Five - Adept-RBF ...
RBFHealth
 
[Www.pkbulk.blogspot.com]dbms01
[Www.pkbulk.blogspot.com]dbms01[Www.pkbulk.blogspot.com]dbms01
[Www.pkbulk.blogspot.com]dbms01
AnusAhmad
 
rdbms-notes
rdbms-notesrdbms-notes
rdbms-notes
Mohit Saini
 
DB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptxDB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptx
harissheraz12345
 

Similar to data base management (20)

DBMS_Fundamentals
DBMS_FundamentalsDBMS_Fundamentals
DBMS_Fundamentals
 
Data base management ssystem
Data base management  ssystemData base management  ssystem
Data base management ssystem
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
DBMS ppt
DBMS pptDBMS ppt
DBMS ppt
 
Database management system presentation
Database management system presentation Database management system presentation
Database management system presentation
 
Computing 7
Computing 7Computing 7
Computing 7
 
Database 1 Introduction
Database 1   IntroductionDatabase 1   Introduction
Database 1 Introduction
 
Preparing for BIT – IT2301 Database Management Systems 2001b
Preparing for BIT – IT2301 Database Management Systems 2001bPreparing for BIT – IT2301 Database Management Systems 2001b
Preparing for BIT – IT2301 Database Management Systems 2001b
 
sappresentation- By Prithwijit
sappresentation- By Prithwijit sappresentation- By Prithwijit
sappresentation- By Prithwijit
 
ch01.ppt
ch01.pptch01.ppt
ch01.ppt
 
Introduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptIntroduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).ppt
 
E-Tourism - Databases
E-Tourism - DatabasesE-Tourism - Databases
E-Tourism - Databases
 
Database system Handbook.docx
Database system Handbook.docxDatabase system Handbook.docx
Database system Handbook.docx
 
Databases systems chapter 1( Definition ,concept ,Architecture)
Databases systems chapter 1( Definition ,concept ,Architecture)Databases systems chapter 1( Definition ,concept ,Architecture)
Databases systems chapter 1( Definition ,concept ,Architecture)
 
database management system (DBMS)
database management system (DBMS)database management system (DBMS)
database management system (DBMS)
 
DATABASE ADMINSTRATION
DATABASE ADMINSTRATION DATABASE ADMINSTRATION
DATABASE ADMINSTRATION
 
Annual Results and Impact Evaluation Workshop for RBF - Day Five - Adept-RBF ...
Annual Results and Impact Evaluation Workshop for RBF - Day Five - Adept-RBF ...Annual Results and Impact Evaluation Workshop for RBF - Day Five - Adept-RBF ...
Annual Results and Impact Evaluation Workshop for RBF - Day Five - Adept-RBF ...
 
[Www.pkbulk.blogspot.com]dbms01
[Www.pkbulk.blogspot.com]dbms01[Www.pkbulk.blogspot.com]dbms01
[Www.pkbulk.blogspot.com]dbms01
 
rdbms-notes
rdbms-notesrdbms-notes
rdbms-notes
 
DB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptxDB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptx
 

Recently uploaded

OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
Requirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional SafetyRequirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional Safety
Ayan Halder
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
aymanquadri279
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 

Recently uploaded (20)

OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
Requirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional SafetyRequirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional Safety
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 

data base management

  • 1. DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS BASIC CONCEPTSBASIC CONCEPTS 1. What is a database?1. What is a database? A database is a collection of data whichA database is a collection of data which can be used:can be used: • alone, oralone, or • combined / related to other datacombined / related to other data to provide answers to the user’s question.to provide answers to the user’s question. N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
  • 2. 2. What is a Database Management System?2. What is a Database Management System? A DBMS is a collection of programs whichA DBMS is a collection of programs which • provide management of databasesprovide management of databases • control access to datacontrol access to data • contain a query language to retrievecontain a query language to retrieve information easilyinformation easily DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
  • 3. 3. Database Design3. Database Design It is important to design the database in such aIt is important to design the database in such a way that:way that: • A specific item can be reached easilyA specific item can be reached easily (maximum guarantee that the desired record will be(maximum guarantee that the desired record will be reached)reached) • The database can respond to the user’sThe database can respond to the user’s different questions easilydifferent questions easily (necessary relationships are provided)(necessary relationships are provided) DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
  • 4. •The database occupies minimum storage spaceThe database occupies minimum storage space (choosing data types and how to express a certain(choosing data types and how to express a certain concept is important)concept is important) •The database contains no unnecessary dataThe database contains no unnecessary data (storing the gross salary is enough, the net salary(storing the gross salary is enough, the net salary can be calculated from the gross salary)can be calculated from the gross salary) • Data can be added and updated easilyData can be added and updated easily without causing mistakeswithout causing mistakes (no data redundancy)(no data redundancy) DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
  • 5. Data redundancyData redundancy Different and conflicting versions of the same data e.g. Employee database: personal info payroll - ID - ID (relating parameter) - name - name (causes redundancy) - address - gross salary DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
  • 6. STEPS IN DATABASE DESIGNSTEPS IN DATABASE DESIGN • Requirement analysisRequirement analysis What does the user want?What does the user want? • Conceptual database designConceptual database design Defining the entities and attributes, and theDefining the entities and attributes, and the relationships between theserelationships between these --> The ER model--> The ER model • Physical database designPhysical database design Implementation of the conceptual design using aImplementation of the conceptual design using a Database Management SystemDatabase Management System DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
  • 7. TERMINOLOGYTERMINOLOGY • EntityEntity --> What is this table about?--> What is this table about? studentsstudents • AttributeAttribute (Field) --> What items of(Field) --> What items of information are necessary to keep concerninginformation are necessary to keep concerning this entity?this entity? ID, name, department, year, advisorID, name, department, year, advisor • RecordRecord (Tuple) --> A set of values for each(Tuple) --> A set of values for each attribute for one itemattribute for one item 2002765420027654 Ali KayaAli Kaya CAACAA 22 Ahmet DurukalAhmet Durukal DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring
  • 8. • KeyKey --> The attribute used to define a required--> The attribute used to define a required itemitem who is the advisor ofwho is the advisor of Ali KayaAli Kaya?? Types of keys:Types of keys: ** Primary KeyPrimary Key: Key used to uniquely identify a record: Key used to uniquely identify a record ** Foreign KeyForeign Key: A field in this table which is the Primary: A field in this table which is the Primary key of another tablekey of another table • RelationshipRelationship --> Definitions linking two or--> Definitions linking two or more tablesmore tables DATABASE MANAGEMENT SYSTEMSDATABASE MANAGEMENT SYSTEMS N. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 SpringN. Fenmen - CAA292 Database Applications for Business - 2003 - 2004 Spring