- Ahmad Al-Ghoul Data design. 2 learning Objectives Explain data design concepts and data structures Explain data design concepts and data structures.

Slides:



Advertisements
Similar presentations
Chapter 6 Data Design.
Advertisements

Introduction to Databases
System Design System Design - Mr. Ahmad Al-Ghoul System Analysis and Design.
Management Information Systems, Sixth Edition
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
Client/Server Databases and the Oracle 10g Relational Database
Database Management: Getting Data Together Chapter 14.
Concepts of Database Management Sixth Edition
Ch1: File Systems and Databases Hachim Haddouti
Introduction to Databases Transparencies
Chapter 1 INTRODUCTION TO DATABASE.
System Analysis and Design
System Analysis and Design
BUSINESS DRIVEN TECHNOLOGY
Chapter 1 An Overview of Database Management. 1-2 Topics in this Chapter What is a Database System? What is a Database? Why Database? Data Independence.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Chapter 1 Introduction to Databases
Chapter 4 Database Management Systems. Chapter 4Slide 2 What is a Database Management System (DBMS)?  Database An organized collection of related data.
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
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.
Concepts of Database Management Seventh Edition
Computers Are Your Future Tenth Edition Chapter 12: Databases & Information Systems Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall1.
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
Discovering Computers Fundamentals, 2012 Edition Your Interactive Guide to the Digital World.
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.
Introduction to System Analysis and Design - Dr. Mahmoud Abu-Arra - Dr. Mahmoud Abu-Arra - Mr. Ahmad Al-Ghoul System Analysis and Design.
Chapter 1 Introduction to Databases Pearson Education ©
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Introduction: Databases and Database Users
Chapter 1 In-lab Quiz Next week
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
System Analysis and Design
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Storing Organizational Information - Databases
Database Management System (DBMS) an Introduction DeSiaMore 1.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
System Implementation System Implementation - Mr. Ahmad Al-Ghoul System Analysis and Design.
Advantage of File-oriented system: it provides useful historical information about how data are managed earlier. File-oriented systems create many problems.
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
DATA STRUCTURE & ALGORITHMS (BCS 1223) NURUL HASLINDA NGAH SEMESTER /2014.
System Design System Design - Mr. Ahmad Al-Ghoul System Analysis and Design.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
System Implementation
1 Database Management Systems (DBMS). 2 Database Management Systems (DBMS) n Overview of: ä Database Management Components ä Database Systems Architecture.
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
1 Chapter 1 Introduction to Databases Transparencies.
System design : files. Data Design Concepts  Data Structures  A file or table contains data about people, places or events that interact with the system.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
1 TOPIC 6 DATABASE 6.1 Introduction to Database 6.2 Basic Concept of Database 6.3 Database Object DATABASE.
1 Chapter 9 Database Management. Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe.
Introduction to Databases Dr. Osama AL Rababah. Objectives In this capture you will learn: Some common uses of database systems. The characteristics of.
CSC 351 FUNDAMENTALS OF DATABASE SYSTEMS. LECTURE 1: INTRODUCTION TO DATABASES.
Difference between DBMS and File System
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
IT 5433 LM1. Learning Objectives Understand key terms in database Explain file processing systems List parts of a database environment Explain types of.
Introduction to Databases
Client/Server Databases and the Oracle 10g Relational Database
Database Management:.
Database Database is a large collection of related data that can be stored, generally describes activities of an organization. An organised collection.
Introduction to Databases Transparencies
Terms: Data: Database: Database Management System: INTRODUCTION
Presentation transcript:

- Ahmad Al-Ghoul Data design

2 learning Objectives Explain data design concepts and data structures Explain data design concepts and data structures Describe file processing systems and various types of files Describe file processing systems and various types of files Understand database systems and define the advantages of a database management system (DBMS) Understand database systems and define the advantages of a database management system (DBMS)

3 Data Design Concepts Before constructing an information system, a systems analyst must understand basic design concepts, including data structures and the characteristics of file processing and database systems, including Web-based database design Before constructing an information system, a systems analyst must understand basic design concepts, including data structures and the characteristics of file processing and database systems, including Web-based database design

4 Data Design Concepts The data storage function manages how data is stored and handled by programs that run the system The data storage function manages how data is stored and handled by programs that run the system Goals of data storage design Goals of data storage design Efficient data retrieval (good response time) Efficient data retrieval (good response time) Access to the information users need Access to the information users need

5 Data Design Concepts Data Structures Data Structures Data Structures Data Structures A framework for organizing and storing data A framework for organizing and storing data Data Structures consist of files or tables that are linked in various ways Data Structures consist of files or tables that are linked in various ways A file or table contains data about people, places or events or any important data that the business must kept information about A file or table contains data about people, places or events or any important data that the business must kept information aboutfiletablefiletable Depending on how the system’s file and tables are organized and linked, an (IS) is called either Depending on how the system’s file and tables are organized and linked, an (IS) is called either File-oriented system: also called a file processing system, stores and manages data in one or more separate files. File-oriented system: also called a file processing system, stores and manages data in one or more separate files. File-oriented system File-oriented system Database system: consists of linked data files, also called tables, that form an overall data structure. Compared to file processing, a database environment offers greater flexibility and efficiency. Database system: consists of linked data files, also called tables, that form an overall data structure. Compared to file processing, a database environment offers greater flexibility and efficiency. Database system Database system

6 Data Design Concepts Overview of File Processing Overview of File Processing Companies mainly use file processing to handle large volumes of structured data on a regular basis Companies mainly use file processing to handle large volumes of structured data on a regular basis File processing design approach was well suited to mainframe hardware and batch input File processing design approach was well suited to mainframe hardware and batch input File processing design is less common today, file processing can be more efficient and cost less than a DBMS in certain situations File processing design is less common today, file processing can be more efficient and cost less than a DBMS in certain situations

7 Data Design Concepts Overview of File Processing Overview of File Processing File Processing Advantages File Processing Advantages Simplicity: the design of file processing is more simple than designing Database Simplicity: the design of file processing is more simple than designing Database Efficiency: file processing cost less and can be more speed than Database Efficiency: file processing cost less and can be more speed than Database Customization: you can customize file processing more easily and efficiently than Database because files are related with the application and it have all the data needed for that application Customization: you can customize file processing more easily and efficiently than Database because files are related with the application and it have all the data needed for that application

8 Overview of File Processing Overview of File Processing Potential problems Potential problems Data redundancy: occurs when data common to two or more information systems is stored in several places. Data redundancy requires more storage space, and maintaining and updating data in several locations is expensive. Data redundancy: occurs when data common to two or more information systems is stored in several places. Data redundancy requires more storage space, and maintaining and updating data in several locations is expensive. Data redundancy Data redundancy Data integrity: Refers to the validity of data. Data integrity can be compromised in a number of ways: human errors when data is entered, errors that occur when data is transmitted from one computer to another, software bugs or viruses, hardware malfunctions, such as disk crashes and natural disasters, such as fires and floods. Data integrity: Refers to the validity of data. Data integrity can be compromised in a number of ways: human errors when data is entered, errors that occur when data is transmitted from one computer to another, software bugs or viruses, hardware malfunctions, such as disk crashes and natural disasters, such as fires and floods. Data integrity Data integrity Rigid data structure: A data structure that is hard to work with and inflexible. File-processing is rigid when compared to a typical database management system. Rigid data structure: A data structure that is hard to work with and inflexible. File-processing is rigid when compared to a typical database management system. Rigid data structure Rigid data structure Data Design Concepts

9 Overview of File Processing Overview of File Processing Uses various types of files Uses various types of files Master file: In a typical file processing environment, a master file stores relatively permanent data about an entity. For example, a PRODUCT master file might contain one logical record for each product a company sells. Master file: In a typical file processing environment, a master file stores relatively permanent data about an entity. For example, a PRODUCT master file might contain one logical record for each product a company sells. Master file Master file Table file: contains reference data used by the (IS). As with master files, table files are relatively static and are not updated by the (IS). Examples include tax tables and postage rate tables Table file: contains reference data used by the (IS). As with master files, table files are relatively static and are not updated by the (IS). Examples include tax tables and postage rate tables Table file Table file Transaction file: In a typical file processing environment, a transaction file stores records that contain day-to-day business and operational data. A transaction file is an input file that updates a master file; after the update is completed, the transaction file has served its purpose. Transaction file: In a typical file processing environment, a transaction file stores records that contain day-to-day business and operational data. A transaction file is an input file that updates a master file; after the update is completed, the transaction file has served its purpose. Transaction file Transaction file

10 Data Design Concepts Overview of File Processing Overview of File Processing Uses various types of files Uses various types of files Work file – scratch file: In a typical file processing environment, a work file is a temporary file created by an information system for a single task. Most often a work file is created by one process in the information system and used by another process within the same system. Work files also are called scratch files. Work file – scratch file: In a typical file processing environment, a work file is a temporary file created by an information system for a single task. Most often a work file is created by one process in the information system and used by another process within the same system. Work files also are called scratch files. Work filescratch file Work filescratch file Security file: Sequence codes are numbers or letters assigned in a specific order. Sequence codes contain no additional information other than an indication of order of entry into a system. Security file: Sequence codes are numbers or letters assigned in a specific order. Sequence codes contain no additional information other than an indication of order of entry into a system. Security file Security file History file: In a typical file processing environment, a history file is a file copy created and saved for historical or archiving purposes. New history files, unlike new security files, do not replace the old files. History file: In a typical file processing environment, a history file is a file copy created and saved for historical or archiving purposes. New history files, unlike new security files, do not replace the old files. History file History file

11 Data Design Concepts Example of File Processing of an auto repair shop Example of File Processing of an auto repair shop Example of an auto repair shop that uses two separate file-oriented systems: a Job Records System (with a JOB data file) and an Employee Records System (with a MECHANIC data file). Notice that three items of information must be duplicated in both data files.

12 Data Design Concepts Overview of Database Systems Overview of Database Systems Database: a collection of groupings of information that relate to each other in some way. Database: a collection of groupings of information that relate to each other in some way. A properly design database system offers a solution to the problems of file processing A properly design database system offers a solution to the problems of file processing Provides an overall framework that avoids data redundancy and supports a real-time, dynamic environment Provides an overall framework that avoids data redundancy and supports a real-time, dynamic environment In a Database environment several systems can be built and share a single database In a Database environment several systems can be built and share a single database

13 Data Design Concepts Overview of Database Systems Overview of Database Systems A typical database environment might consist of a database serving five separate business systems.

14 Data Design Concepts Example of a database design for the auto repair shop that links two data tables and avoids duplication. Notice that the Mechanic No field provides a link between the two tables, and information can be accessed from either table.

15 Data Design Concepts Overview of Database Systems Overview of Database Systems A database management system (DBMS) is a collection of tools, features, and interfaces that enables users to add, update, manage, access, and analyze the contents of a database A database management system (DBMS) is a collection of tools, features, and interfaces that enables users to add, update, manage, access, and analyze the contents of a database The main advantage of a DBMS is that it offers timely, interactive, and flexible data access The main advantage of a DBMS is that it offers timely, interactive, and flexible data access

16 Data Design Concepts Overview of Database Systems Overview of Database Systems Advantages Advantages Scalability: Scalability means that a system can be expanded, modified, or downsized easily to meet the rapidly changing needs of a business enterprise. Also known as extensibility. Scalability: Scalability means that a system can be expanded, modified, or downsized easily to meet the rapidly changing needs of a business enterprise. Also known as extensibility. Scalability Better support for client/server systems: In a client/server system, processing is distributed throughout an organization. Client/server systems require the power and flexibility of database design. Better support for client/server systems: In a client/server system, processing is distributed throughout an organization. Client/server systems require the power and flexibility of database design. Economy of scale: The inherent efficiency of high-volume processing on larger computers. Database design allows better utilization of hardware. If a company maintains an enterprise-wide database, processing is less expensive using a powerful mainframe server instead of using several smaller computers. Economy of scale: The inherent efficiency of high-volume processing on larger computers. Database design allows better utilization of hardware. If a company maintains an enterprise-wide database, processing is less expensive using a powerful mainframe server instead of using several smaller computers. Economy of scale Economy of scale

17 Data Design Concepts Overview of Database Systems Overview of Database Systems Advantages Advantages Flexible data sharing: Data can be shared across the enterprise, allowing more users to view the same information in different ways Flexible data sharing: Data can be shared across the enterprise, allowing more users to view the same information in different ways Enterprise-wide application – database administrator (DBA): (DBA) typically manages a database management system (DBMS). The DBA assesses overall requirements and maintains the database for the benefit of the entire organization rather than a single department or user. Enterprise-wide application – database administrator (DBA): (DBA) typically manages a database management system (DBMS). The DBA assesses overall requirements and maintains the database for the benefit of the entire organization rather than a single department or user.database administrator (DBA)database administrator (DBA) Stronger standards: effective database administration helps ensure that standards for data names, formats, and documentation are followed uniformly throughout the organization Stronger standards: effective database administration helps ensure that standards for data names, formats, and documentation are followed uniformly throughout the organization

18 Data Design Concepts Overview of Database Systems Overview of Database Systems Advantages Advantages Controlled redundancy: because the data is stored in a set of related tables, data items do not need to be duplicated in multiple locations Controlled redundancy: because the data is stored in a set of related tables, data items do not need to be duplicated in multiple locations Better security: the DBA defines authorization procedures to ensure that only legitimate users can access the database and can allow different users to have different levels of access Better security: the DBA defines authorization procedures to ensure that only legitimate users can access the database and can allow different users to have different levels of access Increased programmer productivity: programmers do not have to create the underlining file structure for the database, so they can concentrate on logical design Increased programmer productivity: programmers do not have to create the underlining file structure for the database, so they can concentrate on logical design Data independence: systems that interact with a DBMS are relatively independent of how the physical data is maintained Data independence: systems that interact with a DBMS are relatively independent of how the physical data is maintained

19 Data Design Concepts Database Tradeoffs Database Tradeoffs Because DBMSs are powerful, they require more expensive hardware, software, and data networks capable of supporting a multi-user environment Because DBMSs are powerful, they require more expensive hardware, software, and data networks capable of supporting a multi-user environment More complex than a file processing system More complex than a file processing system Procedures for security, backup, and recovery are more complicated and critical Procedures for security, backup, and recovery are more complicated and critical

20 Sequence Summary Files and tables contain data about people, places, things, or events that affect the information system Files and tables contain data about people, places, things, or events that affect the information system File processing systems, also called file-oriented systems, manage data stored in separate files, including master files, table files, transaction files, work files, security files, and history files File processing systems, also called file-oriented systems, manage data stored in separate files, including master files, table files, transaction files, work files, security files, and history files A database consists of linked tables that form an overall data structure A database consists of linked tables that form an overall data structure A database management system (DBMS) is a collection of tools, features, and interfaces that enable users to add, update, manage, access, and analyze data in a database A database management system (DBMS) is a collection of tools, features, and interfaces that enable users to add, update, manage, access, and analyze data in a database DBMS designs are more powerful and flexible than traditional file-oriented systems DBMS designs are more powerful and flexible than traditional file-oriented systems A database environment offers scalability, support for organization-wide access, economy of scale, data sharing among user groups, balancing of conflicting user requirements, enforcement of standards, controlled redundancy, effective security, flexibility, and data independence A database environment offers scalability, support for organization-wide access, economy of scale, data sharing among user groups, balancing of conflicting user requirements, enforcement of standards, controlled redundancy, effective security, flexibility, and data independence

21 Sequence Summary In this Sequence we have In this Sequence we have Distinguished between file processing system and database system Distinguished between file processing system and database system Explained the advantages and disadvantages of file processing system Explained the advantages and disadvantages of file processing system Described the various types of files in the file processing system Described the various types of files in the file processing system Defined the term data base management system (DBMS) Defined the term data base management system (DBMS) Explained the advantages of database system Explained the advantages of database system Described the database tradeoffs Described the database tradeoffs

22 Reference [1] System Analysis and Design, Sixth Edition Authors: Gary B. Shelly, Thomas J. Cashman and Harry J. Rosenblatt Authors: Gary B. Shelly, Thomas J. Cashman and Harry J. Rosenblatt Publisher: SHELLY CASHMAN SEWIES. Publisher: SHELLY CASHMAN SEWIES.