SlideShare uma empresa Scribd logo
1 de 35
Database Processing:
Fundamentals, Design, and Implementation




         Chapter One: Introduction


                                           1
Chapter 1



• Q1: Why Data Base?




                         2
A1: To make decision according to
    created collection of facts




                                    3
Q2: You are working in Production, how
    to decide whether or not to stop the
    product of 20 items in your
    company.




                                       4
A2:

Collect Data  Convert data to Information  make Decision




                                                             5
Q3:

Collect data  So what ? What to consider in collecting data?




                                                         6
A3:
We have to consider the following problems :

   not interpreted data
   Mass of data (Non structured data)
   I do not like the data
   Biased data
   Wrong data
   Not accurate
   Imprecise - Interpreted in many meaning



                                               7
For the above reasons and others we have to make so many
considerations and good knowledge of how to deal with data.

The notion of dealing with data is called database; It includes:
   DB design
   DB Modeling
   DB Redesign
   Components of DB
   Relational concept of DB
   Normalization of DB
   Single access to DB
   Multi-user access DB
   Application on Db (VB, JAVA, XML, ASP, ..)



                                                                   8
The new trend of DB in the age of internet

Internet changed DB strategy from just publishing facts
to interaction between DBs and users in dynamic way
This new trajectory of DB makes people with this field
one of the most wanted worker in business




                                                          9
WHY solid and good DB ?
let us study the following DB:

                                Rent Company List
Contractor Equipment Phone   $ rate/day   Start date   End date   $charge and so on
H & C Comp A          222      11         11/11/04     12/12/04            444$ ….
JDS          N        666      33         11/02/04     1/9/04              333$
OZ opics     H        777      55         11/02/04     1/9/04              333$
H & C Comp B          222      11         11/11/04     12/12/04            444$ ….
H & C Comp C          222      11         11/11/04     12/12/04            444$ ….
H & C Comp D          222      11         11/11/04     12/12/04            444$ ….
Mitel        F        555      12         11/02/04     1/9/04              333$
H & C Comp A          222      11         11/11/04     12/12/04            444$ ….
…..
……

Q4: Find out the problems from the above DB – table?

The problems justify the need for good DB strategies and solid design
procedures

                                                                                      10
Problem-1:
                              Rent Company List

Contractor Equipment Phone   $ rate/day     Start date End date   $charge and so on
H & C Comp A         222     11           11/11/04 12/12/04             444$ ….
JDS         N         666    33           11/02/04 1/9/04               333$
OZ opics    H         777    55           11/02/04 1/9/04               333$
H & C Comp B          222    11           11/11/04 12/12/04             444$ ….
H & C Comp C          222    11           11/11/04 12/12/04             444$ ….
H & C Comp D          222    11           11/11/04 12/12/04             444$ ….
Mitel       F        555     12           11/02/04 1/9/04               333$
H & C Comp A         222     11           11/11/04 12/12/04             444$ ….
…..
If there is change in phone number field for the H & C company, we have to
search all fields and change them one by one.

If the list contains 10 000 rows then 10 000 rows must be searched.
LENGTHY AND TEDIOUS PROCEDURE as well as possibility of making
error

If you forgot to update one or more rows of H&C company THEN you will be
stack in the problem of DATA INCONSISTENCY,

GOOD DB DESIGN must eliminate the occurrence of INCONSISTENCY in
the Data
                                                                                      11
Problem-2:
                              Rent Company List

Contractor Equipment Phone   $ rate/day     Start date End date   $charge and so on
H & C Comp A         222     11           11/11/04 12/12/04             444$ ….
JDS         N         666    33           11/02/04 1/9/04               333$
OZ opics    H         777    55           11/02/04 1/9/04               333$
H & C Comp B          222    11           11/11/04 12/12/04             444$ ….
H & C Comp C          222    11           11/11/04 12/12/04             444$ ….
H & C Comp D          222    11           11/11/04 12/12/04             444$ ….
Mitel       F        555     12           11/02/04 1/9/04               333$
H & C Comp A         222     11           11/11/04 12/12/04             444$ ….
…..
……

If the company H&C is permanent client of the Rental company, i.e. in one
year they have at least 1000 events or more THEN you have to repeat the
common fields (such as Address, Tel No) 1000 times; again LENGTHY
PROCEDUE AND MORE SPACE NEEDED




                                                                                      12
Problem 3 - 5


   If the rental company uses PC for its data, then they

      stack with problem of memory capacity.

     Good DB designer must handle this problem by
       eliminating the redundancy
      Redundancy elimination in the DB will save time in
       the search & transaction processes.



                                                            13
Problem 6:
                                Rent Company List
Contractor Equipment Phone   $ rate/day   Start date   End date   $charge and so on
H & C Comp A          222      11         11/11/04     12/12/04            444$ ….
JDS          N         666     33         11/02/04     1/9/04              333$
OZ opics     H         777     55         11/02/04     1/9/04              333$
H & C Comp B           222     11         11/11/04     12/12/04            444$ ….
H & C Comp C           222     11         11/11/04     12/12/04            444$ ….
H & C Comp D           222     11         11/11/04     12/12/04            444$ ….
Mitel        F        555      12         11/02/04     1/9/04              333$
H & C Comp A          222      11         11/11/04     12/12/04            444$ ….
…..
……
If the client Mitel changed their mind and cancel the rental order
THEN the DB designer deletes the row of Mitel client this will cause lost of
data which might be needed for future events.
Good DB designer must think of such problems.




                                                                                      14
Problems could be more if you are using shared DB:

Just imagine if the data is shared by many users in the company ,
i.e. on different PCs
Then any change in the phone number by one user cause to
inconsistency, because other users still have the same old not
updated number
OR the DB administrator has to walk around the PC’s and update
the phone number NOT PRACTICAL – TIME CONSUNING




                                                                    15
Other problems
    Accounting want to keep track of the status of invoices
    Sales want to keep track of contract approval
    Customer support want to know which , where when problems
      occurred to deliver an order in time (a sort of SCM)
 job privacy (i.e. no other department see what they are doing)
Power failure cause to damage or lost of DB
Good pack up system

HENCE the need of security and privacy and DB Integrity.




                                                               16
The Characteristics of Databases
• The purpose of a database is to help people
  track things of interest to them
• Data is stored in tables, which have rows and
  columns like a spreadsheet. A database may
  have multiple tables, where each table stores
  data about a different thing
• Each row in a table stores data about an
  occurrence or instance of the thing of interest
• A database stores data and relationships


                                                    17
Data in Tables




                 18
The Key Characteristic of
Databases: Related Tables




                             19
Naming Conventions in this Textbook

• Table Names are written with all capital
  letters:
  – STUDENT, CLASS, GRADE
• Column names are written with an initial
  capital letter, and compound names are
  written with a capital letter on each word:
  – Term, Section, ClassNumber, StudentName


                                                20
Databases Create Information
• Data = Recorded facts and figures
• Information = Knowledge derived from
  data
• Databases record data, but they do so in
  such a way that we can produce
  information from the data
  – The data on STUDENTs, CLASSes and
    GRADEs could produce information about
    each student’s GPA

                                             21
Database Examples
• Types of DB
• Personal database
  – 1 user; < 10 MB
• Workgroup database
  – < 25 users; < 100 MB
• Organizational database
  – Hundreds to thousands users
  – >1 Trillion bytes, possibly several databases
                                                    22
Components of a Database
System: Microsoft Access




                           23
Microsoft Access
• Microsoft Access is a low-end product intended
  for individual users and small workgroups
• MS Access tries to hide much of the underlying
  database technology from the user
• A good strategy for beginners, but not for
  database professionals
• NOTE: MS Access is discussed in detail in
  Appendix A


                                              24
MS Access in Detail




                      25
Applications, the DBMS and SQL
• Applications are the computer programs that
  users work with
• The Database Management System (DBMS)
  creates, processes and administers databases
• Structured Query Language (SQL) is an
  internationally recognized standard database
  language that is used by all commercial DBMSs



                                              26
Enterprise-Class Database
         Systems




                            27
Prominent DBMS Products
• Microsoft Access
• Microsoft SQL Server
  – New: Microsoft SQL Server Express
• IBM DB2
• Oracle Corporation ORACLE
• And don’t overlook MySQL


                                        28
DBMS Power vs. Ease of Use




                             29
Metadata Tables




                  30
Database Contents




                    31
Three Types of Database Design




                                 32
Database Design from Existing Data




                                     33
Database Design from New
          Systems Development




Entity-Relationship data modeling is covered in Chapter Five, and data model
transformations to database designs are covered in Chapter Six

                                                                           34
Database Design from Database
                Redesign
Database redesign is
covered in Chapter
Eight, after coverage of
SQL in Chapter Seven




                                      35

Mais conteúdo relacionado

Semelhante a Test

JD Edwards Archiving and Upgrades - a Case Study from DBG
JD Edwards Archiving and Upgrades - a Case Study from DBGJD Edwards Archiving and Upgrades - a Case Study from DBG
JD Edwards Archiving and Upgrades - a Case Study from DBGNERUG
 
Planning and executing a DB2 11 for z/OS Migration by Ian Cook
Planning and executing a DB2 11 for z/OS  Migration  by Ian Cook Planning and executing a DB2 11 for z/OS  Migration  by Ian Cook
Planning and executing a DB2 11 for z/OS Migration by Ian Cook Surekha Parekh
 
Business Case: IBM DB2 versus Oracle Database - Conor O'Mahony
Business Case: IBM DB2 versus Oracle Database - Conor O'MahonyBusiness Case: IBM DB2 versus Oracle Database - Conor O'Mahony
Business Case: IBM DB2 versus Oracle Database - Conor O'Mahonycomahony
 
5202 - Oracle Data Architect
5202 - Oracle Data Architect5202 - Oracle Data Architect
5202 - Oracle Data ArchitectJAlgate
 
Article - Agile-CALS-Automotive
Article - Agile-CALS-AutomotiveArticle - Agile-CALS-Automotive
Article - Agile-CALS-AutomotiveEric Ross
 
Hitting the Reset Button for R12 - The Upgrade vs Reimplement Decision
Hitting the Reset Button for R12 - The Upgrade vs Reimplement DecisionHitting the Reset Button for R12 - The Upgrade vs Reimplement Decision
Hitting the Reset Button for R12 - The Upgrade vs Reimplement Decisioneprentise
 
Organized home questions.docxOrganized home questions(1) W.docx
Organized home questions.docxOrganized home questions(1) W.docxOrganized home questions.docxOrganized home questions(1) W.docx
Organized home questions.docxOrganized home questions(1) W.docxalfred4lewis58146
 
Big Data World Forum
Big Data World ForumBig Data World Forum
Big Data World Forumbigdatawf
 
RAH File Tesca Works Deliverables To BUS 635 Orange .docx
RAH File  Tesca Works Deliverables To  BUS 635 Orange .docxRAH File  Tesca Works Deliverables To  BUS 635 Orange .docx
RAH File Tesca Works Deliverables To BUS 635 Orange .docxcatheryncouper
 
Syncsort and Db2 – How to Get More from Your Db2 Systems
Syncsort and Db2 – How to Get More from Your Db2 SystemsSyncsort and Db2 – How to Get More from Your Db2 Systems
Syncsort and Db2 – How to Get More from Your Db2 SystemsPrecisely
 
11i to r12 Decision - Upgrade or Reimplement
11i to r12 Decision - Upgrade or Reimplement11i to r12 Decision - Upgrade or Reimplement
11i to r12 Decision - Upgrade or Reimplementeprentise
 
Dennis Wisnowsky Presentation
Dennis Wisnowsky PresentationDennis Wisnowsky Presentation
Dennis Wisnowsky PresentationMediabistro
 
Trends in the Database
Trends in the DatabaseTrends in the Database
Trends in the DatabaseMarlon Jamera
 
Database Benchmarking: Miseries, Myths and Misconceptions
Database Benchmarking: Miseries, Myths and MisconceptionsDatabase Benchmarking: Miseries, Myths and Misconceptions
Database Benchmarking: Miseries, Myths and MisconceptionsIDERA Software
 
Introduction to Bigdata and HADOOP
Introduction to Bigdata and HADOOP Introduction to Bigdata and HADOOP
Introduction to Bigdata and HADOOP vinoth kumar
 
DBT ELT approach for Advanced Analytics.pptx
DBT ELT approach for Advanced Analytics.pptxDBT ELT approach for Advanced Analytics.pptx
DBT ELT approach for Advanced Analytics.pptxHong Ong
 
MongoDB Days UK: Tales from the Field
MongoDB Days UK: Tales from the FieldMongoDB Days UK: Tales from the Field
MongoDB Days UK: Tales from the FieldMongoDB
 

Semelhante a Test (20)

JD Edwards Archiving and Upgrades - a Case Study from DBG
JD Edwards Archiving and Upgrades - a Case Study from DBGJD Edwards Archiving and Upgrades - a Case Study from DBG
JD Edwards Archiving and Upgrades - a Case Study from DBG
 
Planning and executing a DB2 11 for z/OS Migration by Ian Cook
Planning and executing a DB2 11 for z/OS  Migration  by Ian Cook Planning and executing a DB2 11 for z/OS  Migration  by Ian Cook
Planning and executing a DB2 11 for z/OS Migration by Ian Cook
 
Business Case: IBM DB2 versus Oracle Database - Conor O'Mahony
Business Case: IBM DB2 versus Oracle Database - Conor O'MahonyBusiness Case: IBM DB2 versus Oracle Database - Conor O'Mahony
Business Case: IBM DB2 versus Oracle Database - Conor O'Mahony
 
5202 - Oracle Data Architect
5202 - Oracle Data Architect5202 - Oracle Data Architect
5202 - Oracle Data Architect
 
Article - Agile-CALS-Automotive
Article - Agile-CALS-AutomotiveArticle - Agile-CALS-Automotive
Article - Agile-CALS-Automotive
 
Hitting the Reset Button for R12 - The Upgrade vs Reimplement Decision
Hitting the Reset Button for R12 - The Upgrade vs Reimplement DecisionHitting the Reset Button for R12 - The Upgrade vs Reimplement Decision
Hitting the Reset Button for R12 - The Upgrade vs Reimplement Decision
 
Organized home questions.docxOrganized home questions(1) W.docx
Organized home questions.docxOrganized home questions(1) W.docxOrganized home questions.docxOrganized home questions(1) W.docx
Organized home questions.docxOrganized home questions(1) W.docx
 
Big Data World Forum
Big Data World ForumBig Data World Forum
Big Data World Forum
 
RAH File Tesca Works Deliverables To BUS 635 Orange .docx
RAH File  Tesca Works Deliverables To  BUS 635 Orange .docxRAH File  Tesca Works Deliverables To  BUS 635 Orange .docx
RAH File Tesca Works Deliverables To BUS 635 Orange .docx
 
Dell 2
Dell 2Dell 2
Dell 2
 
Syncsort and Db2 – How to Get More from Your Db2 Systems
Syncsort and Db2 – How to Get More from Your Db2 SystemsSyncsort and Db2 – How to Get More from Your Db2 Systems
Syncsort and Db2 – How to Get More from Your Db2 Systems
 
11i to r12 Decision - Upgrade or Reimplement
11i to r12 Decision - Upgrade or Reimplement11i to r12 Decision - Upgrade or Reimplement
11i to r12 Decision - Upgrade or Reimplement
 
Dennis Wisnowsky Presentation
Dennis Wisnowsky PresentationDennis Wisnowsky Presentation
Dennis Wisnowsky Presentation
 
Budget New Prespective
Budget New PrespectiveBudget New Prespective
Budget New Prespective
 
Trends in the Database
Trends in the DatabaseTrends in the Database
Trends in the Database
 
Database Benchmarking: Miseries, Myths and Misconceptions
Database Benchmarking: Miseries, Myths and MisconceptionsDatabase Benchmarking: Miseries, Myths and Misconceptions
Database Benchmarking: Miseries, Myths and Misconceptions
 
Introduction to Bigdata and HADOOP
Introduction to Bigdata and HADOOP Introduction to Bigdata and HADOOP
Introduction to Bigdata and HADOOP
 
DBT ELT approach for Advanced Analytics.pptx
DBT ELT approach for Advanced Analytics.pptxDBT ELT approach for Advanced Analytics.pptx
DBT ELT approach for Advanced Analytics.pptx
 
How to Save Your Law Firm Time with Automated Court Forms
How to Save Your Law Firm Time with Automated Court FormsHow to Save Your Law Firm Time with Automated Court Forms
How to Save Your Law Firm Time with Automated Court Forms
 
MongoDB Days UK: Tales from the Field
MongoDB Days UK: Tales from the FieldMongoDB Days UK: Tales from the Field
MongoDB Days UK: Tales from the Field
 

Último

Introducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsIntroducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsKnowledgeSeed
 
business environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxbusiness environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxShruti Mittal
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfJamesConcepcion7
 
Welding Electrode Making Machine By Deccan Dynamics
Welding Electrode Making Machine By Deccan DynamicsWelding Electrode Making Machine By Deccan Dynamics
Welding Electrode Making Machine By Deccan DynamicsIndiaMART InterMESH Limited
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfDanny Diep To
 
Healthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterHealthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterJamesConcepcion7
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesDoe Paoro
 
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...Aggregage
 
Planetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in LifePlanetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in LifeBhavana Pujan Kendra
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdfShaun Heinrichs
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...Operational Excellence Consulting
 
14680-51-4.pdf Good quality CAS Good quality CAS
14680-51-4.pdf  Good  quality CAS Good  quality CAS14680-51-4.pdf  Good  quality CAS Good  quality CAS
14680-51-4.pdf Good quality CAS Good quality CAScathy664059
 
Pitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckPitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckHajeJanKamps
 
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOne Monitar
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxappkodes
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Anamaria Contreras
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...ssuserf63bd7
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerAggregage
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfJamesConcepcion7
 

Último (20)

Introducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsIntroducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applications
 
business environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxbusiness environment micro environment macro environment.pptx
business environment micro environment macro environment.pptx
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdf
 
Welding Electrode Making Machine By Deccan Dynamics
Welding Electrode Making Machine By Deccan DynamicsWelding Electrode Making Machine By Deccan Dynamics
Welding Electrode Making Machine By Deccan Dynamics
 
The Bizz Quiz-E-Summit-E-Cell-IITPatna.pptx
The Bizz Quiz-E-Summit-E-Cell-IITPatna.pptxThe Bizz Quiz-E-Summit-E-Cell-IITPatna.pptx
The Bizz Quiz-E-Summit-E-Cell-IITPatna.pptx
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
 
Healthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterHealthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare Newsletter
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic Experiences
 
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...
 
Planetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in LifePlanetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in Life
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
 
14680-51-4.pdf Good quality CAS Good quality CAS
14680-51-4.pdf  Good  quality CAS Good  quality CAS14680-51-4.pdf  Good  quality CAS Good  quality CAS
14680-51-4.pdf Good quality CAS Good quality CAS
 
Pitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckPitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deck
 
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptx
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon Harmer
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdf
 

Test

  • 1. Database Processing: Fundamentals, Design, and Implementation Chapter One: Introduction 1
  • 2. Chapter 1 • Q1: Why Data Base? 2
  • 3. A1: To make decision according to created collection of facts 3
  • 4. Q2: You are working in Production, how to decide whether or not to stop the product of 20 items in your company. 4
  • 5. A2: Collect Data  Convert data to Information  make Decision 5
  • 6. Q3: Collect data  So what ? What to consider in collecting data? 6
  • 7. A3: We have to consider the following problems : not interpreted data Mass of data (Non structured data) I do not like the data Biased data Wrong data Not accurate Imprecise - Interpreted in many meaning 7
  • 8. For the above reasons and others we have to make so many considerations and good knowledge of how to deal with data. The notion of dealing with data is called database; It includes: DB design DB Modeling DB Redesign Components of DB Relational concept of DB Normalization of DB Single access to DB Multi-user access DB Application on Db (VB, JAVA, XML, ASP, ..) 8
  • 9. The new trend of DB in the age of internet Internet changed DB strategy from just publishing facts to interaction between DBs and users in dynamic way This new trajectory of DB makes people with this field one of the most wanted worker in business 9
  • 10. WHY solid and good DB ? let us study the following DB: Rent Company List Contractor Equipment Phone $ rate/day Start date End date $charge and so on H & C Comp A 222 11 11/11/04 12/12/04 444$ …. JDS N 666 33 11/02/04 1/9/04 333$ OZ opics H 777 55 11/02/04 1/9/04 333$ H & C Comp B 222 11 11/11/04 12/12/04 444$ …. H & C Comp C 222 11 11/11/04 12/12/04 444$ …. H & C Comp D 222 11 11/11/04 12/12/04 444$ …. Mitel F 555 12 11/02/04 1/9/04 333$ H & C Comp A 222 11 11/11/04 12/12/04 444$ …. ….. …… Q4: Find out the problems from the above DB – table? The problems justify the need for good DB strategies and solid design procedures 10
  • 11. Problem-1: Rent Company List Contractor Equipment Phone $ rate/day Start date End date $charge and so on H & C Comp A 222 11 11/11/04 12/12/04 444$ …. JDS N 666 33 11/02/04 1/9/04 333$ OZ opics H 777 55 11/02/04 1/9/04 333$ H & C Comp B 222 11 11/11/04 12/12/04 444$ …. H & C Comp C 222 11 11/11/04 12/12/04 444$ …. H & C Comp D 222 11 11/11/04 12/12/04 444$ …. Mitel F 555 12 11/02/04 1/9/04 333$ H & C Comp A 222 11 11/11/04 12/12/04 444$ …. ….. If there is change in phone number field for the H & C company, we have to search all fields and change them one by one. If the list contains 10 000 rows then 10 000 rows must be searched. LENGTHY AND TEDIOUS PROCEDURE as well as possibility of making error If you forgot to update one or more rows of H&C company THEN you will be stack in the problem of DATA INCONSISTENCY, GOOD DB DESIGN must eliminate the occurrence of INCONSISTENCY in the Data 11
  • 12. Problem-2: Rent Company List Contractor Equipment Phone $ rate/day Start date End date $charge and so on H & C Comp A 222 11 11/11/04 12/12/04 444$ …. JDS N 666 33 11/02/04 1/9/04 333$ OZ opics H 777 55 11/02/04 1/9/04 333$ H & C Comp B 222 11 11/11/04 12/12/04 444$ …. H & C Comp C 222 11 11/11/04 12/12/04 444$ …. H & C Comp D 222 11 11/11/04 12/12/04 444$ …. Mitel F 555 12 11/02/04 1/9/04 333$ H & C Comp A 222 11 11/11/04 12/12/04 444$ …. ….. …… If the company H&C is permanent client of the Rental company, i.e. in one year they have at least 1000 events or more THEN you have to repeat the common fields (such as Address, Tel No) 1000 times; again LENGTHY PROCEDUE AND MORE SPACE NEEDED 12
  • 13. Problem 3 - 5  If the rental company uses PC for its data, then they  stack with problem of memory capacity. Good DB designer must handle this problem by eliminating the redundancy  Redundancy elimination in the DB will save time in the search & transaction processes. 13
  • 14. Problem 6: Rent Company List Contractor Equipment Phone $ rate/day Start date End date $charge and so on H & C Comp A 222 11 11/11/04 12/12/04 444$ …. JDS N 666 33 11/02/04 1/9/04 333$ OZ opics H 777 55 11/02/04 1/9/04 333$ H & C Comp B 222 11 11/11/04 12/12/04 444$ …. H & C Comp C 222 11 11/11/04 12/12/04 444$ …. H & C Comp D 222 11 11/11/04 12/12/04 444$ …. Mitel F 555 12 11/02/04 1/9/04 333$ H & C Comp A 222 11 11/11/04 12/12/04 444$ …. ….. …… If the client Mitel changed their mind and cancel the rental order THEN the DB designer deletes the row of Mitel client this will cause lost of data which might be needed for future events. Good DB designer must think of such problems. 14
  • 15. Problems could be more if you are using shared DB: Just imagine if the data is shared by many users in the company , i.e. on different PCs Then any change in the phone number by one user cause to inconsistency, because other users still have the same old not updated number OR the DB administrator has to walk around the PC’s and update the phone number NOT PRACTICAL – TIME CONSUNING 15
  • 16. Other problems Accounting want to keep track of the status of invoices Sales want to keep track of contract approval Customer support want to know which , where when problems occurred to deliver an order in time (a sort of SCM)  job privacy (i.e. no other department see what they are doing) Power failure cause to damage or lost of DB Good pack up system HENCE the need of security and privacy and DB Integrity. 16
  • 17. The Characteristics of Databases • The purpose of a database is to help people track things of interest to them • Data is stored in tables, which have rows and columns like a spreadsheet. A database may have multiple tables, where each table stores data about a different thing • Each row in a table stores data about an occurrence or instance of the thing of interest • A database stores data and relationships 17
  • 19. The Key Characteristic of Databases: Related Tables 19
  • 20. Naming Conventions in this Textbook • Table Names are written with all capital letters: – STUDENT, CLASS, GRADE • Column names are written with an initial capital letter, and compound names are written with a capital letter on each word: – Term, Section, ClassNumber, StudentName 20
  • 21. Databases Create Information • Data = Recorded facts and figures • Information = Knowledge derived from data • Databases record data, but they do so in such a way that we can produce information from the data – The data on STUDENTs, CLASSes and GRADEs could produce information about each student’s GPA 21
  • 22. Database Examples • Types of DB • Personal database – 1 user; < 10 MB • Workgroup database – < 25 users; < 100 MB • Organizational database – Hundreds to thousands users – >1 Trillion bytes, possibly several databases 22
  • 23. Components of a Database System: Microsoft Access 23
  • 24. Microsoft Access • Microsoft Access is a low-end product intended for individual users and small workgroups • MS Access tries to hide much of the underlying database technology from the user • A good strategy for beginners, but not for database professionals • NOTE: MS Access is discussed in detail in Appendix A 24
  • 25. MS Access in Detail 25
  • 26. Applications, the DBMS and SQL • Applications are the computer programs that users work with • The Database Management System (DBMS) creates, processes and administers databases • Structured Query Language (SQL) is an internationally recognized standard database language that is used by all commercial DBMSs 26
  • 28. Prominent DBMS Products • Microsoft Access • Microsoft SQL Server – New: Microsoft SQL Server Express • IBM DB2 • Oracle Corporation ORACLE • And don’t overlook MySQL 28
  • 29. DBMS Power vs. Ease of Use 29
  • 32. Three Types of Database Design 32
  • 33. Database Design from Existing Data 33
  • 34. Database Design from New Systems Development Entity-Relationship data modeling is covered in Chapter Five, and data model transformations to database designs are covered in Chapter Six 34
  • 35. Database Design from Database Redesign Database redesign is covered in Chapter Eight, after coverage of SQL in Chapter Seven 35