SlideShare a Scribd company logo
DATABASE DESIGN
   Database design is the process of producing a
    detailed data model of a database.
   This logical data model contains all the needed
    logical and physical design choices and physical
    storage parameters needed to generate a design in
    a Data Definition Language, which can then be
    used to create a database.
    A fully attributed data model contains detailed
    attributes for each entity.
Usually, the designer must:

   Determine the relationships between the different data
    elements.

   Superimpose a logical structure upon the data on the
    basis of these relationships.
THE DESIGN PROCESS



 Determine    the purpose of the
 database - This helps prepare for the
 remaining steps.
   Find and organize the information required -
    Gather all of the types of information to record in
    the database, such as product name and order
    number.
   Divide the information into tables - Divide information
    items into major entities or subjects, such as Products or
    Orders. Each subject then becomes a table.
 Turn information items into columns -
 Decide what information needs to stored
 in each table. Each item becomes a field,
 and is displayed as a column in the table.
 For example, an Employees table might
 include fields such as Last Name and
 Hire Date.
 Specify  primary keys - Choose each
 table’s primary key. The primary key is a
 column that is used to uniquely identify
 each row.
 Setup the table relationships - Look at
 each table and decide how the data in
 one table is related to the data in other
 tables. Add fields to tables or create new
 tables to clarify the relationships, as
 necessary.
   Refine the design - Analyze the design for errors.
    Create tables and add a few records of sample
    data. Check if results come from the tables as
    expected. Make adjustments to the design, as
    needed.
 Apply the normalization rules - Apply
 the data normalization rules to see if
 tables are structured correctly. Make
 adjustments to the tables
THE TABLES
   The core table of the database is Incident. This
    tracks the bulk of information submitting about a
    particular incident. For example, under injuries
    there might be multiple parts of the body that were
    injured. There are several ways to deal with this.
Solution          Pros                      Cons
Add one field for Keeps all the data in one Makes the table extremely large. Adding
each item         table.                    a new piece of information to be stored
                                            means adding an entirely new field. If
                                            there are multiple copies of the database
                                            in    use   synchronization      becomes
                                            extremely difficult. Many database fields
                                            will be empty. Poor database design
                                            practice.  Less       efficient  database
                                            storage.
Allow       multiple Keeps all the data in one Extremely     poor     database   design
pieces of data to be table.                    practice. Makes querying the database
entered in each                                for incidents that meet certain criteria
field.                                         extremely difficult and time consuming.

Create Child Tables Best practice for database      Spreads data out over multiple tables
                    design. Allows for easily       which means that greater database
                    adding new types of             expertise is needed to develop and work
                    information.    Does      not   with the data.
                    create a "bulky" core table.
                    More efficient for querying
                    the database for incidents
                    that meet certain criteria.
   The recommendation is to create an idb_Incidents
    Table to handle the information that is discrete (that is
    can only have one value such as the date of the
    incident) and create a series of Child tables that store
    information where there may be multiple pieces of
    data.
   This makes the database much more extendable. If
    new information needs to be collected, either a new
    field would be added to the idb_Incidents Table or a
    new Child table could be created.
Importance of database design (1)

More Related Content

PDF
Files and data storage
PPTX
Disk storage - SlideShare by jayed hossain jibon
PPTX
Next generation of data scientist
PPTX
Types of databases
PPTX
Data analytics with R
PPTX
Database Design
PPT
Chapter18
PPT
Database systems
Files and data storage
Disk storage - SlideShare by jayed hossain jibon
Next generation of data scientist
Types of databases
Data analytics with R
Database Design
Chapter18
Database systems

What's hot (20)

PPTX
DOCX
Joins in dbms and types
PDF
MongoDB Database Replication
PPT
data warehousing
PDF
Dynamo and BigTable - Review and Comparison
PPTX
Database Concepts and Terminologies
PPTX
IP tables and Filtering
PPT
Files Vs DataBase
PPT
11 Database Concepts
PPTX
DATA WAREHOUSING
PPT
CDW: SAN vs. NAS
PPT
Dwh lecture 07-denormalization
PPTX
BACKUP & RECOVERY IN DBMS
PPTX
Building blocks (Game Architecture)
PDF
Chapter 1 Fundamentals of Database Management System
PDF
Relational database- Fundamentals
PPTX
The Basics of MongoDB
PPTX
Operating Systems: Device Management
PPTX
In-memory Databases
Joins in dbms and types
MongoDB Database Replication
data warehousing
Dynamo and BigTable - Review and Comparison
Database Concepts and Terminologies
IP tables and Filtering
Files Vs DataBase
11 Database Concepts
DATA WAREHOUSING
CDW: SAN vs. NAS
Dwh lecture 07-denormalization
BACKUP & RECOVERY IN DBMS
Building blocks (Game Architecture)
Chapter 1 Fundamentals of Database Management System
Relational database- Fundamentals
The Basics of MongoDB
Operating Systems: Device Management
In-memory Databases
Ad

Similar to Importance of database design (1) (20)

PPTX
Large scale sql server best practices
PDF
Optimize access
PPTX
NoSQL - A Closer Look to Couchbase
PPT
Ms access tutorial
PDF
PDF
Architectural anti patterns_for_data_handling
PPTX
Data Warehouse Best Practices
PDF
IS L03 - Database Management
PPTX
Introduction to database with ms access.hetvii
PPTX
Introduction to database with ms access(DBMS)
ODP
ppt on open office.org
DOCX
Database.docx
PPTX
Operate Database Applicationidentify ntrk handtools.pptx
DOCX
Information Systems For Business and BeyondChapter 4Data a.docx
PPT
PPTX
8.-Database Management System with MS-Access.pptx
PPT
Info systems databases
PPT
Database concepts
PDF
Cs437 lecture 1-6
PPTX
Hadoop introduction , Why and What is Hadoop ?
Large scale sql server best practices
Optimize access
NoSQL - A Closer Look to Couchbase
Ms access tutorial
Architectural anti patterns_for_data_handling
Data Warehouse Best Practices
IS L03 - Database Management
Introduction to database with ms access.hetvii
Introduction to database with ms access(DBMS)
ppt on open office.org
Database.docx
Operate Database Applicationidentify ntrk handtools.pptx
Information Systems For Business and BeyondChapter 4Data a.docx
8.-Database Management System with MS-Access.pptx
Info systems databases
Database concepts
Cs437 lecture 1-6
Hadoop introduction , Why and What is Hadoop ?
Ad

More from yhen06 (20)

PPTX
Story telling
PPTX
National book week celebration
PPTX
Book fair
PPTX
Basic education department library
PPTX
Markey encyclopedia
PPTX
Informational web pages
PPTX
Indexing languages (2)
PPTX
Hardware & software
PPTX
Database system environment ppt.
PPTX
Dictionary aizel
PPTX
Book of days and first - aubrey
PPTX
Bibliographies (2)
PPTX
Database system environment ppt.
PPTX
Advantages and disadvantages of digital library
PPTX
Importance of data model
PPTX
General factbooks
PPTX
Evaluating different sources maam she
PPTX
Catalla & cea
PPTX
Project proposal final presentation
PPTX
web tech
Story telling
National book week celebration
Book fair
Basic education department library
Markey encyclopedia
Informational web pages
Indexing languages (2)
Hardware & software
Database system environment ppt.
Dictionary aizel
Book of days and first - aubrey
Bibliographies (2)
Database system environment ppt.
Advantages and disadvantages of digital library
Importance of data model
General factbooks
Evaluating different sources maam she
Catalla & cea
Project proposal final presentation
web tech

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPT
Teaching material agriculture food technology
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Spectroscopy.pptx food analysis technology
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Digital-Transformation-Roadmap-for-Companies.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
MIND Revenue Release Quarter 2 2025 Press Release
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Reach Out and Touch Someone: Haptics and Empathic Computing
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Review of recent advances in non-invasive hemoglobin estimation
Teaching material agriculture food technology
NewMind AI Weekly Chronicles - August'25 Week I
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
cuic standard and advanced reporting.pdf
Network Security Unit 5.pdf for BCA BBA.
Spectroscopy.pptx food analysis technology
20250228 LYD VKU AI Blended-Learning.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf

Importance of database design (1)

  • 2. Database design is the process of producing a detailed data model of a database.
  • 3. This logical data model contains all the needed logical and physical design choices and physical storage parameters needed to generate a design in a Data Definition Language, which can then be used to create a database.
  • 4. A fully attributed data model contains detailed attributes for each entity.
  • 5. Usually, the designer must:  Determine the relationships between the different data elements.  Superimpose a logical structure upon the data on the basis of these relationships.
  • 6. THE DESIGN PROCESS  Determine the purpose of the database - This helps prepare for the remaining steps.
  • 7. Find and organize the information required - Gather all of the types of information to record in the database, such as product name and order number.
  • 8. Divide the information into tables - Divide information items into major entities or subjects, such as Products or Orders. Each subject then becomes a table.
  • 9.  Turn information items into columns - Decide what information needs to stored in each table. Each item becomes a field, and is displayed as a column in the table. For example, an Employees table might include fields such as Last Name and Hire Date.
  • 10.  Specify primary keys - Choose each table’s primary key. The primary key is a column that is used to uniquely identify each row.
  • 11.  Setup the table relationships - Look at each table and decide how the data in one table is related to the data in other tables. Add fields to tables or create new tables to clarify the relationships, as necessary.
  • 12. Refine the design - Analyze the design for errors. Create tables and add a few records of sample data. Check if results come from the tables as expected. Make adjustments to the design, as needed.
  • 13.  Apply the normalization rules - Apply the data normalization rules to see if tables are structured correctly. Make adjustments to the tables
  • 15. The core table of the database is Incident. This tracks the bulk of information submitting about a particular incident. For example, under injuries there might be multiple parts of the body that were injured. There are several ways to deal with this.
  • 16. Solution Pros Cons Add one field for Keeps all the data in one Makes the table extremely large. Adding each item table. a new piece of information to be stored means adding an entirely new field. If there are multiple copies of the database in use synchronization becomes extremely difficult. Many database fields will be empty. Poor database design practice. Less efficient database storage. Allow multiple Keeps all the data in one Extremely poor database design pieces of data to be table. practice. Makes querying the database entered in each for incidents that meet certain criteria field. extremely difficult and time consuming. Create Child Tables Best practice for database Spreads data out over multiple tables design. Allows for easily which means that greater database adding new types of expertise is needed to develop and work information. Does not with the data. create a "bulky" core table. More efficient for querying the database for incidents that meet certain criteria.
  • 17. The recommendation is to create an idb_Incidents Table to handle the information that is discrete (that is can only have one value such as the date of the incident) and create a series of Child tables that store information where there may be multiple pieces of data.
  • 18. This makes the database much more extendable. If new information needs to be collected, either a new field would be added to the idb_Incidents Table or a new Child table could be created.