SlideShare a Scribd company logo
DESIGN A DATABASE - LO1
Data base administrator L-4
LO1: DETERMINE DATABASE REQUIREMENTS
 Determining System Requirements
 system requirements are derived from the information gathered from the interviews.
in other words, business requirements are converted into system requirements. the
conversion of business requirements into system requirements involves the following
steps, which are explained afterward:
 identifying the data
 grouping the data that has been defined
 establishing a list of fields
 establishing data relationships
 a significant part of the interview process includes the identification of business data.
data will be found throughout the notes taken during the interviews.
required data to be stored or captured must be broken down into basic
related groups.
ESTABLISHING GROUPS OF DATA
 Defining the main groups of data is similar to composing a jot list because a jot list identifies all the main
points associated with a topic.
 . Preliminary groups of data, referred to as entities, are established using the data collected from the
interviews. Establishing entities involves breaking the data down into logical categories, which should be
a no-brainer for the development team in the sense that this information should have already been
defined by the interviewees
 Examples of basic groups of data for our sample company, TrainTech, include
 Class information
 Student information
 Instructor information
 Class materials
 Class schedules
 Accounts receivable
 Accounts payable
 Examples of basic groups of data for an online bookstore might include:
 Book information
 Author information
 Publisher information
 Distributor information
 Order information
 Product inventory
 Product returns
 Accounts receivable
 Accounts payable
 Establishing a List of Fields
 A field is an individual unit of specific information that is associated with an occurrence of information in the
entity. Likewise, an entity can be defined as a collection of fields that specifically define a logical grouping of
data.
 For example, the human resources department for a company must track employee data.
 Looking back to the entities established in the previous section, the following list of fields can be derived from the entity associated with class information:
 Class identifier
 Class name
 Cost of class
 Description of class
 Class prerequisites
 Class materials
 Class instructor
 In association with instructor information, the following specific information might be required:

Instructor identifier
 Instructor name
 Address
 Phone
 Skills
 Certifications
 Hire date
 Pay rate
 In association with book information, an online book store might require the following information:

Book ISBN
 Book title
 Description
 Category
 Publisher
 Author
 Publication date
 Cost
 Page count
 Related titles
 After a list of fields has been established, all data within the
organization should be accounted for, whether dealing with data
associated with manual processes, or data currently used by a legacy
system. The list of fields established for entities are used to generate
detailed ERDs. The detailed ERDs should completely illustrate all
data needed to design a database for an organization.
 Establishing Relationships
 Before determining data relationships, it is important to identify all data first.
Relationships allow one or more entities to be related. Without the ability to relate
data among entities, all data and fields would be required to reside in a single entity,
which means that the amount of redundant information stored will be maximized.
 Relationships also determine how data from one entity can refer to (access) data in
another entity.
 In order for relationships to exist between entities, entities must have fields that are
common to one another.
For example, consider the following entities and brief lists of fields:
 · Class schedule (class, date, location, instructor)
 · Registration (class, student)
 Instructors (instructor, address, pay rate)
 Students (student, address)
 Instructors are associated with classes, classes are associated with registration,
and students are associated with registration.
 Instructors and students are not associated with one another directly, but one can
easily determine the students who are taught by a particular instructor by finding
out what classes an instructor teaches, and then by finding out what students are
registered for the classes taught by the instructor.
 The following one-to-many relationships exist:
 Class schedules are associated with many registrations.
 A student might have registered for many classes.
 The following many-to-many relationships exist:
 Instructors can teach more than one class, and a class can be taught by more than one
instructor.
 An instructor can teach many students, and a student can have many instructors.
Business rules affect the relationships that might exist between data. Consider
the following business rules:
 A class might be scheduled many times throughout the year.
 A class must have a lead instructor.
 An instructor must teach at least one class.
 Many students can register for a class that has been scheduled.
 A class might have an assistant instructor, depending on the student enrollment.
 No more than 15 students can register for a given class.
 A class will be canceled if less than 5 students are enrolled for a given class.
Determining the Type of Database Model
 a database model has already been selected
 The model that best suits the needs of the business must be selected. .
 strategy for storing data with object-oriented (OO) and object-relational (OR)
technologies.
Selecting an Implementation
 It is easy to select a database model. After a database model has been selected, an
implementation must be selected. If the relational database model is being used, a relational
database management system (RDBMS) must be selected.
 If you are not familiar with any particular RDBMS, making a selection can be very difficult
at first because so many relational database vendors exist.
 Some common relational database management systems include
 Oracle—Commonly used by medium- to large-sized organizations (mainframe, client/server, Internet)
 Microsoft SQL Server—Commonly used by medium- to large-sized organizations (client/server)
 Microsoft Access—Commonly used by smaller organizations for personal applications (personal)
 DB2—Commonly used by small- to large-sized organizations (mainframe, client/server, Internet)
 Informix—Commonly used by small- to large-sized organizations (mainframe, client/server, internet)
 Sybase—Commonly used by small- to large-sized organizations (mainframe, client/server, internet)
 MySQL—Commonly used by small- to large-sized organizations (mainframe, client/server, internet)
 Setting Naming Conventions and Standards to Be Used
 Naming conventions and development standards are not so important during information gathering, but
must be established before beginning to model and design the database. Consider the following when
establishing naming conventions and standards.
 How will entities be named?
 How will attributes be named?
 How will tables be named?
 How will columns be named?
 How will other database objects be named?
 What abbreviations will be used?
 Following are sample rules we like to use when naming database related objects:
 The name should be in singular form (CUSTOMER).
 The name should contain spaces if more than one word for entities, and should contain underscores in the
 place of spaces for tables.
 Names should be capitalized.
 Identifiers use the word ID.
 If abbreviations are used, be consistent.
 Don’t prefix column names with the table name, or abbreviation for the table name (for the department
 name, use NAME, not DNAME).
End of Lo1

More Related Content

Similar to 3. Design a Database - Lo1DETERMINE DATABASE REQUIREMENTS (20)

PDF
Information Systems Today Managing in the Digital World 6th Edition Valacich ...
mrfxxocj856
 
PPT
Data models
Usman Tariq
 
PPT
Database
sumit621
 
PDF
Information Systems Today Managing in the Digital World 6th Edition Valacich ...
sukyeeidaida
 
PPTX
DBMS Database Management System
Dipen Bharadava
 
PDF
Information Systems Today Managing in the Digital World 6th Edition Valacich ...
hurttamahafo
 
PDF
Dbms notes
Prof. Dr. K. Adisesha
 
DOCX
Mi0034 database management systems
smumbahelp
 
DOCX
Information Systems For Business and BeyondChapter 4Data a.docx
jaggernaoma
 
PDF
Module03
susir
 
PPTX
data Modelling in Database introduction and design.pptx
kbjoash1
 
DOCX
SOCIAL ISSUES DISCUSSION You are required to identify any curr.docx
pbilly1
 
PDF
Information Systems Today Managing in the Digital World 6th Edition Valacich ...
dunasziebaru
 
PPT
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Usman Tariq
 
PPT
Ais Romney 2006 Slides 04 Relational Databases
sharing notes123
 
PPT
Ais Romney 2006 Slides 04 Relational Databases
Sharing Slides Training
 
PPT
Ais Romney 2006 Slides 04 Relational Databases
Sharing Slides Training
 
PDF
Hands-On Database 2nd Edition Steve Conger Solutions Manual
PearlHansonss
 
PPT
Dimensions
Allen Woods
 
Information Systems Today Managing in the Digital World 6th Edition Valacich ...
mrfxxocj856
 
Data models
Usman Tariq
 
Database
sumit621
 
Information Systems Today Managing in the Digital World 6th Edition Valacich ...
sukyeeidaida
 
DBMS Database Management System
Dipen Bharadava
 
Information Systems Today Managing in the Digital World 6th Edition Valacich ...
hurttamahafo
 
Mi0034 database management systems
smumbahelp
 
Information Systems For Business and BeyondChapter 4Data a.docx
jaggernaoma
 
Module03
susir
 
data Modelling in Database introduction and design.pptx
kbjoash1
 
SOCIAL ISSUES DISCUSSION You are required to identify any curr.docx
pbilly1
 
Information Systems Today Managing in the Digital World 6th Edition Valacich ...
dunasziebaru
 
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Usman Tariq
 
Ais Romney 2006 Slides 04 Relational Databases
sharing notes123
 
Ais Romney 2006 Slides 04 Relational Databases
Sharing Slides Training
 
Ais Romney 2006 Slides 04 Relational Databases
Sharing Slides Training
 
Hands-On Database 2nd Edition Steve Conger Solutions Manual
PearlHansonss
 
Dimensions
Allen Woods
 

More from birhanugirmay559 (19)

PPTX
chapter-2-emering technology Data science .pptx
birhanugirmay559
 
PPTX
chapter-1 Introduction to Emerging Technologies [Autosaved].pptx
birhanugirmay559
 
PPTX
Unit One: Prepare for Work Unit Two: Identifying MUDA and Planning for Elimin...
birhanugirmay559
 
PPTX
Preventing_Eliminating_MUDA_Units3_4.pptx
birhanugirmay559
 
PPTX
Preventing_Eliminating_MUDA_Units3_4.pptx
birhanugirmay559
 
PPTX
DATABASE ADMINISTRATION: Identify Physical Database Requirements
birhanugirmay559
 
PPTX
LO #4- Perform shine activities.pptxLO #4- Perform shine activities.pptx
birhanugirmay559
 
PPTX
Chapter Four Organizing FunctionMTP (Chap 4) Ready.pptx
birhanugirmay559
 
PPTX
Chapter Three Planning and Decision Making “Failing to Plan is planning to ...
birhanugirmay559
 
PPTX
Chapter Five StaffingMTP (Chap 3) Ready.pptx
birhanugirmay559
 
PPTX
Distributed Database management system .pptx
birhanugirmay559
 
PPTX
Methodology - Conceptual Database Design Transparencies .pptx
birhanugirmay559
 
PPTX
short training Cooperative Training.pptx
birhanugirmay559
 
PPTX
Access Control authentication and authorization .pptx
birhanugirmay559
 
PPTX
what is digitalization TVET Digitalization.pptx
birhanugirmay559
 
PPT
Ch 2 Sources of finance are classed as being either internal or external.Fina...
birhanugirmay559
 
PPTX
Digitalization for TVET training centers.pptx
birhanugirmay559
 
PPTX
Monitor-and-support-data-conversion 1 1.pptx
birhanugirmay559
 
PPTX
Unit of Competence: Migrate to New Technology.pptx
birhanugirmay559
 
chapter-2-emering technology Data science .pptx
birhanugirmay559
 
chapter-1 Introduction to Emerging Technologies [Autosaved].pptx
birhanugirmay559
 
Unit One: Prepare for Work Unit Two: Identifying MUDA and Planning for Elimin...
birhanugirmay559
 
Preventing_Eliminating_MUDA_Units3_4.pptx
birhanugirmay559
 
Preventing_Eliminating_MUDA_Units3_4.pptx
birhanugirmay559
 
DATABASE ADMINISTRATION: Identify Physical Database Requirements
birhanugirmay559
 
LO #4- Perform shine activities.pptxLO #4- Perform shine activities.pptx
birhanugirmay559
 
Chapter Four Organizing FunctionMTP (Chap 4) Ready.pptx
birhanugirmay559
 
Chapter Three Planning and Decision Making “Failing to Plan is planning to ...
birhanugirmay559
 
Chapter Five StaffingMTP (Chap 3) Ready.pptx
birhanugirmay559
 
Distributed Database management system .pptx
birhanugirmay559
 
Methodology - Conceptual Database Design Transparencies .pptx
birhanugirmay559
 
short training Cooperative Training.pptx
birhanugirmay559
 
Access Control authentication and authorization .pptx
birhanugirmay559
 
what is digitalization TVET Digitalization.pptx
birhanugirmay559
 
Ch 2 Sources of finance are classed as being either internal or external.Fina...
birhanugirmay559
 
Digitalization for TVET training centers.pptx
birhanugirmay559
 
Monitor-and-support-data-conversion 1 1.pptx
birhanugirmay559
 
Unit of Competence: Migrate to New Technology.pptx
birhanugirmay559
 
Ad

Recently uploaded (20)

PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PPTX
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
PDF
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Ad

3. Design a Database - Lo1DETERMINE DATABASE REQUIREMENTS

  • 1. DESIGN A DATABASE - LO1 Data base administrator L-4
  • 2. LO1: DETERMINE DATABASE REQUIREMENTS  Determining System Requirements  system requirements are derived from the information gathered from the interviews. in other words, business requirements are converted into system requirements. the conversion of business requirements into system requirements involves the following steps, which are explained afterward:  identifying the data  grouping the data that has been defined  establishing a list of fields  establishing data relationships  a significant part of the interview process includes the identification of business data. data will be found throughout the notes taken during the interviews. required data to be stored or captured must be broken down into basic related groups.
  • 3. ESTABLISHING GROUPS OF DATA  Defining the main groups of data is similar to composing a jot list because a jot list identifies all the main points associated with a topic.  . Preliminary groups of data, referred to as entities, are established using the data collected from the interviews. Establishing entities involves breaking the data down into logical categories, which should be a no-brainer for the development team in the sense that this information should have already been defined by the interviewees  Examples of basic groups of data for our sample company, TrainTech, include  Class information  Student information  Instructor information  Class materials  Class schedules  Accounts receivable  Accounts payable
  • 4.  Examples of basic groups of data for an online bookstore might include:  Book information  Author information  Publisher information  Distributor information  Order information  Product inventory  Product returns  Accounts receivable  Accounts payable  Establishing a List of Fields  A field is an individual unit of specific information that is associated with an occurrence of information in the entity. Likewise, an entity can be defined as a collection of fields that specifically define a logical grouping of data.  For example, the human resources department for a company must track employee data.
  • 5.  Looking back to the entities established in the previous section, the following list of fields can be derived from the entity associated with class information:  Class identifier  Class name  Cost of class  Description of class  Class prerequisites  Class materials  Class instructor  In association with instructor information, the following specific information might be required:  Instructor identifier  Instructor name  Address  Phone  Skills  Certifications  Hire date  Pay rate
  • 6.  In association with book information, an online book store might require the following information:  Book ISBN  Book title  Description  Category  Publisher  Author  Publication date  Cost  Page count  Related titles  After a list of fields has been established, all data within the organization should be accounted for, whether dealing with data associated with manual processes, or data currently used by a legacy system. The list of fields established for entities are used to generate detailed ERDs. The detailed ERDs should completely illustrate all data needed to design a database for an organization.
  • 7.  Establishing Relationships  Before determining data relationships, it is important to identify all data first. Relationships allow one or more entities to be related. Without the ability to relate data among entities, all data and fields would be required to reside in a single entity, which means that the amount of redundant information stored will be maximized.  Relationships also determine how data from one entity can refer to (access) data in another entity.  In order for relationships to exist between entities, entities must have fields that are common to one another. For example, consider the following entities and brief lists of fields:  · Class schedule (class, date, location, instructor)  · Registration (class, student)  Instructors (instructor, address, pay rate)  Students (student, address)
  • 8.  Instructors are associated with classes, classes are associated with registration, and students are associated with registration.  Instructors and students are not associated with one another directly, but one can easily determine the students who are taught by a particular instructor by finding out what classes an instructor teaches, and then by finding out what students are registered for the classes taught by the instructor.  The following one-to-many relationships exist:  Class schedules are associated with many registrations.  A student might have registered for many classes.  The following many-to-many relationships exist:  Instructors can teach more than one class, and a class can be taught by more than one instructor.  An instructor can teach many students, and a student can have many instructors.
  • 9. Business rules affect the relationships that might exist between data. Consider the following business rules:  A class might be scheduled many times throughout the year.  A class must have a lead instructor.  An instructor must teach at least one class.  Many students can register for a class that has been scheduled.  A class might have an assistant instructor, depending on the student enrollment.  No more than 15 students can register for a given class.  A class will be canceled if less than 5 students are enrolled for a given class. Determining the Type of Database Model  a database model has already been selected  The model that best suits the needs of the business must be selected. .  strategy for storing data with object-oriented (OO) and object-relational (OR) technologies.
  • 10. Selecting an Implementation  It is easy to select a database model. After a database model has been selected, an implementation must be selected. If the relational database model is being used, a relational database management system (RDBMS) must be selected.  If you are not familiar with any particular RDBMS, making a selection can be very difficult at first because so many relational database vendors exist.  Some common relational database management systems include  Oracle—Commonly used by medium- to large-sized organizations (mainframe, client/server, Internet)  Microsoft SQL Server—Commonly used by medium- to large-sized organizations (client/server)  Microsoft Access—Commonly used by smaller organizations for personal applications (personal)  DB2—Commonly used by small- to large-sized organizations (mainframe, client/server, Internet)  Informix—Commonly used by small- to large-sized organizations (mainframe, client/server, internet)  Sybase—Commonly used by small- to large-sized organizations (mainframe, client/server, internet)  MySQL—Commonly used by small- to large-sized organizations (mainframe, client/server, internet)
  • 11.  Setting Naming Conventions and Standards to Be Used  Naming conventions and development standards are not so important during information gathering, but must be established before beginning to model and design the database. Consider the following when establishing naming conventions and standards.  How will entities be named?  How will attributes be named?  How will tables be named?  How will columns be named?  How will other database objects be named?  What abbreviations will be used?  Following are sample rules we like to use when naming database related objects:  The name should be in singular form (CUSTOMER).  The name should contain spaces if more than one word for entities, and should contain underscores in the  place of spaces for tables.  Names should be capitalized.  Identifiers use the word ID.  If abbreviations are used, be consistent.  Don’t prefix column names with the table name, or abbreviation for the table name (for the department  name, use NAME, not DNAME).