Jerry Post Copyright © 2001 1 Database Management Systems Chapter 1 Introduction.

Slides:



Advertisements
Similar presentations
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Advertisements

Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
Chapter 1: The Database Environment
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Introduction to Databases
Database Management: Getting Data Together Chapter 14.
1 Introduction The Database Environment. 2 Web Links Google General Database Search Database News Access Forums Google Database Books O’Reilly Books Oracle.
DATABASE APPLICATION DEVELOPMENT SAK 3408 Introduction (week 1)
Ch1: File Systems and Databases Hachim Haddouti
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Database Management Systems Chapter 1. Introduction What is a database? What is a database management system (DBMS)? Remind me to tell you about this:
Jerry Post McGraw-Hill/Irwin Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved. Database Management Systems Chapter 1.
Chapter 1 INTRODUCTION TO DATABASE.
© 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.
Jerry Post McGraw-Hill/Irwin Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved. Database Management Systems Chapter 1 Introduction.
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
INTRODUCTION TO DATABASES
1 1 File Systems and Databases Chapter 1 The Worlds of Database Systems Prof. Sin-Min Lee Dept. of Computer Science.
Based on G. Post, Database Management Systems University of Manitoba Asper School of Business 3500 DBMS Bob Travica Updated 2015 Chapter 1 Introduction.
Jerry Post Copyright © 2013 DATABASE 1 Database Management Systems Chapter 1 Introduction.
Chapter 1: The Database Environment
Introduction to Databases
1 Copyright © 2010 Jerry Post. All rights reserved. Introduction to DBMS IS240 – DBMS Lecture #2 – M. E. Kabay, PhD, CISSP-ISSMP Assoc. Prof.
Database Management COP4540, SCS, FIU An Introduction to database system.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Introduction to Database
1 Introduction to Databases Lecture One Relational and Object-Oriented Database Concepts Introduction to Database Design and Techniques.
Database Systems: Design, Implementation, and Management Ninth Edition
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
Introduction Chapter 1. Reference Book  Database Systems Thomas Connolly, Carolyn Begg, Anne Strachan Addison-Wesley 1999 ISBN:
ADVANCED DATABASES WITH ORACLE 11g FOR ADDB7311 LEARNING UNIT 1 of 7.
School of Computer & Communication of LNPU 辽宁石油化工大学计算机与通信工程学院 刘旸 1 数据库管理系统 Database Management Systems Chapter 1 Introduction 第一章 简介.
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
Sistem Basis Data (DATABASE) Siauw Yohanes Darmawan
Module Title? DBMS Introduction to Database Management System.
Introduction to Database Systems Motivation Irvanizam Zamanhuri, M.Sc Computer Science Study Program Syiah Kuala University Website:
Functions of a Database Management System
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS (Cont’d) Instructor Ms. Arwa Binsaleh.
Jerry Post Copyright © Database Management Systems Chapter 1 Introduction.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Chapter 1 In-lab Quiz Next week
Architecture for a Database System
Dimu' Rumpak © 2009 by Prentice Hall 1 Getting Started Didimus Rumpak, M.Si. Database Concepts Chapter 1 1.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
HND Agri DBMS Introduction MH Mohamed Nafas 1. Why DBMS? 2  Suppose we need to develop a Information system.  How do we  store the data? (use file.
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.
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 2 OPENING CASE STUDY Chrysler Spins a Competitive Advantage with Supply Chain Management Software Chapter 2 –
Module 1: Database System
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
1 Chapter 1 Introduction to Databases Transparencies.
1 Introduction to MIS Databases Chapter 5 and 6 in your textbook Relational Database Concepts.
Introduction to Databases
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
Chapter 1 Introduction.
An Introduction to database system
Database Management:.
Database Management System
Database Management Systems
Database Management System (DBMS)
Introduction to Database Management System
Dr. Awad Khalil Computer Science Department AUC
Introduction to DBMS IS240 – DBMS Lecture #2 –
Chapter 1: The Database Environment
Database Design Hacettepe University
The Database Environment
Presentation transcript:

Jerry Post Copyright © Database Management Systems Chapter 1 Introduction

DATABASE 2 Goal: Build a Business Application Tools: Database Design SQL (queries) Programming Design SQL Program Design SQL Program Best: Spend your time on design and SQL. Worst: Compensate for poor design and limited SQL with programming.

DATABASE 3 DBMS: Database Management System  Database  A collection of data stored in a standardized format, designed to be shared by multiple users.  Database Management System  Software that defines a database, stores the data, supports a query language, produces reports, and creates data entry screens.

DATABASE 4 Drawbacks of old File methods  Uncontrolled Duplication  Wastes space  Hard to update all files  Inconsistent data  Inflexibility  Hard to change data  Hard to change programs  Limited data sharing  Poor enforcement of standards  Poor programmer productivity  Excessive program maintenance

DATABASE 5 File Method Problems  Files defined in program  Cannot read file without definition  Hard to find definition  Every time you alter file, you must rewrite code  Change in a program/file will crash other code  Cannot tell which programs use each file  Multiuser problems  Concurrency  Security Access Backup & Restore  Efficiency Indexes Programmer talent  System  Application

DATABASE 6 Old File Method/3GL Data Definition File 1 … File 2 … Data Definition File A File 2 File C … Pay History Benefits Employee Choices FilesPrograms Payroll Benefits

DATABASE 7 Example of File Method v DBMS File Division 01 Employees 02 ID 02 Name 02 Address 01 Department 02 ID COBOL 112 Davy Jones 999 Elm Street Peter Smith 101 Oak St... Employee File More programs File Division 01 Employees...  Add to file (e.g.Cell phone)  Write code to copy employee file and add empty cell phone slot.  Find all programs that use employee file. Modify file definitions. Modify reports (as needed) Recompile, fix new bugs.  Easier: Keep two employee files? 02 Cell Phone

DATABASE 8 Advantages of Database Approach  Minimal data redundancy.  Data consistency.  Integration of data.  Sharing of data.  Enforcement of standards.  Ease of application development.  Uniform security, privacy and integrity.  Data independence.

DATABASE 9 Database Management Approach  Data is most important  Data defined first  Standard format  Access DB through DBMS  Queries, Reports, Forms  Application Programs  3GL Interface  Data independence  Change data definition without changing code  Alter code without changing data  Move/split data without changing code All Data DBMS Program1Program2 Queries Reports

DATABASE 10 Modifying Data with DBMS  Add cell number to employee table  Open table definition  Add data element  If desired, modify reports Use report writer No programming  Existing reports, queries, code will all run as before with no changes. Field NameData TypeDescription EmployeeIDNumberAutonumber.. TaxpayerIDTextFederal ID LastNameText FirstNameText... PhoneText... CellPhoneTextCellular...

DATABASE 11 DBMS Features/Components  Database engine  Storage  Retrieval  Update  Query Processor  Data dictionary  Utilities  Security  Report writer  Forms generator (input screens)  Application generator  Communications  3GL Interface

DATABASE 12 DBMS Engine, Security, Utilities Data Tables Database Engine Product ItemIDDescription 887Dog food 946Cat food Order OrderIDODate Customer CustomerID Name 1195Jones 2355Rojas Product ItemIDInteger, Unique DescriptionText, 100 char Customer CustomerIDInteger, Unique NameText, 50 char Security User Identification Access Rights Utilities Concurrency and Lock Manager Backup and Recovery Administration Data Dictionary

DATABASE 13 Database Tables (Access)

DATABASE 14 Database Tables (Oracle)

DATABASE 15 DBMS Query Processor All Data Database Engine Data Dictionary Query Processor

DATABASE 16 DBMS Report Writer All Data Database Engine Data Dictionary Query Processor Report Writer Report Format and Query

DATABASE 17 Report Writer (Oracle)

DATABASE 18 DBMS Input Forms All Data Database Engine Data Dictionary Query Processor Form Builder Input Form Design

DATABASE 19 DBMS Components All Data Database Engine Data Dictionary Security Query Processor Form Builder Report Writer Communication Network 3GL Connector Program Application Generator

DATABASE 20 Examples of Commercial Systems  Oracle  Ingres  Informix (Unix)  DB2, SQL/DS (IBM)  Access (Microsoft)  SQL Server (Microsoft +)  Many older (Focus, IMS,...)  Many limited PC (dBASE, Paradox, …)

DATABASE 21 Hierarchical Database Customers Orders ItemDescriptionQuantity 998Dog Food12 764Cat Food11 Items Customer Order Items Ordered To retrieve data, you must start at the top (customer). When you retrieve a customer, you retrieve all nested data.

DATABASE 22 Network Database Customer Order Items Ordered Items Entry point

DATABASE 23 Relational Database Customer(CustomerID, Name, … Order(OrderID, CustomerID, OrderDate, … ItemsOrdered(OrderID, ItemID, Quantity, … Items(ItemID, Description, Price, …

DATABASE 24 Object-Oriented DBMS Customer CustomerID Name … Add Customer Drop Customer Change Address Order OrderID CustomerID … NewOrder DeleteOrder … OrderItem OrderID ItemID … OrderItem DropOrderItem … Item ItemID Description … New Item Sell Item Buy Item … Government Customer ContactName ContactPhone Discount, … NewContact Commercial Customer ContactName ContactPhone … NewContact

DATABASE 25 Why don’t all developers use a DBMS?  Most new projects (in last 5 years) do use a DBMS  Need specialized personnel  Programmers  Designers/Analysts  Database administrators  Need to define data for organization  Cost  PC:$400 - $2000  Large:$100,000 +

DATABASE 26 Application development  Modeling data – ch 2 and 3  User interface design (forms and reports) – ch 4,5,6.  Operational design – ch 7 and 8.  DB tuning – ch 9.  DB admin and security – ch 10.  Distributed DB – ch11.

DATABASE 27 Building the Right System: Feasibility  Costs  Up-front/one-time Software ($ millions !) Hardware Communications Data conversion Studies and Design Training  On-going costs Personnel Software upgrades Supplies Support Software & Hardware maintenance  Benefits  Cost Savings Software maintenance Fewer errors Less data maintenance Less user training  Increased Value Better access to data Better decisions Better communication More timely reports Faster reaction to change New products & services  Strategic Advantages Lock out competitors Easy to estimateHard to value