The Database Concept and the Database Management System (DBMS) Databases.

Slides:



Advertisements
Similar presentations
Chapter 1: The Database Environment
Advertisements

Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
Organizing Data & Information
3-1 Chapter 3 Data and Knowledge Management
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
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.
Concepts of Database Management Sixth Edition
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
CSC 2720 Building Web Applications Database and SQL.
Databases and Database Management Systems
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Chapter 1: The Database Environment
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
An Introduction to Database Management Systems R. Nakatsu.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Introduction to Databases and Database Languages
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Outline Types of Databases and Database Applications Basic Definitions Typical DBMS Functionality.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
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.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
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.
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.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Chapter 4 The Relational Model 3: Advanced Topics Concepts of Database Management Seventh Edition.
Database Technical Session By: Prof. Adarsh Patel.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
CS 474 Database Design and Application Terminology Jan 11, 2000.
1 Welcome: To the second learning sequence “ Data Base (DB) and Data Base Management System (DBMS) “ Recap : In the previous learning sequence, we discussed.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Prof. Sujata Rao Introduction to Computers & MIS Data Base Concepts Lesson 6.
Organizing Data Revision: pages 8-10, 31 Chapter 3.
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.
 Three-Schema Architecture Three-Schema Architecture  Internal Level Internal Level  Conceptual Level Conceptual Level  External Level External Level.
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.
Introduction to Database Systems1. 2 Basic Definitions Mini-world Some part of the real world about which data is stored in a database. Data Known facts.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
Component 4: Introduction to Information and Computer Science Unit 6a Databases and SQL.
ITGS Databases.
Database revision.
Database Environment Chapter 2. Data Independence Sometimes the way data are physically organized depends on the requirements of the application. Result:
Zhangxi Lin Texas Tech University ISQS 6347, Data & Text Mining 1 ISQS 6339 Data Management and Business Intelligence Database Review.
Database Management Systems (DBMS)
IT in Business Personal and PC Databases Lecture – 14.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
2/20: Ch. 6 Data Management What is data? How is it stored? –Traditional management storage techniques; problems –DBMS.
Fall CSE330/CIS550: Introduction to Database Management Systems Prof. Susan Davidson Office: 278 Moore Office hours: TTh
Introduction to Databases Angela Clark University of South Alabama.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Lesson 10 Databases.
Outline Types of Databases and Database Applications Basic Definitions
Chapter 2 Database Environment.
GCSE Computing Databases.
Chapter 1: The Database Environment
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.
The Database Environment
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Presentation transcript:

The Database Concept and the Database Management System (DBMS) Databases

Activity 1 On your whiteboards, write down anything that comes to mind when thinking about ‘databases’. 5 minutes

The Database Concept and the DBMS Introduction In this topic we will be looking at databases. “A database is a persistent organised store of related data on a computer system” Persistent means that it is stored in secondary storage for later access. Organised means that as data is written to the database it is done in a particular order – this makes accessing (querying) specific data much faster and more efficient. Learning Objectives: (a)Describe a database as a persistent organised store of data (b)Explain the use of data handling software to create, maintain and interrogate a database (c)Describe how a DBMS allows the separation of data from applications and why this is desirable (d)Describe the principal features of a DBMS and how they can be used to create customised data handling applications

The Database Concept and the DBMS A simple ‘Flat File’ database + Terminology Learning Objectives: (a)Describe a database as a persistent organised store of data (b)Explain the use of data handling software to create, maintain and interrogate a database (c)Describe how a DBMS allows the separation of data from applications and why this is desirable (d)Describe the principal features of a DBMS and how they can be used to create customised data handling applications Record Field Field Name NameMeaningExamples Table A collection of data relevant to one type of entity A table of information about students Records Collection of all the data on a single entity 001, John, Doe, 12/03/1992, 7S Field Single column of data in a table John Benjamin Alex Ahmed Crystal Simon Field Name The name given to the fieldFirst Name

The Database Concept and the DBMS Entity and Attributes – More DB Terminology When dealing with databases we often talk about entities and attributes. An entity is something in the real world that we store data about. A person, a car, an order or an exam subject are all examples of entities. An entity becomes a table in a database. One instance of an entity in a database is a record. An attribute is a characteristic of an entity. It becomes a field in a database. For example, if the entity was a person, an attribute might be their surname. Learning Objectives: (a)Describe a database as a persistent organised store of data (b)Explain the use of data handling software to create, maintain and interrogate a database (c)Describe how a DBMS allows the separation of data from applications and why this is desirable (d)Describe the principal features of a DBMS and how they can be used to create customised data handling applications Record Field Field Name

The Database Concept and the DBMS Data Handling Software A database on its own is pretty useless. For a database to have any real use, there needs to be software to bring the database to life. This software might be a dedicated ‘data processing’ program used to access customer details. Or it could be, for example, a ‘computer game’ which needs to update the game’s high score table. Either way, software needs to accompany a database to enable the database to be created and data in it retrieved, updated and deleted (CRUD). Learning Objectives: (a)Describe a database as a persistent organised store of data (b)Explain the use of data handling software to create, maintain and interrogate a database (c)Describe how a DBMS allows the separation of data from applications and why this is desirable (d)Describe the principal features of a DBMS and how they can be used to create customised data handling applications

The Database Concept and the DBMS DBMS In fact, applications that access databases will all do so using a special ‘intermediate program’ called a Database Management System (DBMS). The aim of a DBMS is to isolate the database from the application(s) that use the database so that they are not intertwined as one entity. Learning Objectives: (a)Describe a database as a persistent organised store of data (b)Explain the use of data handling software to create, maintain and interrogate a database (c)Describe how a DBMS allows the separation of data from applications and why this is desirable (d)Describe the principal features of a DBMS and how they can be used to create customised data handling applications

The Database Concept and the DBMS Why is a DBMS needed? The reasons for the need to separate the database from the program are as follows: 1.The DBMS can be thought of as a guardian of the data and any application that needs to access the data has to do so through the guardian, which prevents applications from handling the data wrongly, putting the integrity of the database at risk. 2.It also means that if the code of programs are edited, programmers don’t need to worry about compromising the data as it is stored elsewhere. Learning Objectives: (a)Describe a database as a persistent organised store of data (b)Explain the use of data handling software to create, maintain and interrogate a database (c)Describe how a DBMS allows the separation of data from applications and why this is desirable (d)Describe the principal features of a DBMS and how they can be used to create customised data handling applications

The Database Concept and the DBMS Features of a DBMS It enables several different programs to access the database at one time. It provides security ensuing that only the correct people can access the data. In the event of a disaster it can back up and recover data. It supports a query language, used to retrieve, add and alter data and change the database structure. It can implement ‘referential integrity’. This stops any ability to damage relationships between tables. For example, deleting a product would not be possible if a customer was linked to the product. It controls ‘concurrency’. Which simple means that two people can work with the database at the same time – yet preventing people from overwriting each others work at the same time. Learning Objectives: (a)Describe a database as a persistent organised store of data (b)Explain the use of data handling software to create, maintain and interrogate a database (c)Describe how a DBMS allows the separation of data from applications and why this is desirable (d)Describe the principal features of a DBMS and how they can be used to create customised data handling applications

The Database Concept and the DBMS Features of a DBMS As said on the previous slide, DBMS supports a query language and this is one of the most important features. A query language is basically the commands that an application will use to ‘talk to’ a database. An application will use a query language (often SQL) to ‘Create’, ‘Retrieve’, ‘Update’ and ‘Delete’ data. And when it comes to ‘Retrieving’ data, an application is really ‘Querying’ the database. ‘Querying’ a database means ‘asking it questions’ to find the required data and this is at the heart of ‘working with databases’. This will be explored over the next few lessons. Learning Objectives: (a)Describe a database as a persistent organised store of data (b)Explain the use of data handling software to create, maintain and interrogate a database (c)Describe how a DBMS allows the separation of data from applications and why this is desirable (d)Describe the principal features of a DBMS and how they can be used to create customised data handling applications

Activity 2 45 minutes Create an A4 revision sheet which introduces the topic of ‘Databases’. The revision aid must include the following information: Definition of a Database (including the key words ‘persistent’ and ‘organised’). An example of a database table which demonstrates key database terminology (fields, records, tables, etc.) A clear explanation of the difference between an entity and a database table. And the difference between an attribute and a database field. A description of what a DBMS is. An explanation as to why a DBMS is needed. Key features of a DBMS. An explanation of what a ‘Query’ is.