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.

Slides:



Advertisements
Similar presentations
Database vocabulary. Data Information entered in a database.
Advertisements

TransportPortal TransportPortal is a software designed for Transporters in Tanzania and East Africa. It helps to manage all basic things of a transport.
Organisation Of Data (1) Database Theory
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Accessing and Using the e-Book Collection from EBSCOhost ® When an arrow appears, click to proceed to the next slide at your own pace. To go back, click.
3/5/2009Computer systems1 Analyzing System Using Data Dictionaries Computer System: 1. Data Dictionary 2. Data Dictionary Categories 3. Creating Data Dictionary.
Customer Service Module Course Contents Table of Contents Enter A Request Search A Request Create Invoice (Funeral home request) Search Invoice Manage.
Section 16.1 Cash Registers
Recap of Feb 27: Disk-Block Access and Buffer Management Major concepts in Disk-Block Access covered: –Disk-arm Scheduling –Non-volatile write buffers.
Databases and Processing Modes. Fundamental Data Storage Concepts and Definitions What is an entity? An entity is something about which information is.
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
DATA INFORMATION.
Databases and Database Management Systems
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Business Functional Areas 1. Pre-Sales (special thanks to Geoff Leese)
Information Storage and Retrieval CS French Chapter 3.
Introducing StoreTrader Live Pharmacy Edition The real-time PoS system for independent pharmacies.
Database Design IST 7-10 Presented by Miss Egan and Miss Richards.
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
Database terms Mr. Brunton.
Your Tour Guide is Jim Provensal. What We Will Cover s Introduction to MicroSoft Access u What is a database u What is a “Relational” Database s The Major.
CHP - 9 File Structures. INTRODUCTION In some of the previous chapters, we have discussed representations of and operations on data structures. These.
VA Advantage!
Access 2007 Database Application Managing Business Information Effectively BCIS 1 and 2.
Databases Introduction. What is a Database? A DATABASE is a collection of related data. –Data is just another name for information.
Slide 1 St Andrew’s High School Standard Grade Computing Databases Standard Grade Computing Studies.
1 OPOL Training (OrderPro Online) Prepared by Christina Van Metre Independent Educational Consultant CTO, Business Development Team © Training Version.
Slide 1 Standard Grade Computing Databases. Slide 2 Standard Grade Computing Definitions DatabaseA database is a structured collection of similar information.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
1. To start the process, Warehouse Stationery (WSL) will invite you to use The Warehouse Group Supplier Electronic Portal and will send you the link to.
Information Systems & Databases 2.2) Organisation methods.
Chapter 17 Creating a Database.
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.
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.
DATABASE What exactly is a database How do databases work? What's the difference between a spreadsheet database and a "real" database?
Microsoft Access 2000 Presentation 1 The Basics of Access.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
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.
What have we learned?. What is a database? An organized collection of related data.
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
Database Management Systems (DBMS)
Use of ICT in Data Management AS Applied ICT. Back to Contents Back to Contents.
Databases 101 © Dolinski What you will learn How relational databases work What are the components that make up a database How to create each component.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Database Use and Structure
Training Day 5 Customer Order Processing Recipe Manager © User Training September 2014 Recipe Manager Vydata Systems Training Presentation.
Sample Table Standard Notation Entity name in uppercase
Description and exemplification use of a Data Dictionary. A data dictionary is a catalogue of all data items in a system. The data dictionary stores details.
Databases Flat Files & Relational Databases. Learning Objectives Describe flat files and databases. Explain the advantages that using a relational database.
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.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
Invoices and Service Invoices Training Presentation for Raytheon Supply Chain Platform (RSCP) April 2016.
GLENCOE / McGraw-Hill. Cash Receipts, Cash Payments, and Banking Procedures.
Invoices Training Presentation for Supply Chain Platform: BAE Systems May 2015.
( ) 1 Chapter # 8 How Data is stored DATABASE.
Transaction processing systems
Databases Key Revision Points.
CHP - 9 File Structures.
Practical Office 2007 Chapter 10
Handling Data Designing Structure, Capturing and Presenting Data
Week 12 Option 3: Database Design
GCSE Computing Databases.
Creating Activities.
Handling Data Designing Structure, Capturing and Presenting Data
Spreadsheets, Modelling & Databases
Presentation transcript:

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 Field The individual pieces of information recorded on each card, such as name and date of birth, are called fields.

2 These are the fields. There are fields in each record of the file. Video_ID is the Key Field. This is the only field that has a different value in every record. It is used to distinguish one record from another. Some videos could have the same Title, Supplier, etc. The Video_ID is the only way a particular video can be picked out. A uniquely identifies an individual record. This is one complete record. There are records in this file. Keyfield SEVEN

3 Fixed and variable length records A fixed length record is one where the length of the fields in each record has been set to be a certain maximum number of characters long. A set amount of memory storage space is set aside for each field. If the contents of a field don’t fill the memory completely it is remains empty and is wasted.

4 The problems with fixed length records are:- Fields very rarely contains the maximum number of characters allowed which wastes memory. Values sometimes can’t be entered because they are too large to fit inside the allowed memory space in a field. The advantage of fixed length records is that they make file processing less complicated because the start and end of each record is always a fixed number of characters apart. This makes it much quicker to locate both individual records and fields.

5 A variable length record is one where the length of a field can change to allow data of any size to fit. A special marker (# in this example) indicates where each field ends. The length of a field depends upon the data that is placed in it. Only the memory space needed for a field is ever used — so none is wasted.

6 The advantage of variable length records is that space is not wasted, only the space needed is ever used. The main problem with variable length records is that it is much more difficult to locate the start and end of individual records and fields. To separate variable length records each field has a special character to mark where it ends — called an ‘end- of-field marker’. When records need to be located the computer must count through the end-of-field markers to locate individual records and fields.

7 Computerised databases A database is a organised collection of related files. Use a database when you need to store lots of data Key Field In this table, each column is a different field Each row is a record Data is organised into FIELDS and RECORDS. The KEY FIELD contains an item of data that is UNIQUE to that record.

8 FLAT-FILE or RELATIONAL?  A Flat-file database has all the data organised into ONE table.  Many modern databases are described as being relational.  A relational database stores data in tables that are linked together using common fields.

9 Linked data tables in a relational database

10 Most databases are set-up using a database package. A typical database package will allow a user to: Create a file by entering their own field definitions. Automatic validation checks for fields. Add new or delete unwanted fields Add, edit and delete records Simple searches and complex searches Sorts (ascending and descending) Electronic data entry forms Import and export of data Database packages

11 Details of all the changes that need to be made to a master file are often collected together in a transaction file. The master file is updated by comparing it with the transaction file and making changes to any records that appear in both files. Normally at least three ‘generations’ of a master file are kept for backup purposes. If the latest version of the master file is damaged it can be recreated by re-running the previous update using the old master and transaction files.

12 The grandfather-father-son method of updating Grandfather Father Son

13 The sale of an item in a shop, the hire of a video, the delivery of new stock to a supermarket are all examples of transactions. A file of these transactions (transaction file) is usually kept and used to update a master file of data. Example Application : Faye's Catalogue Faye's Catalogue receives an order To Faye's Catalogue From: Mrs Thompson 3, Elm Street Bridgend Account No Date : Please supply the goods shown below: DescriptionStock No.Quantity Grey SkirtS Red SweaterS White ShirtS621772

14 Account No. Date Order No. Stock No. Qty Stock No. Qty Stock No. Qty S321991S481052S A record from the order file looks like this

15. To produce an Invoice, two other files are needed : The Customer File : Accoun t No. Customer Name Address Credit Limit Amou nt Owed Discount Level 15244Mrs Thompson3, Elm Street Bridgend The Stock File : Stock No. Product Name Price No in Stock S32199Grey Skirt

16 Faye's Catalogue then produces this invoice and sends it together with the goods ordered to Mrs Thompson.... Faye's CatalogueINVOICE 12, Book Road, Fayeville, Kent Please return this invoice with your payment. DateAccount No.Order No. 15/03/ DescriptionStock No.QuantityPriceCharge Grey SkirtS321991£12.99 Red SweaterS481052£24.99£49.98 White ShirtS621772£18.00£36.00 Total Charge£98.97 Less 5% Discount£94.02 Click here to return to revision slides Click here to return to revision slides