Information Processing Lecture 9B Criteria for File Organisation.

Slides:



Advertisements
Similar presentations
Chapter 6 Storage and Multimedia
Advertisements

Computer Studies Today Chapter 18 1 »Two main types of secondary storage devices: –Magnetic storage devices –Optical storage devices.
AS ICT. Identify suitable uses of common storage media understand the types of access and access speeds required for each use (e.g. serial/sequential,
Term Project Grade 9 Section B Due december 18 Find and research one Emerging technology not studied in class. It can be a prototype or already available.
Chapter 2.7 Data management.
Methods of Access Serial Sequential Indexed Sequential Random Access
Computer Studies Systems Development. Systems investigation Systems analysis Systems design Systems implementation Systems testing Systems evaluation.
Function Point Analysis example. Function point FP is defined as one end-user business function FPA evaluates the system from a user perspective.
3.1 Data and Information –The rapid development of technology exposes us to a lot of facts and figures every day. –Some of these facts are not very meaningful.
Advance Database System
Predecessor to the Database: Traditional File Processing Records are stored in files. Programs are customized to process the data.
1 Storage Hierarchy Cache Main Memory Virtual Memory File System Tertiary Storage Programs DBMS Capacity & Cost Secondary Storage.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 13 Disk Storage, Basic File Structures, and Hashing.
Operating Systems File systems
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Databases and Database Management Systems
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Data.
Commercial Data Processing
Examine Quality Assurance/Quality Control Documentation
CORE 2: Information systems and Databases STORAGE & RETRIEVAL 2 : SEARCHING, SELECTING & SORTING.
Introduction to Database Systems
File Organization Techniques
Module Designing Computer-based Information Systems
Storage and Multimedia Part II Bayram Güzer. Magnetic Tape Storage It is similar to tape used in music cassettes –Plastic tape with a magnetic coating.
Programming Logic and Design Seventh Edition
Chapter 13 Sequential File Processing. Master Files Set of files used to store companies data in areas like payroll, inventory Usually processed by batch.
1. Outline 4 functions of a typical operating system of a PC(4) Resource management Operating systems organise how to: Load programs from backing storage.
1 California State University, Fullerton Chapter 7 Information System Data Management.
The Fun That Is File Structures Pages By: Christine Zeitschel.
Data and its manifestations. Storage and Retrieval techniques.
Characteristics of ERP Systems. There are some significant differences between ERP and non-ERP systems. These differences are:  In ERP systems, information.
Chapter 2.8 PAYROLL APPLICATIONS.
Modes of Processing. Transactions  Transactions are events which need to be recorded with the production, sale and distribution of goods and services.
Indexed and Relative File Processing
- Ahmad Al-Ghoul Data design. 2 learning Objectives Explain data design concepts and data structures Explain data design concepts and data structures.
Databases. What is a database?  A database is used to store data. The word DATA is actually Latin for FACTS. A database is, therefore, a place, or thing.
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.
The Functions of Operating Systems Desktop PC Operating Systems.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
System design : files. Data Design Concepts  Data Structures  A file or table contains data about people, places or events that interact with the system.
Types of Processing of Data www. ICT-Teacher.com.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
Organization of Information. Files, records and fields Paper files  computer files E.g. customer accounts information stored in a bank Customer name,
Use of ICT in Data Management AS Applied ICT. Back to Contents Back to Contents.
20/12/20151 Data Structures Backing up and Archiving Data.
CSE323 การวิเคราะห์และออกแบบระบบ (Systems Analysis and Design) Lecture 12: Data Management Design.
Storage Devices.
FILE ORGANIZATION.
Chapter 11 File Systems and Directories. 2 File Systems (Chapter 11.1) File: 1. A named collection of related data. 2.smallest amount of information that.
Chapter 5 Record Storage and Primary File Organizations
The concept of Data Processing. INPUT DESIGN Input Data Persistent Data Process Output.
1 Files and databases Suppose a school stores information about its students on record cards. Each student has their own card; this is their record. Record.
( ) 1 Chapter # 8 How Data is stored DATABASE.
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Transaction processing systems
Learning Objectives Today we will Learn:
Physical Database Design and Performance
Made By:- Aslam B Voc(SD)-I
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Programming Logic and Design Eighth Edition
FILE ORGANIZATION.
GCSE Computing Databases.
Backing Up 01/12/2018.
Computer Application Waseem Gulsher
Computers: Tools for an Information Age
Management Information Systems
PROGRAMMING CONCEPTS CHAPTER 8
Presentation transcript:

Information Processing Lecture 9B Criteria for File Organisation

Objectives After studying this week’s work you should be able to: know and be able to work with the criteria for the selection of file organisation methods relate these criteria to specific information processing uses describe the difference between relative and physical addressing know the different types of file used in updating files and batch processing.

Selection of File Organisation Methods In the previous lecture we looked at the different ways in which we could organise information. Here we examine some of the criteria we use for selecting from these methods for a particular application.

Criteria There are four main criteria : File Use Ratio File Volatility File Size User Requirements These criteria will be explored over the next few slides

File Use Ratio This ratio is calculated for a specific time period, e.g. a day, week or month. It is calculated by the formula: File Use Ratio = number of records accessed total number of records

Calculating the Ratio Suppose a file has 5000 records. Further, suppose we have examined the files and found that during January 600 records were accessed File Use Ratio for January = =0.12 This figure represents a relatively low use

What does the ratio mean? Less than 0.25 represents low use Between 0.25 and 0.75 would be medium use Greater than 0.75 would be high use It must be remembered that these usages would be based on a particular time-period.

Some Examples Low Use: Finding owner’s details in a Police database of a car used in a robbery Medium Use Updating customer “loyalty card” bonus after a sale High Use Processing of examination results on a database of students

File Volatility The volatility of the file is a broad indication of the extent to which the file needs modifying and updating Files with high volatility contain records which are updated almost constantly, for example bank account details Files with low volatility contain relatively stable data, for example archived data on student performance in examinations

Volatility and Indexing File indexing is only normally used where volatility is low In high volatility files, the processing cost of the index outweighs its advantages.

File Size The size of the file is an important criterion in deciding which method of organisation to use Accessing larger files using serial and sequential file techniques can cause processing times to lengthen excessively Very large files will require indexed or direct access.

User Requirements The main factor here is how the user wishes to access the file. There are two main types of use: Batch access where the user wishes to update or modify many files at one time, for example overnight processing of records. Interactive access where the files need to be accessed and updated constantly, and records need to be kept up-to-the minute.

Matching Methods to Requirements Sequential or Serial files are well-suited to Batch Access For interactive Access, Indexed or Direct files would normally be required

Further Criteria In addition to the four main criteria discussed so far, we also need to consider: The type of storage available The complexity of the data The availability and cost of software to carry out the tasks.

Addressing There are two different ways in which we can index the data for later retrieval: Physical Addressing Relative Addressing

Physical Addressing All addressing ultimately must address the physical location in which the data is stored. On a magnetic disk we would need to know : Cylinder Surface Sector

Cylinders, Surfaces and Sectors A Hard Drive is split up into separate disks called platters These can have one or two surfaces These are divided up into tracks and sectors

Cylinders A Cylinder is a collection of the equivalent tracks on the surfaces of different platters Surface 1 Track 2 Surface 2 Track 2 Surface 4 Track 2 Surface 3 Track 2

Example of Physical Addressing Record number A stored at cylinder 2 surface 3 sector 5

Relative Addressing Most file techniques use some form of relative addressing. This means that the address is the position in the file and not its physical location on tape or disk.

Example of Relative Addressing Relative AddressRecord____ A B B C etc...

Updating Files An information system consists of 6 types of file: Master File The set of permanent records Transaction File Records of changes, deletions etc. made to the master file Table File tables of static data used by other processes and files Report File Information used for display or printing Control File the file handling records History File Backup files

Batch Processing In batch processing, data is stored up to be processed at one event, usually at the end of the day’s workings Batch processing usually is a “single task” which continues until the job is finished.

Follow-Up Work We have developed all the ideas and techniques in these two lectures to allow you to develop an understanding of files and file handling. To follow this up, Rread The File Handling IP Booklet Read the Set Book pp

Summary Selection of a suitable method of file organisation depends on file use ratio, volatility, file size, user requirements File addresses can refer to physical locations or relative positions File updating requires the use of master, transaction, table, report, control and history files Batch Processing involves different techniques depending upon the file organisation method.