Introduction to Database Processing IS 240 – Database Management Lecture #1 – 2004-01-15 Prof. M. E. Kabay, PhD, CISSP Norwich University

Slides:



Advertisements
Similar presentations
1 Senn, Information Technology, 3 rd Edition © 2004 Pearson Prentice Hall James A. Senns Information Technology, 3 rd Edition Chapter 7 Enterprise Databases.
Advertisements

Chapter 1: The Database Environment
The Relational Model and Normalization (3) IS 240 – Database Management Lecture # Prof. M. E. Kabay, PhD, CISSP Norwich University
The Relational Model and Normalization (1)
Foundations of Relational Implementation (2) IS 240 – Database Management Lecture #14 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Database Design (1) IS 240 – Database Management Lecture #10 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Foundations of Relational Implementation (1) IS 240 – Database Management Lecture #13 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Database Design (3) IS 240 – Database Management Lecture #12 – Prof. M. E. Kabay, PhD, CISSP Norwich University
The Relational Model and Normalization (2) IS 240 – Database Management Lecture # Prof. M. E. Kabay, PhD, CISSP Norwich University
1 Copyright © 2004 M. E. Kabay. All rights reserved. Database Design (2) IS 240 – Database Management Lecture #11 – Prof. M. E. Kabay, PhD,
Introduction to Database Development (1) IS 240 – Database Management Lecture #3 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Managing Multi-User Databases (2) IS 240 – Database Management Lecture #19 – Prof. M. E. Kabay, PhD, CISSP Norwich University
E-R Model (1) IS 240 – Database Management Lecture #5 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Managing Multi-User Databases (1) IS 240 – Database Management Lecture #18 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Working with MS-ACCESS IS 240 – Database Management Lecture #2 – Assoc. Prof. M. E. Kabay, PhD, CISSP Norwich University
1 Note content copyright © 2004 Ian Sommerville. NU-specific content copyright © 2004 M. E. Kabay. All rights reserved. Application Architectures IS301.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Relational Database and Data Modeling
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Making the System Operational
CS2008 Data Management CS5035 Introduction to Database Systems Nigel Beacham based on materials by Dr Yaji.
Configuration management
Information Systems Today: Managing in the Digital World
1 Web-Enabled Decision Support Systems Access Introduction: Touring Access Prof. Name Position (123) University Name.
Microsoft Access.
Database Modeling Past and Present
State of Connecticut Core-CT Project Query 8 hrs Updated 6/06/2006.
1 Use or disclosure of data contained on this sheet is subject to the restriction on the title page of this proposal or quotation. An Introduction to Data.
ICS 434 Advanced Database Systems
Database System Concepts and Architecture
Chapter 9: The Client/Server Database Environment
Introduction to Databases
Executional Architecture
Macromedia Dreamweaver MX 2004 – Design Professional Dreamweaver GETTING STARTED WITH.
25 seconds left…...
James A. Senn’s Information Technology, 3rd Edition
Chapter 13 The Data Warehouse
Management Information Systems, 10/e
Data Modeling and Database Design Chapter 1: Database Systems: Architecture and Components.
Lecture-7/ T. Nouf Almujally
Chapter 1: The Database Environment
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Lecture Microsoft Access and Relational Database Basics.
3-1 Chapter 3 Data and Knowledge Management
11 3 / 12 CHAPTER Databases MIS105 Lec14 Irfan Ahmed Ilyas.
Introduction to Databases Transparencies
8/28/2001Database Management -- Fall R. Larson Database Management: Introduction University of California, Berkeley School of Information Management.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Chapter 1 Introduction to Databases
Chapter 1: The Database Environment
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Introduction: Databases and Database Users
© 2007 by Prentice Hall 1 Introduction to databases.
File Systems and Databases Lecture 1. Files and Databases File: A collection of records or documents dealing with one organization, person, area or subject.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Introduction HNDIT DBMS 1. Database Management Systems Module code HNDIT Module title Database Management Systems Credits2HoursLectures15.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter 1: The Database Environment
Lecture 1 File Systems and Databases.
The Database Environment
Presentation transcript:

Introduction to Database Processing IS 240 – Database Management Lecture #1 – Prof. M. E. Kabay, PhD, CISSP Norwich University

2 Copyright © 2004 M. E. Kabay. All rights reserved. Topics Why study DBMS? DBMS Applications Historical Overview Defining Database How a DBMS Is Used Historical Development of DBMS Some Fundamental Issues in DB Applications HOMEWORK

3 Copyright © 2004 M. E. Kabay. All rights reserved. Why study DBMS? Central technology of todays information technology (IT) Teaches orderly analysis of data requirements and relationships Opportunity to understand internals underlying externals of applications Provides basis for rapid assimilation and application of wide range of specific DBMS tools Structured Query Language (SQL) almost universally used in industry Increases likelihood of good jobs

4 Copyright © 2004 M. E. Kabay. All rights reserved. DBMS Applications DBMS = database management system Database contains one or more tables (files, datasets) columns = fields rows = records Relations among tables help navigate DB DB Application allows access to database usable formats data entry reports

5 Copyright © 2004 M. E. Kabay. All rights reserved. Concurrency Single-user database allows only one user at a time aka exclusive access Types of access permissions READ WRITE APPEND LOCK Multi-user databases need to protect against damage to records

6 Copyright © 2004 M. E. Kabay. All rights reserved. Concurrency (contd) Joe accesses Widget record Shakheena accesses Widget record Inventory shows 25 to both Joe takes out 10 Application writes out record to DB Inventory now shows 15 Shakheena takes out 5 from her copy of data (25) Inventory now shows 20 TIME

7 Copyright © 2004 M. E. Kabay. All rights reserved. Historical Overview How did people handle masses of data? Manual systems Clay tablets Parchment Paper Abacus Punch cards ( ) File systems (1950-present) DBMS (1970-present)

8 Copyright © 2004 M. E. Kabay. All rights reserved. Problems with File Systems Separated, isolated data Duplication of data File-format dependency File incompatibilities Hard to show useful views of data

9 Copyright © 2004 M. E. Kabay. All rights reserved. Problems: Separated, Isolated Data Multiple files for different aspects of system Linkages handled entirely by application programming Coordinate access to multiple files for different functions Some databases have hundreds of files

10 Copyright © 2004 M. E. Kabay. All rights reserved. Problems: Duplication Of Data Early collections of files duplicated data e.g., identifiers (name, address....) Easy to generate discrepancies copies of data in different records and different files could diverge from each other Frustrating for users and clients enter same information over and over Results inconsistent, contradictory send invoice to old address in one program, new address in other program

11 Copyright © 2004 M. E. Kabay. All rights reserved. Problems: File-format Dependency Structure of data files hard-coded in application program All changes to data files requires modification of programs rewrite data description rewrite special code for linking or searching recompile source code to generate object update documentation

12 Copyright © 2004 M. E. Kabay. All rights reserved. Problems: File Incompatibilities Different analysts and programmers used different data definitions NAME has 20 chars NAME has 40 chars Different names for fields SSN vs SS# LAST_NAME vs L_NAME Different record structures LAST | FIRST | STREET1 | STREET 2 | CITY NAME | ADDRESS | CITY_&_STATE

13 Copyright © 2004 M. E. Kabay. All rights reserved. Problems: Hard To Show Useful Views Of Data Combining fields from different records in different files necessary for most users reports on-screen visualization Every report / screen requires special programming find data (often by serial search) place in output in specific positions all require a great deal of programming

14 Copyright © 2004 M. E. Kabay. All rights reserved. Defining Database A database is a self-describing collection of integrated records. Self-describing Integrated Model of a model

15 Copyright © 2004 M. E. Kabay. All rights reserved. How a DBMS Is Used DATA DICTIONARY API APPLICATION PROGRAMS DATA QUERYTOOLS INTERNALS

16 Copyright © 2004 M. E. Kabay. All rights reserved. Self-describing Databases have data dictionaries aka data directory or metadata Data dictionary supports independence between programs and database Change in data dictionary does NOT usually require change in program Enormous reduction in programming complexity and maintenance of programs Data dictionary supports independence between database and documentation Constant problem: bad documentation DBMS helps reduce dependence on manual documents

17 Copyright © 2004 M. E. Kabay. All rights reserved. Integrated Files are accessed in systematic way Special files maintain indexes that help speed access Find all records where name begins with S Find records where city_population > 750,000 and household_median_income > $50,000 Application metadata can include report structures Print the invoice for Mrs Smiths fuel oil deliveries this month

18 Copyright © 2004 M. E. Kabay. All rights reserved. Model of a model Databases are designed by people DB does not directly reflect reality DB reflects designers decisions about how to represent users perceptions of what matters The availability of a tool determines perceptions of whats a reasonable request. As users learn to use their DB, they begin to think in new ways Recognize new possibilities, need new functions Databases evolve as they are used

19 Copyright © 2004 M. E. Kabay. All rights reserved. Historical Development of DBMS 1970s: E. F. Codd – relational DB model normalization of data reduce repetition 1980s: Microcomputers: dBase II not DBMS not relational but interfaces improved mainframe products ported to PCs

20 Copyright © 2004 M. E. Kabay. All rights reserved. Historical Development of DBMS (contd) Mid-1980s: client-server architecture Link inexpensive computers in networks (LANs) Store data on servers Run client programs on workstations for user interface, some computations, reports 1990s: Web-based systems Web exploded into use ~1993 Common interface: browser client software reading standard formatting codes – HTML, XML, JAVA

21 Copyright © 2004 M. E. Kabay. All rights reserved. Some Fundamental Issues in DB Applications Ethical constraints on data gathering and usage (details later in course) How do we protect data subjects against abuse? Security (details later) confidentiality control integrity authenticity availability utility

22 Copyright © 2004 M. E. Kabay. All rights reserved. Homework Study Kroenke Chapter 1 using SQ3R By next Thu, 23 Jan 2003: required Write out answers to each of the Group 1; print your responses and bring them to class Questions 1.1 through 1.23 using a computer (23 points) Short (½ to 1 page) response to Project A on page 23 (2 points) Short response to Project B (2 points)

23 Copyright © 2004 M. E. Kabay. All rights reserved. For Extra Credit 1 point each: optional Write out & print answers by Thu 30 Jan 2003 FiredUp Project Question A FiredUp Project Question B (only if A done)

24 Copyright © 2004 M. E. Kabay. All rights reserved. Preparation for Next Class Review Kroenke Chapter 1 Scan Kroenke Chapter 2 Apply SQ3R global scan to Ferrett et al Study Ferrett et al Projects 1 & 2 Load files from Ferrett CD-ROM onto your own computer if you have one Amazon has the 1 st chapter of Kroenke; search on Kroenke and look for the 8 th edition. Also see the Kroenke Web site at

25 Copyright © 2004 M. E. Kabay. All rights reserved. DISCUSSION