Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.

Slides:



Advertisements
Similar presentations
Lecture-7/ T. Nouf Almujally
Advertisements

The Database Environment
Introduction to Databases
Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
Chapter 1: The Database Environment
Chapter 3 Database Management
Concepts of Database Management Sixth Edition
File Systems and Databases
Concepts of Database Management Sixth Edition
1 Introduction The Database Environment. 2 Web Links Google General Database Search Database News Access Forums Google Database Books O’Reilly Books Oracle.
Organizing Data & Information
Ch1: File Systems and Databases Hachim Haddouti
1 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 1 Introduction to Database Management.
© 2007 by Prentice Hall 1 Chapter 1: The Database Environment Modern Database Management 8 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden.
A Guide to SQL, Seventh Edition. Objectives Introduce Premiere Products, a company whose database is used as the basis for many of the examples throughout.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
Concepts of Database Management Seventh Edition
BUSINESS DRIVEN TECHNOLOGY
Chapter 1: The Database Environment
Introduction to Databases
Introduction to Database
Database Technology and Church Management MSCM 8630 IT for Church Management Dr. Wagner October 2, 2008.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
Concepts of Database Management Seventh Edition
A Guide to SQL, Eighth Edition 1 Chapter One Introduction to Premiere Products, Henry Books, and Alexamara Marina Group.
Chapter 1 Introduction to Premiere Products and Henry Books
ITOM 2308 Introduction to Databases Review Access Database Corporate Case Study ITOM 2308 Class 81.
Concepts of Database Management Eighth Edition
Chapter 1 Introduction to Databases Pearson Education ©
Web-Enabled Decision Support Systems
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
311: Management Information Systems Database Systems Chapter 3.
© 2007 by Prentice Hall 1 Introduction to databases.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 1: The Database Environment Modern Database Management 9 th Edition Jeffrey A. Hoffer,
Database Technology and Church Management MSCM 8630 IT for Church Management Dr. Wagner October 9, 2008.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Database & Data Warehouse Assignments BCIS 4660 – Dr. Nick Evangelopoulos Spring 2012.
Storing Organizational Information - Databases
- Ahmad Al-Ghoul Data design. 2 learning Objectives Explain data design concepts and data structures Explain data design concepts and data structures.
Concepts of Database Management Sixth Edition Chapter 6 Database Design 2: Design Method.
A Guide to MySQL. 2 Objectives Introduce Premiere Products, a company whose database is used as the basis for many of the examples throughout the text.
Database System Introduction to Database Environment October 31, 2009 Software Park, Bangkok Thailand Pree Thiengburanathum College of Arts and Media Chiang.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 1 Chapter 1: The Database Environment Modern Database Management 8 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden © 2007 by Prentice.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
1 CSE 2337 Introduction to Data Management Textbook: Chapter 1.
THE DATABASE ENVIRONMENT Definitions: Data, Information, Database, MetadataData, Information File Processing Systems The Database Approach Components of.
1 Database Systems Instructor: Nasir Minhas Assistant Professor UIIT PMAS-AAUR
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
Introduction to Databases Dr. Osama AL Rababah. Objectives In this capture you will learn: Some common uses of database systems. The characteristics of.
Database & Data Warehouse Assignments BCIS 4660 – Dr. Nick Evangelopoulos Spring 2012.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
A Guide to SQL, Eighth Edition 1 Chapter One Introduction to Premiere Products, Henry Books, and Alexamara Marina Group.
Managing Data Resources File Organization and databases for business information systems.
A Guide to MySQL.
Chapter 1: The Database Environment
CHAPTER 1: THE DATABASE ENVIRONMENT AND DEVELOPMENT PROCESS
Chapter 1: The Database Environment
Chapter 1: The Database Environment
The Database Environment
Chapter 1: The Database Environment
Database Design Hacettepe University
Chapter 1: The Database Environment
A Guide to SQL, Eighth Edition
Presentation transcript:

Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management

2 Objectives u Why study database management? u Introduce Premiere Products, the company that is used as the basis for many of the examples throughout the text u Introduce basic database terminology u Describe database management systems u Explain the advantages and disadvantages of database processing u Introduce Henry Books, the company that is used in the case that runs throughout the text

3 Why manage data? u Changing view of data u Higher costs of lost data u Encouragement of “team problem- solving” u Flexible reporting u Integrating it into decision-making better

4 Background Info u DBMS software $25B/year industry u Networked DBMS growing fastest u DB research underpins l communication systems l Enterprise applications l multimedia l Internet l scientific applications

5 Data Management Tasks designing the file or database structure entering the data updating data by adding, changing, or deleting sorting the data searching through the data for a record or group of records obtaining screen or printed output Common tasks for flat files and databases are:

6 Approaches to Data Management include: Custom Program Approach File Processing System Approach Database Management System Approach

7 Contrasting Database and File System Designs

8 Problems associated with file processing systems u Application/Program dependence u Data is separate and isolated u Data reduplication u Multiple formats; hard to share data across applications.

9 Database Management Systems Operating System Database Management System Application Programs Operating System Database Management System Application Programs Databases Data Dictionary Database Management

10 Disadvantages of DBMS Approach u Cost u Size u Complexity u Additional Hardware Requirements u Higher Impact of Failure u Recovery more difficult

11 Major Types of Databases Database Server Database Server External Databases End User Workstation Operational Databases Analytical Databases Data Warehouse Databases End User Databases Distributed Databases

12 Database Management Systems u Program(s) through which users interact with database u Popular DBMSs include l Access l Oracle l DB2 l SQL Server u Premiere Products decides to use Access

13 DBMS Classifications u Platform l Stand alone l Network l Mainframe u Organizational Level l `Individual l Workgroup l Enterprise-wide (ex. SAP use of Oracle) u Data Model Supported l Hierarchical l Network l Relational l Object-Oriented

14 Database Models Hierarchical Network Relational Object-oriented details follow

15 Logical Data Elements Personnel Database Employee Record 2 Employee Record 1 Employee Record 3 Employee Record 4 NameSSSalaryNameSSSalaryNameSSSalaryNameSSSalary Data Payroll File Benefits File

16 Database Structures Dept A B C EmpnoDept 1A 2B 3C Relational Structure Network Structure Hierarchical Structure

17 Premiere Products u Distributor of appliances, house wares, and sporting goods u Uses spreadsheet software to maintain important data u Recent growth has made spreadsheet approach problematic

18 Figure 1.1: Sample Orders Spreadsheet

19 Problems Using Spreadsheet u Redundancy l Duplication of data or the storing of the same data in more than one place l Occurs when the same information is stored in more than one place u Difficulty accessing data u Limited security u Size limitations

20 Premiere Products Required Information u Sales Reps l Sales rep number, last name, first name, address, total commission, commission rate u Customers l Customer number, name, address, current balance, credit limit, customer sales rep u Parts Inventory l Part number, description, number units on hand, item class, warehouse number, unit price

21 Figure 1.2: Premiere Products Sample Order

22 Premiere Products Customer Order u Order l Order number, order date, customer number u Order line l Order number, part number, number units ordered, unit price u Overall order total l Not stored since it can be calculated

23 Database Background u Database l Structure that can store information about u Multiple types of entities u Attributes of those entities u Relationships among entities u Entity l Person, place, thing, or event l Premiere Products has sales reps, customers, orders, and parts

24 Database Background (con’t) u Attribute l Property of an entity l Customer has name, street, city, et cetera l May also be called a field or column

25 Figure 1.3: Entities and Attributes

26 Database Background (con’t.) u Relationship l Association between entities l One-to-many relationship - rep is related to many customers l Customer is related to a single rep u Data file l File used to store data l Computer counterpart to ordinary paper file

27 Figure 1.4: One-to-Many Relationship

28 Figure 1.5: Rep and Customer Tables

29 Figure 1.5: Orders and OrderLine Tables (con’t.)

30 Figure 1.5: Part Table (con’t.)

31 Figure 1.6: Alternative Orders Table

32 Entity-relationship Diagram u Visual way to represent a database l Rectangles represent entities l Lines represent relationships between connected entities

33 Figure 1.7: E-R Diagram

34 Figure 1.8 and 1.9: Using DBMSs in Different Ways

35 Building a Database u Database design determines the structure of a database u Design entered into DBMS during construction l Tables – stores data l Forms – screen objects used to maintain, view, and print from a database l Reports – provides formatted output l Switchboards – a set of special forms used to provide controlled access to the data, forms, report and other objects in a database

36 Figures 1.10 and 1.11: Part and Order Forms

37 Figure 1.12: Parts Report

38 Figure 1.13: Main Switchboard

39 Figure 1.14: Main Data Switchboard

40 Figure 1.15: Advantages of Database Processing

41 Figure 1.16: Disadvantages of Database Processing

42 Introduction to Henry Books Database Case u Book store chain operated by Ray Henry u Henry decided to use database to gather and store information on: l Branches l Publishers l Authors l Books

43 Figure 1.17: Sample Branch Data

44 Figure 1.17: Sample Publisher Data (con’t.)

45 Figure 1.18: Sample Author Data

46 Figure 1.19: Sample Book Data

47 Figure 1.20: Wrote Table Relates Authors to Books

48 Figure 1.20: Inventory Table Relates Branches to Books (con’t.)

49 Summary u Nondatabase approaches to management have problems with replication, redundancy, sharing, limited security, and size limitations u Entity - a person, place, object, event, or idea for which you want to store and process data u Attribute, field, or column - a characteristic or property of an entity u Relationship - an association between entities

50 Summary u One-to-many relationship - exists when l Each occurrence of the first entity is related to many occurrences of the second entity l Each occurrence of the second entity is related to only one occurrence of the first entity u Database is a structure that can store information about multiple types of entities u An entity-relationship (E-R) diagram represents a database pictorially u Database management system (DBMS) - a program, or a collection of programs, through which users interact with a database

51 Summary u Advantages to database processing: l Getting more information from the same amount of data l Sharing data l Balancing conflicting requirements l Controlling redundancy l Facilitating consistency l Improving integrity l Expanding security l Increasing productivity l Providing data independence

52 Summary u Disadvantages of database processing: l Larger file size l Increased complexity l Greater impact of failure l More difficult recovery