1 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Week 2 September 7 File-based Systems and DatabaseFile-based Systems and Database Database.

Slides:



Advertisements
Similar presentations
Introduction to Databases
Advertisements

Introduction to Databases
Introduction to Databases
1 Pertemuan 01 Pengantar tentang database Matakuliah: >/ > Tahun: > Versi: >
Introduction to Databases
1 Minggu 1, Pertemuan 1 Introduction to Database Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
Introduction to Databases Transparencies
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.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
INTRODUCTION TO DATABASES
Chapter 1 Introduction to Databases
Chapter 1: The Database Environment
Introduction to Databases
Introduction to Database Systems 1.  Assignments – 3 – 9%  Marked Lab – 5 – 10% + 2% (Bonus)  Marked Quiz – 3 – 6%  Mid term exams – 2 – (30%) 15%
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
Introduction to Database
Introduction to Databases. Case Example: File based Processing Real Estate Agent’s office Property for sale or rent Potential Buyer/renter Staff/employees.
Introduction Chapter 1. Reference Book  Database Systems Thomas Connolly, Carolyn Begg, Anne Strachan Addison-Wesley 1999 ISBN:
Fundamental of Database (FCT 1083) Chapter 1: Concept of Databases.
CHAPTER 1: THE DATABASE ENVIRONMENT AND DEVELOPMENT PROCESS Modern Database Management 11 th Edition Jeffrey A. Hoffer, V. Ramesh, Heikki Topi © 2013 Pearson.
DBMS By Narinder Singh Computer Sc. Deptt. Topics What is DBMS What is DBMS File System Approach: its limitations File System Approach: its limitations.
Chapter 1: The Database Environment and Development Process
Sistem Basis Data (DATABASE) Siauw Yohanes Darmawan
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
Chapter 1 Introduction to Databases Pearson Education ©
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
1 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Week 1 January 25 Introduction to 4GLsIntroduction to 4GLs 4GLs versus 3GLs4GLs versus.
Databases and Database Management Systems
© 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,
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.
Introduction to Databases
Chapter 1 Introduction to Databases © Pearson Education Limited 1995, 2005.
Module 1: Database System
MSIS 635 DATABASE MANAGEMNT Database Systems Thomas Connolly and Carolyn Begg Third Edition – 2002 – ©Addison Wesley.
1 Database Management Systems (DBMS). 2 Database Management Systems (DBMS) n Overview of: ä Database Management Components ä Database Systems Architecture.
1 Introduction to Databases. 2 Examples of Database Applications u Purchases from the supermarket u Purchases using your credit card u Booking a holiday.
1 Chapter 1 Introduction to Databases Transparencies.
1 Database Systems Instructor: Nasir Minhas Assistant Professor UIIT PMAS-AAUR
Introduction to Databases
Introduction & History of Database Systems
Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005.
Chapter 1 © 2013 Pearson Education, Inc. Publishing as Prentice Hall Chapter 1: The Database Environment and Development Process Modern 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.
Control of data redundancy Data consistency More information from the same amount of data Sharing of data Improved data integrity Improved security Enforcement.
Copyright © 2016 Pearson Education, Inc. CHAPTER 1: THE DATABASE ENVIRONMENT AND DEVELOPMENT PROCESS Modern Database Management 12 th Edition Jeff Hoffer,
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases Connolly and Begg
Introduction to Databases
Introduction to Databases
Introduction to Databases
Data Base System Lecture 2: Introduction to Database
Introduction to Databases
Introduction to Databases
Introduction to Databases
Introduction to Databases
Introduction to Databases Transparencies
Presentation transcript:

1 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Week 2 September 7 File-based Systems and DatabaseFile-based Systems and Database Database EnvironmentDatabase Environment

2 R. Ching, Ph.D. MIS Dept. California State University, Sacramento What is Database? Definition: "A shared collection of logically related data, and a description of this data, designed to meet the information needs of the organization."Definition: "A shared collection of logically related data, and a description of this data, designed to meet the information needs of the organization." Data repositoryData repository Customer transactions Inventory Operating expenses Payroll Vendors Management system controls access

3 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Traditional File-Based System Definition: "A collection of application programs that perform services for the end-users such as the production of reports. Each program defines and manages its own data."Definition: "A collection of application programs that perform services for the end-users such as the production of reports. Each program defines and manages its own data." Payroll Operating expenses Customer transactions VendorsInventory ProgramProgramProgramProgramProgram ReportReportReportReportReport One file, one application

4 R. Ching, Ph.D. MIS Dept. California State University, Sacramento For example…

5 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Invoice No.

6 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Stereos To Go Invoice No. Date: / / Account No. Item Number Product Description/Manufacturer Qty Price Product Code Date Shipped: / / Customer: Address: CityStateZip Code Invoice Customer Invoice Items purchased on the Invoice Products and Manufacturers Invoice Anatomy of an Invoice

7 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Stereos To Go Invoice No. Date: / / Account No. Item Number Product Description/Manufacturer Qty Price Product Code Date Shipped: / / Customer: Address: CityStateZip Code Invoice Customer Invoice Items purchased on the Invoice Products and Manufacturers Invoice Anatomy of an Invoice William Tell Street FDInvoice-File. 01Invoice-Record. 05Invoice-numberPIC X(5). 05Invoice-datePIC X(6). 05Cust-account-numberPIC X(10). 05Cust-First-NamePIC X(15). 05Cust-Last-NamePIC X(20). 05Cust-AddressPIC X(30). FDInvoice-File. 01Invoice-Record. 05Invoice-numberPIC X(5). 05Invoice-datePIC X(6). 05Cust-account-numberPIC X(10). 05Cust-First-NamePIC X(15). 05Cust-Last-NamePIC X(20). 05Cust-AddressPIC X(30).

8 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Traditional File-Based System Invoice Program Invoices Customer Account Program Account Report Customer Mailings Program Mailing List CustomerOrders “A collection of application programs that perform services for the end users such as the production of reports. Each program defines and manages its own data.” Customer Mailing List Customer Accounts File

9 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Data Redundancy Customer Order FileCustomer Order File –Invoice number –Customer account number –Customer name, address, city, state, zip code –Order date –Product code, product description, price, unit Customer Account FileCustomer Account File –Account Number –Customer name, mailing address, city, state, zip code Customer Mailing List FileCustomer Mailing List File –Customer name, mailing address, city, state, zip code

10 R. Ching, Ph.D. MIS Dept. California State University, Sacramento File-Based Systems Records contain logically related dataRecords contain logically related data Limitations:Limitations: –Separation and isolation of data (one file, one program) –Duplication of data Loss of data integrity - uncertainty of the correct version of data and no consistencyLoss of data integrity - uncertainty of the correct version of data and no consistency –Data dependence - application program defines the data –Incompatibility of file formats –Fixed queries/proliferation of application programs - little flexibility in meeting changing information needs

11 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Database Data and Data Data and DataDefinitions Applications “A shared collection of logically related data (and a description of this data), designed to meet the information needs of an organization.”“A shared collection of logically related data (and a description of this data), designed to meet the information needs of an organization.” Separation Central Repository

12 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Data Abstraction Separation between the data’s structure (definition) and the application programsSeparation between the data’s structure (definition) and the application programs FD Master-File. 01 Master-Record. 05 IDPIC X(10). 05 Customer-Fname PIC X(25).... Tightly binds the data file and program COBOL

13 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Tightly binds the data file and program Data Abstraction Separation between the data’s structure (definition) and the application programsSeparation between the data’s structure (definition) and the application programs FD Master-File. 01 Master-Record. 05 IDPIC X(10). 05 Customer-Fname PIC X(25).... COBOL Data Output Program

14 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Data Abstraction Separation between the data’s structure (definition) and the application programsSeparation between the data’s structure (definition) and the application programs Data and Data Definitions Applications Central Repository DBMS Application programs can be run on either the clients or server

15 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Organizing Data Entity - distinct object (i.e., person, place, thing, concept or event)Entity - distinct object (i.e., person, place, thing, concept or event) Attribute - describes some aspect of the entity (object)Attribute - describes some aspect of the entity (object) –Property of the entity Relationship - association between entitiesRelationship - association between entities Customers Account_number Name Address Purchases Invoice_number Account_number Purchase_date Attributes Relationship EntityEntity

16 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Stereos to Go Database Customer Orders Order Items Manufacturers Products DBMS Management Queries Application Programs Other Software DDLDDL DMLDML Controlled accessControlled access Central Repository (Organizational resource) Single Access Point Multitude of Applications

17 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Components of a Database Environment HardwareHardware Software: DBMS, application program and query softwareSoftware: DBMS, application program and query software Data: Organized in a schema, partitioned into subschemasData: Organized in a schema, partitioned into subschemas Procedures: Govern the design, access and use of the databaseProcedures: Govern the design, access and use of the database People: Administrators (DA, DBA), designers (logical and physical), application developers and users (novice and high-powered)People: Administrators (DA, DBA), designers (logical and physical), application developers and users (novice and high-powered)

18 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Advantages of the Database Approach Control of data redundancyControl of data redundancy Data consistencyData consistency Greater informational gain, more information from the same amount of dataGreater informational gain, more information from the same amount of data Sharing data, organizational resource (i.e., shared resource)Sharing data, organizational resource (i.e., shared resource) Improved data integrity, validity and consistencyImproved data integrity, validity and consistency Improved access and securityImproved access and security Enforcement of standardsEnforcement of standards

19 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Advantages of the Database Approach Economy of scale, centralization and consolidationEconomy of scale, centralization and consolidation Balancing of conflicting requirements, DBA oversees data and data definitionsBalancing of conflicting requirements, DBA oversees data and data definitions Improved data accessibility and responsivenessImproved data accessibility and responsiveness Increased productivityIncreased productivity Improved maintenance through data independenceImproved maintenance through data independence Increased currencyIncreased currency Improved backup and recovery servicesImproved backup and recovery services

20 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Disadvantages of the Database Approach ComplexityComplexity SizeSize Cost of DBMSCost of DBMS Additional hardware costsAdditional hardware costs Cost of conversionCost of conversion PerformancePerformance Higher impact of failureHigher impact of failure In a production environment, processing can be slowIn a production environment, processing can be slow Dedication of resources including technology and people infrastructures