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.

Slides:



Advertisements
Similar presentations
Organisation Of Data (1) Database Theory
Advertisements

Chapter 2.7 Data management.
Dr Gordon Russell, Napier University Unit Data Dictionary 1 Data Dictionary Unit 5.3.
Data - Information - Knowledge
Managing Data Resources
Managing data Resources: An information system provides users with timely, accurate, and relevant information. The information is stored in computer files.
Database Software File Management Systems Database Management Systems.
1 Introduction to Database Management Systems Lila Rao Graham.
Organizing Data & Information
Introduction to Databases Transparencies
Chapter 1 INTRODUCTION TO DATABASE.
Databases and Database Management Systems
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Managing Data Resources. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits that represents a single.
WHAT IS A DATABASE ? a collection of data organized to help easy retrieval & usage.
It refers to the software used to manage the database.
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
Database Design and Introduction to SQL
Chapter Eight Database Applications and Implications.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Chapter 13 File Structures. Understand the file access methods. Describe the characteristics of a sequential file. After reading this chapter, the reader.
1 © Prentice Hall, 2002 Physical Database Design Dr. Bijoy Bordoloi.
Section 1.1: Slide 1 of 24 Introduction to Relational Databases.
1 California State University, Fullerton Chapter 7 Information System Data Management.
Database Management System (DBMS)
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Databases and Database Management Systems
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Chapter 6 1 © Prentice Hall, 2002 The Physical Design Stage of SDLC (figures 2.4, 2.5 revisited) Project Identification and Selection Project Initiation.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
Oleh Munawar Asikin. Principles of Information Systems, Seventh Edition 2  Database management system (DBMS): group of programs that manipulate database.
Organizing Data and Information. What is Data?? Numbers, characters, images, or other method of recording, in a form which can be assessed by a human.
G063 - Distributed Databases. Learning Objectives: By the end of this topic you should be able to: explain how databases may be stored in more than one.
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.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Module 2: Information Technology Infrastructure Chapter 5: Databases and Information Management.
Chapter 4c, Database H Definition H Structure H Parts H Types.
6/2/20161 Database Systems Lecture # 3 By: Asma Ahmad Jan 21 st, 2011.
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
Databases.
Data resource management
Managing Data Resources. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits that represents a single.
System design : files. Data Design Concepts  Data Structures  A file or table contains data about people, places or events that interact with the system.
Why do we need a database?
Database Management Systems (DBMS)
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.
Physical Database Design Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create.
Flat Files Relational Databases
CIS 250 Advanced Computer Applications Database Management Systems.
2/20: Ch. 6 Data Management What is data? How is it stored? –Traditional management storage techniques; problems –DBMS.
FILE ORGANIZATION.
King saud university Introduction to Database Systems (Chapter 1: Databases and Database Users)
Introduction to Databases Angela Clark University of South Alabama.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
Databases Flat Files & Relational Databases. Learning Objectives Describe flat files and databases. Explain the advantages that using a relational database.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
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.
Managing Data Resources File Organization and databases for business information systems.
Databases A brief introduction….
Introduction to Database Management System
Basic Concepts in Data Management
G063 - Distributed Databases
FILE ORGANIZATION.
Relational Database Model
Flat Files & Relational Databases
Database management systems
Presentation transcript:

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 may be manual, or computer.

A RECORD is a collection of descriptive fields, e.g. A Customer record = Customer Name Customer Number Customer Address Customer Credit Limit

A FIELD is a collection of characters, e.g. Customer Name = Gordon Brittas A KEY field is a field by which a record can be uniquely located, e.g. Customer Number

A CHARACTER (or BYTE) may be alphabetic or numeric and is made up of two nibbles A nibble is made up of four bits (binary digits) A bit is either 0, or 1

A TRANSACTION file, not surprisingly, holds transactions e.g. An addition - a new customer A deletion - removing a customer An amendment - increasing a customer's credit limit The contents of these files are constantly changing These files are mainly used to update master files

A MASTER file contains important data that is relatively static e.g. The Customer File A REFERENCE file contains reference information that also seldom changes e.g. Price List Department Codes A SPOOL file is an intermediate store for data before it is written out to a printer or a disc. A WORKFILE or TEMPORARY file is used as working space during operations such as sorting.

WHY DATABASES? 1.More applications = redundant data e.g.Master File for Sales Master File for Accounts Master File for Support all require Customer details 2. Add/Change applications = change files = need to change other applications accessing those files (fields may have moved) 3. More Management Information required = data needed from more than one file

A DATABASE is a collection of data supporting the operations of an organisation. It is a means of creating and maintaining data on a computer such that it is useable for many purposes. In order to be efficient, it must have the following characteristics: 1. Non-Redundancy 2. Data Independence 3. Usable by all Programs 4. Support all necessary linkages 5. Adopt a common approach across data Details to follow …..

1.Non-Redundancy E.g. Customer name and address should appear once only in the database Possible problems if it appears more than once are: a. The values of that data item may differ b. The waste of storage space c. The complexities of updating several occurrences However, for reasons of security or speed of access, some redundancy may be acceptable

2. Data Independence If you need to change the program, you don't have to change the data AND If you need to change the data, you don't have to change the program 3. Program Usage The database must be usable by all existing programs AND where possible, all possible future programs

4. Support all necessary linkages One application may require employee + pension contribution (one file) Another may require employee + tax payment (different file)

5. Common approach to data e.g. common length for names common abbreviations Data Dictionary

Logical vs. Physical Data LOGICAL data is the way datais seen by the program PHYSICAL data is the way the datais stored on computer disc The physical storage of the data has implications on the speed of access and on the number of linkages possible The piece of software that interfaces between the logical requirements of the program and the physical layout of the data is called the DBMS (Database Management System)

Types of Databases Hierarchical Network Relational

Hierarchical Top-down or tree arrangement Rapid access of data PROVIDING it involves descending the hierarchy If higher level details are not known, it involves searching every lower level record e.g. IMS (Information Management System) from IBM

Network Similar to tree structure but with additional links, using pointers Gives faster access, but occupies more space and requires a more complex DBMS e.g. IDMS and TOTAL

Relational Consists of a number of tables or two-dimensional arrays with links between entries e.g. dBaseIV, Oracle, Ingres, Access The flexibility in use requires a large number of 'virtual' tables and hence a large amount of storage space

Advantages 1. Avoids duplication of data, i.e. waste 2. Easier to keep it up-to-date and consistent 3. Permits multiple usage of data 4. Centralisation of data causes it to be regarded, and treated, as a major resource 5. Independent of programs 6. New applications easier, programmer not responsible for file organisations

Disadvantages 1. All data held together, therefore possible problems regarding access and security 2. Only one set of data, therefore accuracy and integrity essential 3. Must be available continuously 4. Communications considerations for distributed systems

Choosing a database package - Questions to ask before: 1. How much data will be stored 2. How will the data be accessed - processing requirements 3. How complex need the database be 4. Will users be computer literate 5. Will people who set up the database be computer literate 6. Does it have to be multi-user 7. Are future modifications allowed 8. Security adequate 9. Speed adequate 10. Report writing facilities adequate 11. Supplier support adequate