System design : files. Data Design Concepts  Data Structures  A file or table contains data about people, places or events that interact with the system.

Slides:



Advertisements
Similar presentations
How data is stored. Data can be stored in paper-based systems including: Reference books Dictionaries Encyclopaedias Directories Index Files Filing systems.
Advertisements

Chapter 2.7 Data management.
2P13 Week 11. A+ Guide to Managing and Maintaining your PC, 6e2 RAID Controllers Redundant Array of Independent (or Inexpensive) Disks Level 0 -- Striped.
Predecessor to the Database: Traditional File Processing Records are stored in files. Programs are customized to process the data.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 10 Managing a Database.
Information Processing Lecture 9B Criteria for File Organisation.
Databases and Processing Modes. Fundamental Data Storage Concepts and Definitions What is an entity? An entity is something about which information is.
Living in a Digital World Discovering Computers 2010.
Introduction to Databases Transparencies
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Discovering Computers Fundamentals, 2011 Edition Living in a Digital World.
Chapter 3: Data Modeling
BUSINESS DRIVEN TECHNOLOGY
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
DBMS1 Database Management System (DBMS) Introductory Concepts Week-1.
Chapter 9 Database Management
Introduction to Databases. Case Example: File based Processing Real Estate Agent’s office Property for sale or rent Potential Buyer/renter Staff/employees.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
File Organization Techniques
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Discovering Computers Fundamentals, 2012 Edition Your Interactive Guide to the Digital World.
Programming Logic and Design Seventh Edition
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
Components of Database Management System
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Data and its manifestations. Storage and Retrieval techniques.
Files, Databases, & E-Commerce 1 Using Information Technology Chapter 8 Files, Databases, & E-Commerce.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Accounting Information Systems 9 th Edition Marshall.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe the qualities of valuable information.
Information: Policy, Strategy and Systems Module Overview
Storing Organizational Information - Databases
Database What is a database? A database is a collection of information that is typically organized so that it can easily be storing, managing and retrieving.
- Ahmad Al-Ghoul Data design. 2 learning Objectives Explain data design concepts and data structures Explain data design concepts and data structures.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
13-1 COBOL for the 21 st Century Nancy Stern Hofstra University Robert A. Stern Nassau Community College James P. Ley University of Wisconsin-Stout (Emeritus)
Now, please open your book to page 60, and let’s talk about chapter 9: How Data is Stored.
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
FILES AND DATABASES. A FILE is a collection of records with similar characteristics, e.g: A Sales Ledger Stock Records A Price List Customer Records Files.
Chapter 9 Database Systems Introduction to CS 1 st Semester, 2014 Sanghyun Park.
3 / 12 Databases MIS105 Lec13 Irfan Ahmed Ilyas CHAPTER Prepared By:
IT Auditing & Assurance, 2e, Hall & Singleton Chapter 8: IT Auditing & Assurance, 2e, Hall & Singleton CAATTs for Data Extraction and Analysis.
IT Auditing & Assurance, 2e, Hall & Singleton Chapter 8: CAATTs for Data Extraction and Analysis IT Auditing & Assurance, 2e, Hall & Singleton.
Ch6. Introduction to Database. What is a Database? Database is a collection of related information. It is organized so that it can easily be accessed,
3 Data. Software And Data Data Data element – a single, meaningful unit of data. Name Social Security Number Data structure – a set of related data elements.
SYS364 Database Design Continued. Database Design Definitions Initial ERD’s Normalization of data Final ERD’s Database Management Database Models File.
Database Management Systems (DBMS)
IT in Business Personal and PC Databases Lecture – 14.
University of Sunderland COM 220 Lecture Seven Slide 1 Database Users & Administration.
1 Chapter 9 Database Management. Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe.
CIS 250 Advanced Computer Applications Database Management Systems.
FILE ORGANIZATION.
Introduction to Databases Dr. Osama AL Rababah. Objectives In this capture you will learn: Some common uses of database systems. The characteristics of.
Network Security Philadelphia UniversitylAhmad Al-Ghoul Module 7 Module 7 Data Base Security  MModified by :Ahmad Al Ghoul  PPhiladelphia.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Topics Covered: File Components of file Components of file Terms used Terms used Types of business file Types of business file Operations on file Operations.
GCSE ICT How data is stored. How is data stored? Data can be stored in paper-based systems including: –Reference books –Dictionaries –Encyclopaedias –Directories.
( ) 1 Chapter # 8 How Data is stored DATABASE.
What is Database Administration ?
Chapter Ten Managing a Database.
Week 12 Option 3: Database Design
Database Management Systems
Programming Logic and Design Eighth Edition
FILE ORGANIZATION.
Database & Information Systems
Management Information Systems
Database management systems
Presentation transcript:

System design : files

Data Design Concepts  Data Structures  A file or table contains data about people, places or events that interact with the system  File-oriented system  File processing  Database system

Data processing 1-Input data 2-process 3-Output data

Physically this data consists of alphanumeric characters grouped into data items or fields: for example, a customer name or address Related fields are grouped into records A file is an organized collection of related records

Types of data Master data is critical to the system and its users. System Telecom, for example, might hold data about customers, about the company’s own employees, and about call-logging stations.

Types of data Transaction data is data relating to business activities.  such as telephone calls logged. For example, a new set of records may be created each day and written to file between system start-up and system shut-down. The next morning, that data will be used to update the master data, and a new transaction file will be created for that day’s transactions.

Types of Data Transaction files are sometimes known as transaction logs, log files, update files or change files Output files contain information for output from the system, such as data for printing as a report. They are usually generated by processing master data and transaction data.

Types of Data

Security or dump files contain copies of data held in the computer at a particular moment.  Their purpose is to provide a back-up, to permit recovery in case data is lost or damaged.

Archive files contain archive information for long- term storage.  System Telecom might want to archive details of payments made by customers over past years. Library files contain library routines such as utility programs and system software.  The term can encompass any file containing any compiled computer program.

Audit files are used by a computer auditor to check that the programs are functioning correctly, and to trace any change to master files.  Such a file contains copies of all transactions that have been applied to the permanent system files.

Data Design Concepts  Overview of File Processing  Can be more efficient and cost-effective in certain situations  Potential problems Data redundancy Data integrity Rigid data structure

Data Design Concepts  The Evolution from File Systems to Database Systems  Advantages Scalability Better support for client/server systems Economy of scale Flexible data sharing Enterprise-wide application – database administrator (DBA)

Data Design Concepts  The Evolution from File Systems to Database Systems  Advantages Stronger standards Controlled redundancy Better security Increased programmer productivity Data independence

Figure 8-5: Data Structure Hierarchy 15

File Organization Serial Organisation  The main disadvantage of serial organization is that it does not cater for direct access to records.  If the required record is in the fifteenth position in the file, the first 14 must be read prior to accessing record 15.

File Organization Sequential Organisation  The advantages of sequential organisation are: It is a simple method of writing data to disk. It is the most efficient organisation if the records can be processed in the order in which they are read. It can be used for variable-length records as well as fixed-length records.

File Organization Indexed Sequential Organisation  The main advantage of indexed sequential organization is its versatility. It combines direct access to a group of records with rapid sequential scanning of the group to obtain the record required.  What is disadvantage??

Random Organization  A mathematical formula is derived that, when applied to each record key, generates an answer that is used to position the record at a corresponding address.  The main advantages of random organization are: No indexes are required. It permits the fastest access times. It is suitable for volatile data: records can be inserted or deleted indefinitely without reorganizing the dataset.

 What are disadvantages  Give an example of such mathematical formula Full Index Organization Chained Data

reports Write about  Access methods  Factors Influencing File Design Systems Analysis and Design 2nd Edition By:

Questions What are the main issues to be considered when choosing a file organization? What circumstances would make an indexed sequential organization appropriate for a master file?