1 Chapter 1 Database Systems Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.

Slides:



Advertisements
Similar presentations
Introduction to Databases
Advertisements

Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
1 1 File Systems and Databases. 1 1 Introducing the Database 4Major Database Concepts u Data and information l Data - Raw facts l Information - Processed.
Database Systems Chapter 1
ITS232 Introduction To Database Management Systems
Chapter 1 File Systems and Databases
File Systems and Databases
1 1 File Systems and Databases Chapter 1 The Worlds of Database Systems Prof. Sin-Min Lee Dept. of Computer Science.
File Systems and Databases Hachim Haddouti
Chapter 1 Database Systems
Chapter 1 Database Systems
BTM 382 Database Management Chapter 1: Database systems
1 1 File Systems and Databases Chapter 1 The Worlds of Database Systems Prof. Sin-Min Lee Dept. of Computer Science.
Database Systems.
1 1 File Systems and Databases Chapter 1 Prof. Sin-Min Lee Dept. of Computer Science.
CSC 351 FUNDAMENTALS OF DATABASE SYSTEMS
Database Systems: Design, Implementation, and Management Ninth Edition
Database Systems: Design, Implementation, and Management Ninth Edition
Database Systems Chapter 1
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
Chapter # 1 Database Systems BIS Database Systems
Database Systems: Design, Implementation, and Management Ninth Edition
DBS201: Introduction to Database Design
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Database Design - Lecture 1
DBS201: DBA/DBMS Lecture 13.
Database Systems: Design, Implementation, and Management THIRD EDITION
1 Introduction An organization's survival relies on decisions made by management An organization's survival relies on decisions made by management To make.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS (Cont’d) Instructor Ms. Arwa Binsaleh.
1 CSBP430 – Database Systems Chapter 1: Databases and Database Users Mamoun Awad College of Information Technology United Arab Emirates University
Chapter 1 In-lab Quiz Next week
Chapter 1 Database Systems
1 1 Chapter 1 Database Systems Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
1 MIS 304 Winter 2006 Bits, Bytes, File Systems Data Modeling and Databases.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
Chapter One (Database System) Objectives Introduction to Database Management Systems (DBMS) Data and Information History of DB Types of DB.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS Instructor Ms. Arwa Binsaleh.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
Database Systems. Role and Advantages of the DBMS Improved data sharing Improved data security Better data integration Minimized data inconsistency Improved.
© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S.
Database Systems Database Systems: Design, Implementation, and Management, Rob and Coronel.
Department of Mathematics Computer and Information Science1 CS 351: Database Management Christopher I. G. Lanclos Chapter 1.
© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S.
1 Chapter 1 Database Systems Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
CSC 351 FUNDAMENTALS OF DATABASE SYSTEMS. LECTURE 1: INTRODUCTION TO DATABASES.
Database Principles: Fundamentals of Design, Implementation, and Management Ninth Edition Chapter 1 Database Systems Carlos Coronel, Steven Morris, and.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
Lecture 1 Introduction to Database (updated 22/2/2016) 21/2/2014TMC2034 Database Concept and Design1.
1 1 Chapter 1 Database Systems Database Systems: Design, Implementation, and Management, 7th Edition, Rob and Coronel.
Database Principles: Fundamentals of Design, Implementation, and Management Chapter 1 The Database Approach.
CS311 Database Management system
Lecture 1 Introduction to Database
Database Systems: Design, Implementation, and Management Tenth Edition
Database Management System (DBMS)
Chapter 1 Database Systems
File Systems and Databases
Database Systems Chapter 1
Database Systems: Design, Implementation, and Management
Chapter 1 Database Systems
Database Principles 2 nd Ed., Coronel, Morris, Rob & Crockett © 2013 Cengage Learning EMEA Database Principles: Fundamentals of Design, Implementations.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Chapter 1 Database Systems
DCT 2033 DATABASE MANAGEMENT SYSTEM Chapter 1
Chapter 1 Database Systems
Database Systems: Design, Implementation, and Management Tenth Edition
Presentation transcript:

1 Chapter 1 Database Systems Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel

1 2 In this chapter, you will learn: The difference between data and information What a database is, about different types of databases, and why they are valuable assets for decision making The importance of database design How modern databases evolved from file systems How a database system differs from a file system The main functions of a database management system (DBMS)

1 3 Data vs. Information Data: –Raw facts; building blocks of information –Unprocessed information Information: –Data processed to reveal meaning Accurate, relevant, and timely information is key to good decision making Good decision making is key to survival in global environment

1 4 Transforming Raw Data into Information

1 5 Transforming Raw Data into Information (continued)

1 6

1 7

1 8 Introducing the Database and the DBMS Database is a shared, integrated computer structure that stores: –End user data (raw facts) –Metadata (data about data) Database Management System (DBMS) - is a collection of programs that –Manages Database structure –Controls access to data –Possible to share data among multiple applications or users –Makes data management more efficient and effective

1 9 DBMS Makes Data Management More Efficient and Effective Provides end users better access to more and better- managed data Promotes integrated view of organization’s operations -- “big picture.” Reduces the probability of inconsistent data Query language allows quick answers to ad hoc queries (spur-of-the-moment questions)

1 10 The DBMS Manages the Interaction Between the End User and the Database DBA

1 11 Types of Databases Single-user: –Supports only one user at a time Desktop: –Single-user database running on a PC Multi-user: –Supports multiple users at the same time Workgroup: –Multi-user database that supports a small group of users or a single department Enterprise: –Multi-user database that supports a large group of users or an entire organization

1 12 Types of Databases (classified by location) Centralized: –Supports data located at a single site Distributed: –Supports data distributed across several sites

1 13 Types of Databases (classified by use) Transactional (or production): –Supports a company’s day-to-day operations Data warehouse: –Stores data used to generate information required to make tactical or strategic decisions Such decisions typically require “data massaging” –Often used to store historical data –Structure is quite different

1 14 Why Database Design is Important Poor design results in unwanted data redundancy (unnecessarily duplicated) Poor design generates errors  leads to bad decisions  can lead to failure of organization

1 15 The Historical Roots of Database: Files and File Systems Although managing data through file systems is largely obsolete –simple characteristics of file systems → makes complexity of database design easier to understand –prevent similar problems in DBMS –helpful for converting an obsolete file system to a DBMS

1 16 Manual File Systems Collection of file folders kept in file cabinet Organization within folders was based on data’s expected use (ideally logically related) System was adequate for small amounts of data Finding and using data - time-consuming and cumbersome

1 17 Conversion from Manual File System to Computer File System Could be technically complex, requiring hiring of data processing (DP) specialists DP specialists created file structures, wrote software, and designed application programs Resulted in numerous “home-grown” systems being created Initially, computer files were similar in design to manual files (see Figure 1.3)

1 18 Contents of Customer File l A small insurance company

1 19 Basic File Terminology

1 20 File Terminology Data –Raw Facts Field –Group of characters with specific meaning –Used to define and store data Record –Logically connected fields that describe a person, place, or thing File –Collection of related records

1 21 Example of a Simple File System DP specialist wrote programs for reports: –Monthly summaries of types and amounts of insurance sold by agents –Monthly reports about which customers should be contacted for renewal –Reports that analyzed ratios of insurance types sold by agent –Customer contact letters summarizing coverage Other departments requested programs be written for them –SALES file created for sales department –AGENT file created for personnel department

1 22 Contents of the Agent File

1 23 Evolution of Simple File System As number of files increased, a small file system evolved Each file used its own application programs Each file was owned by individual or department who commissioned its creation

1 24 A Simple File System

1 25 Example of a Simple File System As the file system grew, demand for DP’s programming skills grew Additional programmers hired DP specialist evolved into DP manager, supervising a DP department Primary activity of department (and DP manager) remained programming

1 26 Problems with File System Data Management Every task requires extensive programming in a third- generation language (3GL) –Programmer must specify task and how it must be done Modern databases use fourth-generation language (4GL) –Allows user to specify what must be done without specifying how it is to be done

1 27 Problems with File System Data Management

1 28 Problems with File System Data Management Time-consuming, high-level activity As number of files increases, system administration becomes difficult Making changes in existing file structure is difficult File structure changes require modifications in all programs that use data in that file

1 29 Problems with File System Data Management Modifications are likely to produce errors, requiring additional time to “debug” the program Security features hard to program and therefore often omitted

1 30 Problems with File System Data Management (con’t.) Structural Dependence –Changes in file structure require modification of related programs Data Dependence –Changes in file data characteristics require modification of data access programs

1 31 Field Definitions and Naming Conventions (continued)

1 32 Problems with File System Data Management (con’t.) Data Redundancy – Same data are stored in many different locations. – Results of uncontrolled data redundancy Data inconsistency –Different and conflicting versions of same data appear in different places. –Lack of data integrity (the validity of data) Data anomalies –Update »Agent Hahh : new phone number –Insertion »add a new customer –Deletion »Agent Hahh quits

1 33 Database Systems vs. File Systems File system –Many separate and unrelated files Database system –logically related data stored in a single repository Database systems provide advantages over file system –Eliminates inconsistency, data anomalies, data dependency, and structural dependency problems –Stores data structures, relationships, and access paths

1 34 Contrasting Database and File Systems

1 35 The Database System Environment Database system is composed of 5 main parts: 1.Hardware 2.Software Operating system software DBMS software Application programs and utility software 3.People SA (System Administrator) DBA (Database Administrator) Database designers System analysts and programmers End users 4.Procedures 5.Data

1 36 The Database System Environment

1 37 DBMS Functions Performs functions that guarantee integrity and consistency of data 1.Data dictionary management (Fig. 1.8) defines data elements and their relationships (metadata) 2.Data storage management (Fig. 1.9) stores data and related data entry forms, report definitions, etc. 3.Data transformation and presentation translates logical requests into commands to physically locate and retrieve the requested data

1 38 DBMS Functions ( continued ) 4.Security management enforces user security and data privacy within database 5.Multi-user access control creates structures that allow multiple users to access the data 6.Backup and recovery management provides backup and data recovery procedures

1 39 DBMS Functions ( continued ) 7.Data integrity management promotes and enforces integrity rules to eliminate data integrity problems 8.Database access languages and application programming interfaces provides data access through a query language 9.Database communication interfaces allow database to accept end-user requests via multiple, different network environments

1 40 Illustrating Metadata with Microsoft Access

1 41 Illustrating Data Storage Management with Oracle

1 42 Summary Information is derived from data, which is stored in a database To implement and manage a database, use a DBMS Database design defines its structure Good design is important Databases were preceded by file systems Because file systems lack a DBMS, file management becomes difficult as a file system grows DBMS were developed to address file systems’ inherent weaknesses