SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Ähnlich wie 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
 
Webinar: How to Drive Business Value in Financial Services with MongoDB
Webinar: How to Drive Business Value in Financial Services with MongoDBWebinar: How to Drive Business Value in Financial Services with MongoDB
Webinar: How to Drive Business Value in Financial Services with MongoDBMongoDB
 

Ähnlich wie 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
 
Webinar: How to Drive Business Value in Financial Services with MongoDB
Webinar: How to Drive Business Value in Financial Services with MongoDBWebinar: How to Drive Business Value in Financial Services with MongoDB
Webinar: How to Drive Business Value in Financial Services with MongoDB
 

Kürzlich hochgeladen

Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756dollysharma2066
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...lizamodels9
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfAmzadHosen3
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxpriyanshujha201
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Lviv Startup Club
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Serviceritikaroy0888
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 

Kürzlich hochgeladen (20)

Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 

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