Database Management Systems (DBMS)

Slides:



Advertisements
Similar presentations
How data is stored. Data can be stored in paper-based systems including: Reference books Dictionaries Encyclopaedias Directories Index Files Filing systems.
Advertisements

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.
Organisation Of Data (1) Database Theory
CHAPTER OBJECTIVE: NORMALIZATION THE SNOWFLAKE SCHEMA.
ForenameSurnameFormSubjectTeacherGrade HarrySmithAICTMiss BunceA FionaJonesBHistoryMr EvansB HarrySmithAHistoryMr EvansB JennyFieldsBArtMiss GoldA HarrySmithAArtMiss.
Database management system (DBMS)  a DBMS allows users and other software to store and retrieve data in a structured way  controls the organization,
Database Management: Getting Data Together Chapter 14.
11 3 / 12 CHAPTER Databases MIS105 Lec14 Irfan Ahmed Ilyas.
Introduction to Databases Transparencies
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Database Systems. What is a database? A database is an organised store of data items.
Databases and Database Management Systems
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Chapter 1 Introduction to Databases
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
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.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Unit 18: Database Modelling
DBMS By Narinder Singh Computer Sc. Deptt. Topics What is DBMS What is DBMS File System Approach: its limitations File System Approach: its limitations.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
ASP.NET Programming with C# and SQL Server First Edition
WJEC Applied ICT Databases – Terminology and Notation DEFINITION A database is a collection of data or information which is held together in an organised.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Database Management. ICT5 Database Administration (DBA) The DBA’s tasks will include the following: 1. The design of the database. After the initial design,
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
Access 2013 Microsoft Access 2013 is a database application that is ideal for gathering and understanding data that’s been collected on just about anything.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Session 8: Databases Teaching Computing to GCSE Level with Python.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
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.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
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.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
Databases Unit 3_6. Flat File Databases One table containing data Data must be entered as a whole each time e.g. customer name and address each time (data.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
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.
Databases.
3 / 12 Databases MIS105 Lec13 Irfan Ahmed Ilyas CHAPTER Prepared By:
ITGS Databases.
 So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.
Advanced Accounting Information Systems Day 10 answers Organizing and Manipulating Data September 16, 2009.
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
1 TOPIC 6 DATABASE 6.1 Introduction to Database 6.2 Basic Concept of Database 6.3 Database Object DATABASE.
Flat Files Relational Databases
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” MODULE 5 : Part 1 INTRODUCTION TO DATABASE.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
PREPARED BY: PN. SITI HADIJAH BINTI NORSANI. LEARNING OUTCOMES: Upon completion of this course, students should be able to: 1. Understand the structure.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
The Database Concept and the Database Management System (DBMS) Databases.
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
GCSE ICT How data is stored. How is data stored? Data can be stored in paper-based systems including: –Reference books –Dictionaries –Encyclopaedias –Directories.
Edexcel OnCourse Databases Unit 9. Edexcel OnCourse Database Structure Presentation Unit 9Slide 2 What is a Database? Databases are everywhere! Student.
DATABASE’S Dave McDonald Student No /05/2016 Unit 10 task 1.
Lesson 10 Databases.
Databases.
Introduction to Computing
Database Systems Unit 16.
Week 12 Option 3: Database Design
What is a Database and Why Use One?
Spreadsheets, Modelling & Databases
DATABASES WHAT IS A DATABASE?
The ultimate in data organization
Database management systems
Presentation transcript:

Database Management Systems (DBMS) Data Handling Software Database Management Systems (DBMS)

Paper Databases A database is a collection of data or information which is held together in an organised or logical way.  Databases can either be paper based or computerised.

Computerised Databases You will come across computerised databases in every aspect of your life. Here are some examples with which you will be familiar: Search engines e.g. Google, Ask, Bing School electronic registers Library database Shop stock control system DVLC - stores details of all driver licences and car registrations

Specification Candidates should be able to define a database as a large collection of data items and links between them, structured in such a way that allows it to be accessed by a number of different applications programs.

What You Need to Learn From This Lesson Definition of a database Advantages and disadvantages of a database approach over flat files Database security Hierarchy of passwords Storage of data separate to programs

Key Words Fields Table Primary Key Record Relational Database Management System (RDMS) Query Report

Table Fields Field Names

Primary Key

Definition of files, records and fields A file is a set of related records e.g. a file of patients A record is a collection of data about a particular person, object or concept e.g. the data about one patient A field is a subdivision of a record which holds a particular item of data with a given data type e.g. Medicine quantity (data type is number) Patient name (data type is text) Primary Key field(s) to uniquely identify a record

Records

Primary Key

A TABLE is made up of RECORDS RECORDS are made up of FIELDS FIELDS are made up of CHARACTERS

File, records & fields Stock File Stock code: SP2544 Stock name: Timber door panel Material: Pine Size: 600x600mm Quantity: 25 Stock code: RF4237 Stock name: Timber door panel Material: Pine Size: 600x600mm Quantity: 25 Stock code: PY3746 Stock name: Timber door panel Material: Pine Size: 600x600mm Quantity: 25 One stock record Stock code: TM1253 Stock name: Timber door panel Material: Pine Size: 600x600mm Quantity: 25 One field

Databases & Database management software (DBMS) A database is a collection of tables and records DBMS - database (management) software Is a layer of software inserted between the different applications (programs) and this data. It is responsible for the creation/maintenance/manipulation of the database

Flat File Databases A flat-file database is a simple database that stores all data in a single table in one file A flat-file database can be stored in a text file, such as a a Spreadsheet, or in a database file that contains one or more unrelated tables.

Flat File Advantages Useful for simple lists: Easy to create

Flat File Disadvantages Large amounts of duplicated data Difficult to update If entries change all instances have to be updated Security All users have access to the same set of data

Relational Databases The problems associated with flat files can be solved by moving some of the data out of the main table and accessing it when required holds data in many tables of records which are linked by relationships. A relationship is implemented through common fields held in the two tables What's the problem?

Relational Database Advantages Avoids data duplication (redundancy) data stored once linked by key fields all data available via relational links in key fields Ensures consistency of data of data to all users

Relational Database Advantages continued Increased security - What makes databases secure? Hierarchy of passwords ID Authentication Authorisation to files and processing DBMS can check permissions Read only Write only etc. Users only allowed to view the data they are entitled to, so there is less risk of accidental or deliberate destruction. Data integrity It is possible to specify constraints on the data to ensure it is in the correct format and range.

Disadvantages of relational database vs. flat files More complicated to design and create a relational database than a flat file system More expensive because flat file system can by created simply using spreadsheet software where as a relational database needs to be created with a DBMS

Database Security DBMS controls security access to different parts of the database Each user is given appropriate access rights to the database appropriate to the type of user they are and their job

Searching for data with specific criteria. Database Software Features – Ability to: Produce Queries Searching for data with specific criteria. e.g.: looking for customers who all live in a certain postcode to arrange delivery of shopping. Produce Reports Outputting information in a printed format. e.g.: Printing customer bills with data from the customer accounts. Import/Export Transferring data between software packages e.g.: Mail merge where data is exported from

Advantages/disadvantages of Database Software Advantages of Relational Databases Disadvantages of Relational Databases Only have to enter data once They are complex, difficult, and time-consuming to design Files and tables are linked, and so means if the data is changed in one application, the rest of the database will automatically be updated for other applications Damage to database affects virtually all of the application programmes It is quick and easy to access information Search criteria can be use, saved and modified Initial training for programmers and users is needed and can be costly Everyone uses the same data, and so the data is consistent Validation checks can be performed Ensures data integrity The structure of the database can easily be changed

Database Software A database is an organised collection of data or information. Computerised databases can import or export information. This needs to be done easily as different systems are often used and the data must be read the same each time.

Query The whole point in storing data in a database is the fact that it is easy to perform searches to extract data. One way of searching for that data would be performing a search using the tables in the database. Another is using commands written in a language called Structured Query Language (SQL).

Reports Databases can perform queries and produce the results in a report. This is usually printed out and presented in such a way that it is easily understood – for e.g. graphs, charts, tables, etc.