Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.

Slides:



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

INFORMATION TECHNOLOGY Software Applications. WORD PROCESSING WP is the most commonly used package in business. A large number of documents are produced.
Topic Denormalisation S McKeever Advanced Databases 1.
Databases and Processing Modes. Fundamental Data Storage Concepts and Definitions What is an entity? An entity is something about which information is.
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Database Design Concepts INFO1408 Term 2 week 1 Data validation and Referential integrity.
Object-Orientated Design Unit 3: Objects and Classes Jin Sa.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Database Design Concepts Info1408
Information Storage and Retrieval CS French Chapter 3.
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
IGCSE ICT Data Handling Applications.
2.3 Organising Data for Effective Retrieval
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
Chapter 8: Systems analysis and design
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
AS Module 2 Information; Management and Management and Manipulation or what to do with data, how to do it, and……... ensure it provides useful information.
School library systems 3.2 Education. Libraries often contain many thousands of books, magazines, CD- ROMs, etc. In fact, some of the largest libraries.
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 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
ICT IGCSE.  Understand a wide range of work-related ICT applications and their effects, including applications in libraries (such as records of books.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
HNDComputing – DeMontfort University  DeMontfort University 2011 Database Fundamentals wk2 Database Design ConceptsDatabase Design Concepts Database Design.
Artificial, Composite and Secondary UIDs
CSC 240 (Blum)1 Introduction to Database. CSC 240 (Blum)2 Data versus Information When people distinguish between data and information, –Data is simply.
What is a Database? A Database is…  an organized set of stored information usually on one topic  a collection of records  a way to organize information.
Creating a Database Designing Structure, Capturing and Presenting Data.
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.
M1G Introduction to Database Development 2. Creating a Database.
Data and information. Information and data By the end of this, you should be able to state the difference between DATE and INFORMAITON.
Systems Life Cycle. Know the elements of the system that are created Understand the need for thorough testing Be able to describe the different tests.
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.
A Level Computing#BristolMet Session Objectives#U2 S7 MUST understand the difference between an array and record SHOULD be able to estimate the size of.
Chapter 1 1 Lecture # 1 & 2 Chapter # 1 Databases and Database Users Muhammad Emran Database Systems.
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
DATABASE What exactly is a database How do databases work? What's the difference between a spreadsheet database and a "real" database?
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.
Introduction to Database Tonga Institute of Higher Education NOS 215.
System design : files. Data Design Concepts  Data Structures  A file or table contains data about people, places or events that interact with the system.
Database Management Systems (DBMS)
Use of ICT in Data Management AS Applied ICT. Back to Contents Back to Contents.
Introduction to Databases CISC Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 1: Introduction to IS2803 Rob Gleasure
Sample Table Standard Notation Entity name in uppercase
Switch off your Mobiles Phones or Change Profile to Silent Mode.
Software. Because databases can get very big, it is important to decide exactly what is going to be stored in each field. Fields can be text, number,
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.
 At the end of the class students should:  distinguish between data and information.  explain the characteristics and forms of Information Processing.
Prepared By: Bobby Wan Microsoft Access Prepared By: Bobby Wan
Databases Chapter 9 Asfia Rahman.
Databases Chapter 16.
Handling Data Using Databases
GCSE Computing Databases.
CIS16 Application Development – Programming with Visual Basic
Databases Software This icon indicates the slide contains activities created in Flash. These activities are not editable. For more detailed instructions,
Using a database.
Databases.
Spreadsheets, Modelling & Databases
Introducing a Database
Databases This topic looks at the basic concept of a database, the key features and benefits of a Database Management System (DBMS) and the basic theory.
Presentation transcript:

Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage

Lecture 2- Data Storage Objectives of lecture Introduce the purposes of data processing Explain the terms of fields, records and files Explain how these are organised in traditional data processing systems Introduce how Database offers a solution to some of the problems with traditional data processing systems

Information System Information systems process data What is data? A definition Often computerised but can be manual

Typical activities of an Information System Getting data into the system ( ) Storing data ( ) Sorting data ( ) Finding data ( ) Processing data into a usable data ( ) Changing data ( ) Checking data is correct and reasonable (Validation and verification) Calculation

To be able to carryout these processes we need to organise our data The smallest unit of usable data is known as a field or

Properties of fields Each field will have A name A description A Size A type A value of a variable A range of acceptable values

Example Date of Birth Name- date of birth Description- the date the person was born Size- 10 characters (dd/mm/yyyy) Type- date Value of a variable This varies for each person but each person will have a value for date of birth which is stored in that field Range- the date should be before today’s date

Complete the following table NameStudent nameAddress Description Size Type Range

Records Fields that describe an entity are combined to make a record For example Student name, student address and student telephone number all describe a student- they are combined in a student record to record facts about a student Each individual student will have a record- made up of the same fields

Records continued When designing a record it is important to decide which fields are required to carryout all the processing requirements of the information system A record can have fields (fields which must have a value) And fields ( some instances may not have a value) Eg all students must have a name and date of birth but not all of them will have a mobile phone number

Files Records which describe the same type of entity are grouped together into a file For example all the individual student records will be kept together in a file- this will usually have a name that describes what the records hold information about – in this case the student file seems an appropriate name

An information system needs to store all of these files (on disc) This is no different to a filing cabinet we need to store the files in a way that makes it easy for us to find any information as easily as possible.

Imagine using a filling cabinet to store student registration forms and all the forms have been placed in a filing cabinet and you need to know if a student called John has been registered properly We make it easy to find information by sorting all the records in a file in a particular order.

File organisation- traditional Serial in the order they were added to the file Sequential- in a specific order eg Indexed sequential – In a specific order but with an index to help you locate something specific ( index is like a book index it tell you where to go exactly on the disc) Random access uses a key (or ) which tells you where to find the record.

The problem with this approach is that you have to think how you want to access your information and choose a file organisation to do this. This is often called a system. As different users may want to do different things there may be situations where

Different users have different versions of the same file Example Bank customer changes their address The customer has a record for their current account, savings account, bank loan and the marketing file all of which record the customers address. How can we be sure we have changed it on every file Examples of junk mail etc show very often things don’t get changed on all files Even worse what if you find yourself with two addresses for the same customer- which is correct ? The other problem with this you have a lot of duplicate data and are therefore wasting a lot space and money maintaining it.

Problems in doing new activities. For example recording addresses for customers ( you didn’t before) As programmes will need to know how a file is structured any change to the file means every programme which uses that file will need to be changed. This takes a great deal of time and costs a lot of money

How do we reduce these problems In recent years many companies have used Databases to remove these problems (and many others) A database provides a method of storage which enables all the users to share the data ( removes the and problems) in a way that allows the structure of the data to be changed relatively easily (for example add new fields)

This means it is easier to use but it makes the design more difficult. It is important to design a database that meets everyone's needs We will be learning how to identify all the data requirements of the different users and organise it in a way which allows everyone to share the same data We will identify the attributes required- (which is the database name for a field) Into tables ( which is the database name for a file)

Summary Information systems store data in files- In database system this known as a table. A file is made up of records which describe each instance of interest using the same fields. A database system calls a record a row, and a field is known as an attribute. Files are organised in a way that makes it easy for a user to find a specific record but this may not be suitable for all users. Databases give us a way of being able to find data easily and quickly.

References Databases Demystified by Andy Oppel