SlideShare uma empresa Scribd logo
1 de 19
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)

Mais conteúdo relacionado

Mais procurados

MySQL Indexing : Improving Query Performance Using Index (Covering Index)
MySQL Indexing : Improving Query Performance Using Index (Covering Index)MySQL Indexing : Improving Query Performance Using Index (Covering Index)
MySQL Indexing : Improving Query Performance Using Index (Covering Index)Hemant Kumar Singh
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data modelsABDUL KHALIQ
 
Normalization in a Database
Normalization in a DatabaseNormalization in a Database
Normalization in a DatabaseBishrul Haq
 
Database management system
Database management systemDatabase management system
Database management systemRizwanHafeez
 
Database Indexes
Database IndexesDatabase Indexes
Database IndexesSperasoft
 
Comparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented DatabaseComparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented DatabaseEditor IJMTER
 
Physical architecture of sql server
Physical architecture of sql serverPhysical architecture of sql server
Physical architecture of sql serverDivya Sharma
 
Advance Database Management Systems -Object Oriented Principles In Database
Advance Database Management Systems -Object Oriented Principles In DatabaseAdvance Database Management Systems -Object Oriented Principles In Database
Advance Database Management Systems -Object Oriented Principles In DatabaseSonali Parab
 
DATA Warehousing & Data Mining
DATA Warehousing & Data MiningDATA Warehousing & Data Mining
DATA Warehousing & Data Miningcpjcollege
 
Performance Tuning And Optimization Microsoft SQL Database
Performance Tuning And Optimization Microsoft SQL DatabasePerformance Tuning And Optimization Microsoft SQL Database
Performance Tuning And Optimization Microsoft SQL DatabaseTung Nguyen Thanh
 

Mais procurados (20)

MySQL Indexing : Improving Query Performance Using Index (Covering Index)
MySQL Indexing : Improving Query Performance Using Index (Covering Index)MySQL Indexing : Improving Query Performance Using Index (Covering Index)
MySQL Indexing : Improving Query Performance Using Index (Covering Index)
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data models
 
Normalization in a Database
Normalization in a DatabaseNormalization in a Database
Normalization in a Database
 
Erd practice exercises
Erd practice exercisesErd practice exercises
Erd practice exercises
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
 
Database management system
Database management systemDatabase management system
Database management system
 
normaliztion
normaliztionnormaliztion
normaliztion
 
Database Indexes
Database IndexesDatabase Indexes
Database Indexes
 
Comparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented DatabaseComparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented Database
 
Physical architecture of sql server
Physical architecture of sql serverPhysical architecture of sql server
Physical architecture of sql server
 
Advance Database Management Systems -Object Oriented Principles In Database
Advance Database Management Systems -Object Oriented Principles In DatabaseAdvance Database Management Systems -Object Oriented Principles In Database
Advance Database Management Systems -Object Oriented Principles In Database
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
DBMS Unit 2 ppt.ppt
DBMS Unit 2 ppt.pptDBMS Unit 2 ppt.ppt
DBMS Unit 2 ppt.ppt
 
Introduction to Databases
Introduction to DatabasesIntroduction to Databases
Introduction to Databases
 
Dbms
DbmsDbms
Dbms
 
DATA Warehousing & Data Mining
DATA Warehousing & Data MiningDATA Warehousing & Data Mining
DATA Warehousing & Data Mining
 
Entity relationship modelling
Entity relationship modellingEntity relationship modelling
Entity relationship modelling
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 
Postgresql
PostgresqlPostgresql
Postgresql
 
Performance Tuning And Optimization Microsoft SQL Database
Performance Tuning And Optimization Microsoft SQL DatabasePerformance Tuning And Optimization Microsoft SQL Database
Performance Tuning And Optimization Microsoft SQL Database
 

Semelhante a Importance of database design (1)

Large scale sql server best practices
Large scale sql server   best practicesLarge scale sql server   best practices
Large scale sql server best practicesmprabhuram
 
Optimize access
Optimize accessOptimize access
Optimize accessAla Esmail
 
NoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to CouchbaseNoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to CouchbaseMohammad Shaker
 
Ms access tutorial
Ms access tutorialMs access tutorial
Ms access tutorialminga48
 
Architectural anti patterns_for_data_handling
Architectural anti patterns_for_data_handlingArchitectural anti patterns_for_data_handling
Architectural anti patterns_for_data_handlingGleicon Moraes
 
Data Warehouse Best Practices
Data Warehouse Best PracticesData Warehouse Best Practices
Data Warehouse Best PracticesEduardo Castro
 
IS L03 - Database Management
IS L03 - Database ManagementIS L03 - Database Management
IS L03 - Database ManagementJan Wong
 
Introduction to database with ms access.hetvii
Introduction to database with ms access.hetviiIntroduction to database with ms access.hetvii
Introduction to database with ms access.hetvii07HetviBhagat
 
Introduction to database with ms access(DBMS)
Introduction to database with ms access(DBMS)Introduction to database with ms access(DBMS)
Introduction to database with ms access(DBMS)07HetviBhagat
 
ppt on open office.org
ppt on open office.orgppt on open office.org
ppt on open office.orgDeepansh Goel
 
Database.docx
Database.docxDatabase.docx
Database.docxRUBAB79
 
Information Systems For Business and BeyondChapter 4Data a.docx
Information Systems For Business and BeyondChapter 4Data a.docxInformation Systems For Business and BeyondChapter 4Data a.docx
Information Systems For Business and BeyondChapter 4Data a.docxjaggernaoma
 
Info systems databases
Info systems databasesInfo systems databases
Info systems databasesMR Z
 
Hadoop introduction , Why and What is Hadoop ?
Hadoop introduction , Why and What is  Hadoop ?Hadoop introduction , Why and What is  Hadoop ?
Hadoop introduction , Why and What is Hadoop ?sudhakara st
 
Class viii ch-2 log on to access
Class  viii ch-2 log on to accessClass  viii ch-2 log on to access
Class viii ch-2 log on to accessjessandy
 
10359485
1035948510359485
10359485kavumo
 

Semelhante a Importance of database design (1) (20)

Large scale sql server best practices
Large scale sql server   best practicesLarge scale sql server   best practices
Large scale sql server best practices
 
Optimize access
Optimize accessOptimize access
Optimize access
 
NoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to CouchbaseNoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to Couchbase
 
Ms access tutorial
Ms access tutorialMs access tutorial
Ms access tutorial
 
6.2 software
6.2 software6.2 software
6.2 software
 
Architectural anti patterns_for_data_handling
Architectural anti patterns_for_data_handlingArchitectural anti patterns_for_data_handling
Architectural anti patterns_for_data_handling
 
Data Warehouse Best Practices
Data Warehouse Best PracticesData Warehouse Best Practices
Data Warehouse Best Practices
 
IS L03 - Database Management
IS L03 - Database ManagementIS L03 - Database Management
IS L03 - Database Management
 
Introduction to database with ms access.hetvii
Introduction to database with ms access.hetviiIntroduction to database with ms access.hetvii
Introduction to database with ms access.hetvii
 
Introduction to database with ms access(DBMS)
Introduction to database with ms access(DBMS)Introduction to database with ms access(DBMS)
Introduction to database with ms access(DBMS)
 
ppt on open office.org
ppt on open office.orgppt on open office.org
ppt on open office.org
 
Database.docx
Database.docxDatabase.docx
Database.docx
 
Information Systems For Business and BeyondChapter 4Data a.docx
Information Systems For Business and BeyondChapter 4Data a.docxInformation Systems For Business and BeyondChapter 4Data a.docx
Information Systems For Business and BeyondChapter 4Data a.docx
 
01 Microsoft Access
01 Microsoft Access01 Microsoft Access
01 Microsoft Access
 
Info systems databases
Info systems databasesInfo systems databases
Info systems databases
 
Database concepts
Database conceptsDatabase concepts
Database concepts
 
Cs437 lecture 1-6
Cs437 lecture 1-6Cs437 lecture 1-6
Cs437 lecture 1-6
 
Hadoop introduction , Why and What is Hadoop ?
Hadoop introduction , Why and What is  Hadoop ?Hadoop introduction , Why and What is  Hadoop ?
Hadoop introduction , Why and What is Hadoop ?
 
Class viii ch-2 log on to access
Class  viii ch-2 log on to accessClass  viii ch-2 log on to access
Class viii ch-2 log on to access
 
10359485
1035948510359485
10359485
 

Mais de yhen06

Story telling
Story tellingStory telling
Story tellingyhen06
 
National book week celebration
National book week celebrationNational book week celebration
National book week celebrationyhen06
 
Book fair
Book fairBook fair
Book fairyhen06
 
Basic education department library
Basic education department libraryBasic education department library
Basic education department libraryyhen06
 
Markey encyclopedia
Markey encyclopediaMarkey encyclopedia
Markey encyclopediayhen06
 
Informational web pages
Informational web pagesInformational web pages
Informational web pagesyhen06
 
Indexing languages (2)
Indexing languages (2)Indexing languages (2)
Indexing languages (2)yhen06
 
Hardware & software
Hardware & softwareHardware & software
Hardware & softwareyhen06
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.yhen06
 
Dictionary aizel
Dictionary aizelDictionary aizel
Dictionary aizelyhen06
 
Book of days and first - aubrey
Book of days and first  - aubreyBook of days and first  - aubrey
Book of days and first - aubreyyhen06
 
Bibliographies (2)
Bibliographies (2)Bibliographies (2)
Bibliographies (2)yhen06
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.yhen06
 
Advantages and disadvantages of digital library
Advantages and disadvantages of digital libraryAdvantages and disadvantages of digital library
Advantages and disadvantages of digital libraryyhen06
 
Importance of data model
Importance of data modelImportance of data model
Importance of data modelyhen06
 
General factbooks
General factbooksGeneral factbooks
General factbooksyhen06
 
Evaluating different sources maam she
Evaluating different sources maam sheEvaluating different sources maam she
Evaluating different sources maam sheyhen06
 
Catalla & cea
Catalla & ceaCatalla & cea
Catalla & ceayhen06
 
Project proposal final presentation
Project proposal  final presentationProject proposal  final presentation
Project proposal final presentationyhen06
 
web tech
web techweb tech
web techyhen06
 

Mais de yhen06 (20)

Story telling
Story tellingStory telling
Story telling
 
National book week celebration
National book week celebrationNational book week celebration
National book week celebration
 
Book fair
Book fairBook fair
Book fair
 
Basic education department library
Basic education department libraryBasic education department library
Basic education department library
 
Markey encyclopedia
Markey encyclopediaMarkey encyclopedia
Markey encyclopedia
 
Informational web pages
Informational web pagesInformational web pages
Informational web pages
 
Indexing languages (2)
Indexing languages (2)Indexing languages (2)
Indexing languages (2)
 
Hardware & software
Hardware & softwareHardware & software
Hardware & software
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.
 
Dictionary aizel
Dictionary aizelDictionary aizel
Dictionary aizel
 
Book of days and first - aubrey
Book of days and first  - aubreyBook of days and first  - aubrey
Book of days and first - aubrey
 
Bibliographies (2)
Bibliographies (2)Bibliographies (2)
Bibliographies (2)
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.
 
Advantages and disadvantages of digital library
Advantages and disadvantages of digital libraryAdvantages and disadvantages of digital library
Advantages and disadvantages of digital library
 
Importance of data model
Importance of data modelImportance of data model
Importance of data model
 
General factbooks
General factbooksGeneral factbooks
General factbooks
 
Evaluating different sources maam she
Evaluating different sources maam sheEvaluating different sources maam she
Evaluating different sources maam she
 
Catalla & cea
Catalla & ceaCatalla & cea
Catalla & cea
 
Project proposal final presentation
Project proposal  final presentationProject proposal  final presentation
Project proposal final presentation
 
web tech
web techweb tech
web tech
 

Último

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Último (20)

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 

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.