Organization of Information. Files, records and fields Paper files  computer files E.g. customer accounts information stored in a bank Customer name,

Slides:



Advertisements
Similar presentations
Content 15.1 Basic features Types of database Data structures 15.2 Creating a database Screen layout Entering data Editing data 15.3 Displaying data Searching.
Advertisements

Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Files  File organisation and usage A record is a group of logically related fields A file is a group of logically related records Files are used to store.
Advance Database System
Managing data Resources: An information system provides users with timely, accurate, and relevant information. The information is stored in computer files.
Predecessor to the Database: Traditional File Processing Records are stored in files. Programs are customized to process the data.
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.
METU Department of Computer Eng Ceng 302 Introduction to DBMS Disk Storage, Basic File Structures, and Hashing by Pinar Senkul resources: mostly froom.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 13 Disk Storage, Basic File Structures, and Hashing.
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Chapter 14 The Second Component: The Database.
Information Storage and Retrieval CS French Chapter 3.
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
Database terms Mr. Brunton.
File Organization Techniques
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.
Chapter 13 File Structures. Understand the file access methods. Describe the characteristics of a sequential file. After reading this chapter, the reader.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 17 Disk Storage, Basic File Structures, and Hashing.
1 © Prentice Hall, 2002 Physical Database Design Dr. Bijoy Bordoloi.
Chapter 13 Sequential File Processing. Master Files Set of files used to store companies data in areas like payroll, inventory Usually processed by batch.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
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.
Database A database program is a piece of software to organize and sort information. It creates an electronic list of information that can be sorted very.
System Development Lifecycle Verification and Validation.
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.
Indexed and Relative File Processing
Chapter 4c, Database H Definition H Structure H Parts H Types.
Sequential Files Chapter 13. Master Files Set of files used to store companies data in areas like payroll, inventory Set of files used to store companies.
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.
13. File Structures. ACCESSMETHODSACCESSMETHODS 13.1.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
Copyright © by Curt Hill Database Introduction History Why we want to use them Other fun.
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.
File Structures. 2 Chapter - Objectives Disk Storage Devices Files of Records Operations on Files Unordered Files Ordered Files Hashed Files Dynamic and.
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
13-1 Sequential File Processing Chapter Chapter Contents Overview of Sequential File Processing Sequential File Updating - Creating a New Master.
Use of ICT in Data Management AS Applied ICT. Back to Contents Back to Contents.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Code DescriptionColourSelling PriceNo. Sold C105MattPrimrose£ C106MattLilac£ C120SilkPrimrose£ C121SilkLilac£ C123SilkPlum£9.00.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Chapter 9 Designing Databases 9.1.
2/20: Ch. 6 Data Management What is data? How is it stored? –Traditional management storage techniques; problems –DBMS.
FILE ORGANIZATION.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Relational Databases.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Chapter 5 Record Storage and Primary File Organizations
DATA MANAGEMENT 1) File StructureFile Structure 2) Physical OrganisationPhysical Organisation 3) Logical OrganisationLogical Organisation 4) File OrganisationFile.
Computer Studies Today Chapter 2 1 » Payroll system » Mailing list system » Ticketing system » Point-of-sale system » Electronic funds transfer system.
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.
SVBIT SUBJECT:- Operating System TOPICS:- File Management
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
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.
DBMS P HYSICAL D ESIGN IN FILE ORGANIZATION Physical design is concerned with the placement of data and selection of access methods for efficiency and.
( ) 1 Chapter # 8 How Data is stored DATABASE.
Storage and File Organization
Learning Objectives Today we will Learn:
Ch. 8 File Structures Sequential files. Text files. Indexed files.
Modern Systems Analysis and Design Third Edition
9/12/2018.
Programming Logic and Design Eighth Edition
Disk Storage, Basic File Structures, and Hashing
FILE ORGANIZATION.
MSIS 670: Object-Oriented Software Engineering
Databases Lesson 2.
RDBMS Chapter 4.
Spreadsheets, Modelling & Databases
PROGRAMMING CONCEPTS CHAPTER 8
Presentation transcript:

Organization of Information

Files, records and fields Paper files  computer files E.g. customer accounts information stored in a bank Customer name, Hkid, account#, balance, address, tel# etc. Will be retrieved or updated through transactions by teller/ATM/phone/internet

Files, records and fields There are thousands of customers There are many pieces of information for each customer There are other files (personnel, fixed deposit, foreign currency account etc.) There is only one copy of each file Why ?

Files, records and fields A file is a collection of related records A record is a collection of related fields (fields pertaining to a particular record) A field is a single piece of information which may be of different types (numeric, character, date etc.) and of different length.

Database A database is a collection of related files for a specific purpose or business E.g. school management Student personal file Examination file Remission fee file Student activity file Staff file (all the files are related)

Information hierarchy database file record field ….

Master file and transaction file Master file contain data that are needed for relatively long period of time E.g. customer file are needed for retrieving or updating the balance Student file are needed for retrieving the address for sending letters Seat file are needed for retrieving and updating the seat assignment when booking the seats through the ORBTIX system

Master file and transaction file Transaction file contain data that are needed for a relatively short period of time E.g. order file is needed to update the stock file Attendance file is needed to update the payroll file

Data Processing Periodically, transaction files are used to update the corresponding master files. E.g. stock file (items stored in stock) Item code, description, price, quantity Transaction file (items sold) Item code, quantity quantity in stock file is updated according to transaction records at end of day

Practical Using MS Visual Foxpro / Access Create tables(data files) Design record structure and Input data write programs/forms Using Pascal Design data structures Create text files Write procedures

Records Records consists of fields Fields are of different types/formats Fields have different length/size Length of record Fixed length – all records are of the same length and layout Easier to design records and programs Wasteful of storage Variable length – different layout and length of records Makes best use of storage

File organization Sequential file organization Records arranged in order of some key field For each transaction record, the master file is read from beginning to end to search for the desired record this is called sequential access mode and files designed in this way called sequential files Master file and transaction files must be sorted in order of the same key field before processing May be stored on magnetic tapes or disks

Sequential file.. AU WC,67CHAN TM,67 MA SL,67 LAU SY,67 Beginning of file Record data Record #2 Key field End of file Rec #1 Rec #3

Direct/Random file Records are stored in a locations (on disk) determined by the key field through a hashing technique (math. formula) Given a record, get the key value, compute the address (which surface,track,sector) Directly go to the location, then retrieve (or store) the record Hence direct access mode and direct file time to access is independent of the key value or location

Direct file Rec Key  address Track#15, sector#8 ‘LAU SY’  transformation  track#15, sector 8

File Processing Sorting – re-arrange the records in a file so that they are in order of some key field Searching – locate a desired record with a particular key value Retrieving – reading the data record from the file Amending – changing the content of a desired record Deleting – remove a desired record from the file Inserting – adding a new record to the file Updating – changing data in file including amending, deleting, updating