Concepts of Database Management Sixth Edition Chapter 1 Introduction to Database Management
Objectives <ul><li>Introduce Premiere Products, the company that is used as the basis for many of the examples throughout ...
Objectives (continued) <ul><li>Introduce Henry Books, the company that is used in a case that appears throughout the text ...
Premiere Products Background <ul><li>Premiere Products </li></ul><ul><ul><li>Distributor of appliances, houseware, and spo...
Premiere Products Background (continued) Concepts of Database Management FIGURE 1-1: Sample orders spreadsheet
Premiere Products Background (continued) <ul><li>Problems using spreadsheet </li></ul><ul><ul><li>Redundancy </li></ul></u...
Premiere Products Background (continued) <ul><li>Information Premiere Products needs to maintain </li></ul><ul><ul><li>Sal...
Premiere Products Background (continued) Concepts of Database Management FIGURE 1-2: Sample order
Premiere Products Background (continued) <ul><li>Items for each customer’s order </li></ul><ul><ul><li>Order </li></ul></u...
Database Background <ul><li>Database  </li></ul><ul><ul><li>Structure that can store information about:  </li></ul></ul><u...
Database Background (continued) <ul><li>Attribute </li></ul><ul><ul><li>Characteristic or property of an entity </li></ul>...
Database Background (continued) Concepts of Database Management FIGURE 1-3: Entities and attributes
Database Background (continued) Concepts of Database Management FIGURE 1-4: One-to-many relationship
Database Background (continued) <ul><li>Data file </li></ul><ul><ul><li>File used to store data </li></ul></ul><ul><ul><li...
Database Background (continued) Concepts of Database Management FIGURE 1-5: Sample data for Premiere Products
Database Background (continued) Concepts of Database Management FIGURE 1-5: Sample data for Premiere Products (continued)
Database Background (continued) Concepts of Database Management FIGURE 1-5: Sample data for Premiere Products (continued)
Database Background (continued) Concepts of Database Management FIGURE 1-6: Alternative Orders table structure
Database Background (continued) <ul><li>Entity-relationship (E-R) diagram </li></ul><ul><ul><li>Visual way to represent a ...
Database Background (continued) Concepts of Database Management FIGURE 1-7: E-R diagram for the Premiere Products database
Database Management Systems <ul><li>Database management system (DBMS) </li></ul><ul><ul><li>Program, or collection of prog...
Database Management Systems (continued) Concepts of Database Management FIGURE 1-8: Using a DBMS directly FIGURE 1-9: Usin...
Database Management Systems (continued) <ul><li>Forms </li></ul><ul><ul><li>Screen objects used to maintain, view, and pri...
Database Management Systems (continued) Concepts of Database Management FIGURE 1-10: Part form
Database Management Systems (continued) Concepts of Database Management FIGURE 1-11: Orders form
Database Management Systems (continued) Concepts of Database Management FIGURE 1-12: Parts report
Advantages of Database Processing <ul><li>Getting more information from the same amount of data </li></ul><ul><li>Sharing ...
Advantages of Database Processing (continued) <ul><li>Improving integrity </li></ul><ul><ul><li>Integrity constraint:  a r...
Disadvantages of Database Processing <ul><li>Larger file size </li></ul><ul><li>Increased complexity </li></ul><ul><li>Gre...
Introduction to Henry Books Database Case <ul><li>Henry Books </li></ul><ul><ul><li>Book store chain operated by Ray Henry...
Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-15: Sample branch and publi...
Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-15: Sample branch and publi...
Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-16: Sample author data for ...
Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-17: Sample book data for He...
Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-18: Sample data that relate...
Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-18: Sample data that relate...
Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-19: E-R diagram for the Hen...
Introduction to the Alexamara Marina Group Database Case <ul><li>Alexamara Marina Group offers in-water boat storage to ow...
Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-20: Sample m...
Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-21: Sample o...
Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-22: Sample d...
Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-23: Sample d...
Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-24: Sample d...
Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-24: Sample d...
Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-25: E-R diag...
Summary <ul><li>Problems with nondatabase approaches to data management: redundancy, difficulties accessing related data, ...
Summary (continued) <ul><li>One-to-many relationship: each occurrence of first entity is related to many occurrences of th...
Summary (continued) <ul><li>Database management system (DBMS): program through which users interact with a database; lets ...
Summary (continued) <ul><li>Disadvantages of database processing: larger file size, increased complexity, greater impact o...
Upcoming SlideShare
Loading in...5
×

Concepts of Database Management Sixth Edition

2,481

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,481
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
48
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Concepts of Database Management Sixth Edition

  1. 1. Concepts of Database Management Sixth Edition Chapter 1 Introduction to Database Management
  2. 2. Objectives <ul><li>Introduce Premiere Products, the company that is used as the basis for many of the examples throughout the text </li></ul><ul><li>Introduce basic database terminology </li></ul><ul><li>Describe database management systems (DBMSs) </li></ul><ul><li>Explain the advantages and disadvantages of database processing </li></ul>Concepts of Database Management
  3. 3. Objectives (continued) <ul><li>Introduce Henry Books, the company that is used in a case that appears throughout the text </li></ul><ul><li>Introduce Alexamara Marina Group, the company that is used in another case that appears throughout the text </li></ul>Concepts of Database Management
  4. 4. Premiere Products Background <ul><li>Premiere Products </li></ul><ul><ul><li>Distributor of appliances, houseware, and sporting goods </li></ul></ul><ul><ul><li>Uses spreadsheet software to maintain important data </li></ul></ul><ul><ul><li>Recent growth has made spreadsheet approach problematic </li></ul></ul>Concepts of Database Management
  5. 5. Premiere Products Background (continued) Concepts of Database Management FIGURE 1-1: Sample orders spreadsheet
  6. 6. Premiere Products Background (continued) <ul><li>Problems using spreadsheet </li></ul><ul><ul><li>Redundancy </li></ul></ul><ul><ul><ul><li>Duplication of data or the storing of the same data in more than one place </li></ul></ul></ul><ul><ul><li>Difficulty accessing related data </li></ul></ul><ul><ul><li>Limited security </li></ul></ul><ul><ul><li>Size limitations </li></ul></ul>Concepts of Database Management
  7. 7. Premiere Products Background (continued) <ul><li>Information Premiere Products needs to maintain </li></ul><ul><ul><li>Sales Reps </li></ul></ul><ul><ul><ul><li>Sales rep number, last name, first name, address, total commission, commission rate </li></ul></ul></ul><ul><ul><li>Customers </li></ul></ul><ul><ul><ul><li>Customer number, name, address, current balance, credit limit, number of customer’s sales rep </li></ul></ul></ul><ul><ul><li>Parts Inventory </li></ul></ul><ul><ul><ul><li>Part number, description, number units on hand, item class, warehouse number, unit price </li></ul></ul></ul>Concepts of Database Management
  8. 8. Premiere Products Background (continued) Concepts of Database Management FIGURE 1-2: Sample order
  9. 9. Premiere Products Background (continued) <ul><li>Items for each customer’s order </li></ul><ul><ul><li>Order </li></ul></ul><ul><ul><ul><li>Order number, order date, customer number </li></ul></ul></ul><ul><ul><li>Order line </li></ul></ul><ul><ul><ul><li>Order number, part number, number units ordered, quoted price </li></ul></ul></ul><ul><ul><li>Overall order total </li></ul></ul><ul><ul><ul><li>Not stored since it can be calculated </li></ul></ul></ul>Concepts of Database Management
  10. 10. Database Background <ul><li>Database </li></ul><ul><ul><li>Structure that can store information about: </li></ul></ul><ul><ul><ul><li>Different categories of information </li></ul></ul></ul><ul><ul><ul><li>Relationships between those categories of information </li></ul></ul></ul><ul><li>Entity </li></ul><ul><ul><li>Person, place, object, event, or idea </li></ul></ul><ul><ul><li>Entities for Premiere Products: sales reps, customers, orders, and parts </li></ul></ul>Concepts of Database Management
  11. 11. Database Background (continued) <ul><li>Attribute </li></ul><ul><ul><li>Characteristic or property of an entity </li></ul></ul><ul><ul><li>Example: Customer has name, street, city, etc. </li></ul></ul><ul><ul><li>May also be called a field or column </li></ul></ul><ul><li>Relationship </li></ul><ul><ul><li>Association between entities </li></ul></ul><ul><ul><li>One-to-many relationship </li></ul></ul><ul><ul><ul><li>Each rep is associated with many customers </li></ul></ul></ul><ul><ul><ul><li>Each customer is associated with a single rep </li></ul></ul></ul>Concepts of Database Management
  12. 12. Database Background (continued) Concepts of Database Management FIGURE 1-3: Entities and attributes
  13. 13. Database Background (continued) Concepts of Database Management FIGURE 1-4: One-to-many relationship
  14. 14. Database Background (continued) <ul><li>Data file </li></ul><ul><ul><li>File used to store data </li></ul></ul><ul><ul><li>Computer counterpart to ordinary paper file </li></ul></ul><ul><li>Database </li></ul><ul><ul><li>Structure that can store information about: </li></ul></ul><ul><ul><ul><li>Multiple types of entities </li></ul></ul></ul><ul><ul><ul><li>Attributes of those entities </li></ul></ul></ul><ul><ul><ul><li>Relationships between the entities </li></ul></ul></ul>Concepts of Database Management
  15. 15. Database Background (continued) Concepts of Database Management FIGURE 1-5: Sample data for Premiere Products
  16. 16. Database Background (continued) Concepts of Database Management FIGURE 1-5: Sample data for Premiere Products (continued)
  17. 17. Database Background (continued) Concepts of Database Management FIGURE 1-5: Sample data for Premiere Products (continued)
  18. 18. Database Background (continued) Concepts of Database Management FIGURE 1-6: Alternative Orders table structure
  19. 19. Database Background (continued) <ul><li>Entity-relationship (E-R) diagram </li></ul><ul><ul><li>Visual way to represent a database </li></ul></ul><ul><ul><li>Rectangles represent entities </li></ul></ul><ul><ul><li>Lines represent relationships between connected entities </li></ul></ul>Concepts of Database Management
  20. 20. Database Background (continued) Concepts of Database Management FIGURE 1-7: E-R diagram for the Premiere Products database
  21. 21. Database Management Systems <ul><li>Database management system (DBMS) </li></ul><ul><ul><li>Program, or collection of programs, through which users interact with a database </li></ul></ul><ul><li>Popular DBMSs: Access, Oracle, DB2, MySQL, and SQL Server </li></ul><ul><li>Premiere Products decides to use Access </li></ul><ul><li>Database design </li></ul><ul><ul><li>Determining the structure of the required database </li></ul></ul>Concepts of Database Management
  22. 22. Database Management Systems (continued) Concepts of Database Management FIGURE 1-8: Using a DBMS directly FIGURE 1-9: Using a DBMS through another program
  23. 23. Database Management Systems (continued) <ul><li>Forms </li></ul><ul><ul><li>Screen objects used to maintain, view, and print data from a database </li></ul></ul><ul><ul><li>DBMS creates forms that Premiere Products needs </li></ul></ul><ul><li>Reports </li></ul><ul><ul><li>DBMS creates reports for Premiere Products based on user’s answers about the desired content and appearance of each report </li></ul></ul>Concepts of Database Management
  24. 24. Database Management Systems (continued) Concepts of Database Management FIGURE 1-10: Part form
  25. 25. Database Management Systems (continued) Concepts of Database Management FIGURE 1-11: Orders form
  26. 26. Database Management Systems (continued) Concepts of Database Management FIGURE 1-12: Parts report
  27. 27. Advantages of Database Processing <ul><li>Getting more information from the same amount of data </li></ul><ul><li>Sharing data </li></ul><ul><li>Balancing conflicting requirements </li></ul><ul><ul><li>Database administrator or database administration (DBA): person or group in charge of the database </li></ul></ul><ul><li>Controlling redundancy </li></ul><ul><li>Facilitating consistency </li></ul>Concepts of Database Management
  28. 28. Advantages of Database Processing (continued) <ul><li>Improving integrity </li></ul><ul><ul><li>Integrity constraint: a rule that data must follow in the database </li></ul></ul><ul><li>Expanding security </li></ul><ul><ul><li>Security: prevention of unauthorized access </li></ul></ul><ul><li>Increasing productivity </li></ul><ul><li>Providing data independence </li></ul><ul><ul><li>Data independence: can change structure of a database without changing the programs that access the database </li></ul></ul>Concepts of Database Management
  29. 29. Disadvantages of Database Processing <ul><li>Larger file size </li></ul><ul><li>Increased complexity </li></ul><ul><li>Greater impact of failure </li></ul><ul><li>More difficult recovery </li></ul>Concepts of Database Management
  30. 30. Introduction to Henry Books Database Case <ul><li>Henry Books </li></ul><ul><ul><li>Book store chain operated by Ray Henry </li></ul></ul><ul><li>Henry decided to use database to gather and store information on: </li></ul><ul><ul><li>Branches </li></ul></ul><ul><ul><li>Publishers </li></ul></ul><ul><ul><li>Authors </li></ul></ul><ul><ul><li>Books </li></ul></ul>Concepts of Database Management
  31. 31. Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-15: Sample branch and publisher data for Henry Books
  32. 32. Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-15: Sample branch and publisher data for Henry Books (continued)
  33. 33. Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-16: Sample author data for Henry Books
  34. 34. Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-17: Sample book data for Henry Books
  35. 35. Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-18: Sample data that relates books to authors and books to branches for Henry Books
  36. 36. Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-18: Sample data that relates books to authors and books to branches for Henry Books (continued)
  37. 37. Introduction to Henry Books Database Case (continued) Concepts of Database Management FIGURE 1-19: E-R diagram for the Henry Books database
  38. 38. Introduction to the Alexamara Marina Group Database Case <ul><li>Alexamara Marina Group offers in-water boat storage to owners </li></ul><ul><ul><li>Provides boat slips that boat owners can rent on an annual basis </li></ul></ul><ul><ul><li>Two marinas: Alexamara East and Alexamara Central </li></ul></ul><ul><ul><li>Provides boat repair and maintenance services </li></ul></ul><ul><li>Database used to store data </li></ul>Concepts of Database Management
  39. 39. Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-20: Sample marina data for Alexamara Marina Group
  40. 40. Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-21: Sample owner data for Alexamara Marina Group
  41. 41. Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-22: Sample data about marina slips for Alexamara Marina Group
  42. 42. Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-23: Sample data about service categories for Alexamara Marina Group
  43. 43. Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-24: Sample data about service requests for Alexamara Marina Group
  44. 44. Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-24: Sample data about service requests for Alexamara Marina Group (continued)
  45. 45. Introduction to the Alexamara Marina Group Database Case (continued) Concepts of Database Management FIGURE 1-25: E-R diagram for the Alexamara Marina Group database
  46. 46. Summary <ul><li>Problems with nondatabase approaches to data management: redundancy, difficulties accessing related data, limited security features, limited data sharing features, and potential size limitations </li></ul><ul><li>Entity: person, place, object, event, or idea for which you want to store and process data </li></ul><ul><li>Attribute, field, or column: characteristic or property of an entity </li></ul><ul><li>Relationship: an association between entities </li></ul>Concepts of Database Management
  47. 47. Summary (continued) <ul><li>One-to-many relationship: each occurrence of first entity is related to many occurrences of the second entity and each occurrence of the second entity is related to only one occurrence of the first entity </li></ul><ul><li>Database: structure that can store information about multiple types of entities, attributes of entities, and relationships among entities </li></ul><ul><li>Premiere Products requires information about reps, customers, parts, orders, and order lines </li></ul><ul><li>Entity-relationship (E-R) diagram: represents a database visually by using various symbols </li></ul>Concepts of Database Management
  48. 48. Summary (continued) <ul><li>Database management system (DBMS): program through which users interact with a database; lets you create forms and reports quickly and easily, and obtain answers to questions about the data </li></ul><ul><li>Advantages of database processing: getting more information from the same amount of data, sharing data, balancing conflicting requirements, controlling redundancy, facilitating consistency, improving integrity, expanding security, increasing productivity, and providing data independence </li></ul>Concepts of Database Management
  49. 49. Summary (continued) <ul><li>Disadvantages of database processing: larger file size, increased complexity, greater impact of failure, and more difficult recovery </li></ul><ul><li>Henry Books needs to store information about: branches, publishers, authors, books, inventory, and author sequence </li></ul><ul><li>Alexamara Marina Group needs to store information about: marinas, owners, marina slips, service categories, and service requests </li></ul>Concepts of Database Management
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×