OCR GCSE Computing © Hodder Education 2013 Slide 1

Slides:



Advertisements
Similar presentations
Managing Multi-User Databases (2) IS 240 – Database Management Lecture #19 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Advertisements

ACS R McFadyen 1 Transaction A transaction is an atomic unit of work that is either completed in its entirety or not done at all. For recovery purposes,
Database Administration Chapter Six DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Transaction Management and Concurrency Control
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Transaction Management and Concurrency Control.
DBMS Functions Data, Storage, Retrieval, and Update
9 Chapter 9 Transaction Management and Concurrency Control Hachim Haddouti.
Database Administration Part 1 Chapter Six CSCI260 Database Applications.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Transaction Management and Concurrency Control.
Transaction Management and Concurrency Control
Transactions and Recovery
DBSQL 7-1 Copyright © Genetic Computer School 2009 Chapter 7 Transaction Management, Database Security and Recovery.
1 Transactions BUAD/American University Transactions.
CS 474 Database Design and Application Terminology Jan 11, 2000.
Database Management System Module 5 DeSiaMorewww.desiamore.com/ifm1.
SOEN 6011 Software Engineering Processes Section SS Fall 2007 Dr Greg Butler
BIS Database Systems School of Management, Business Information Systems, Assumption University A.Thanop Somprasong Chapter # 10 Transaction Management.
ITGS Case Study Theatre Booking System Ayushi Pradhan.
Introduction to Database Management Systems. Information Instructor: Csilla Farkas Office: Swearingen 3A43 Office Hours: Monday, Wednesday 4:15 pm – 5:30.
Introduction to Database Management Systems. Information Instructor: Csilla Farkas Office: Swearingen 3A43 Office Hours: M,T,W,Th,F 2:30 pm – 3:30 pm,
Database A database is a collection of data organized to meet users’ needs. In this section: Database Structure Database Tools Industrial Databases Concepts.
Transaction processing Book, chapter 6.6. Problem: With a single user…. you run a query, you get the results, you run the next, etc. But database life.
Unit 9 Transaction Processing. Key Concepts Distributed databases and DDBMS Distributed database advantages. Distributed database disadvantages Using.
Presented By: Shreya Patel ( ) Vidhi Patel ( ) Universal College Of Engineering And Technology.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
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.
Introduction to Database Management Systems. Information Instructor: Csilla Farkas Office: Swearingen 3A43 Office Hours: Monday, Wednesday 2:30 pm – 3:30.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
Computer Science and Engineering Computer System Security CSE 5339/7339 Session 21 November 2, 2004.
Database Systems Recovery & Concurrency Lecture # 20 1 st April, 2011.
CSC 240 (Blum)1 Database Transactions. CSC 240 (Blum)2 Transaction  A transaction is an interaction between a user (or application) and a database. A.
CM Name : p.rajesh Year/Semester : VI Semester Subject : Advanced database system Subject Code : CM-603 Topic : Advanced database concepts Duration.
CSC 411/511: DBMS Design Dr. Nan WangCSC411_L12_JDBC_MySQL 1 Transations.
Transaction Processing Concepts Muheet Ahmed Butt.
1 Advanced Database Concepts Transaction Management and Concurrency Control.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Transaction Management and Concurrency Control.
10 1 Chapter 10 - A Transaction Management Database Systems: Design, Implementation, and Management, Rob and Coronel.
Advanced Database CS-426 Week 6 – Transaction. Transactions and Recovery Transactions A transaction is an action, or a series of actions, carried out.
The Database Concept and the Database Management System (DBMS) Databases.
SYSTEMS IMPLEMENTATION TECHNIQUES TRANSACTION PROCESSING DATABASE RECOVERY DATABASE SECURITY CONCURRENCY CONTROL.
Lesson 10 Databases.
DBMS & TPS Barbara Russell MBA 624.
Database Management System
Database Systems: Design, Implementation, and Management Tenth Edition
CS122 Using Relational Databases and SQL
Transaction Processing
Databases and Information Management
Basic Concepts in Data Management
ACID PROPERTIES.
Transactions Properties.
Database.
On transactions, and Atomic Operations
Chapter 10 Transaction Management and Concurrency Control
On transactions, and Atomic Operations
Introduction to Database Management Systems
Databases and Information Management
Database Security Transactions
Introduction of Week 13 Return assignment 11-1 and 3-1-5
Lecture 13: Transactions in SQL
Transactions and Concurrency
Database Transactions
Lesson Objectives Aims You should know about: 1.3.2: (a) indexing (d) SQL – Interpret and Modify (e) Referential integrity (f) Transaction processing,
Database Administration
CPSC-608 Database Systems
DATABASE TECHNOLOGIES
Concurrency Control.
-Transactions in SQL -Constraints and Triggers
Transactions, Properties of Transactions
Presentation transcript:

OCR GCSE Computing © Hodder Education 2013 Slide 1 Chapter 5: DBMS OCR GCSE Computing © Hodder Education 2013 Slide 1

OCR GCSE Computing © Hodder Education 2013 Slide 2 Chapter 5: DBMS Most databases are manipulated with a Database Management System (DBMS). A DBMS provides the software tools to create, maintain and interrogate a database. The physical data is handled by the DBMS. The database programmer writes applications software that works through the DBMS. OCR GCSE Computing © Hodder Education 2013 Slide 2

OCR GCSE Computing © Hodder Education 2013 Slide 3 Chapter 5: DBMS The DBMS must: allow data sharing; allow multiple user access; allow multiple applications to work on them; hold just one copy of data that everyone can access – this prevents inconsistent updates; make it possible to change the data in a database without having to change the applications. OCR GCSE Computing © Hodder Education 2013 Slide 3

OCR GCSE Computing © Hodder Education 2013 Slide 4 Chapter 5: DBMS The DBMS must: provide multiple views; present data to different users in different ways: The human resources department needs full personal details of employees. A co-worker might just need to see a colleague’s telephone number. OCR GCSE Computing © Hodder Education 2013 Slide 4

OCR GCSE Computing © Hodder Education 2013 Slide 5 Chapter 5: DBMS The DBMS must protect data from inconsistent requirements. Many databases are used by more than one user at a time. What if two users try to update the same data at the same time? Suppose a theatre ticket is being sold by one agency and another agency tries to sell the same ticket at the same time. You can get double booking. The transaction must be locked while the record is updated, so that other users cannot access it. OCR GCSE Computing © Hodder Education 2013 Slide 5

OCR GCSE Computing © Hodder Education 2013 Slide 6 Chapter 5: DBMS All database transactions must be subject to the ACID test. They must be: Atomic – a change is either completely performed or not at all; Consistent – a transaction must take a database from one consistent state to another Isolated – a transaction should not be visible to any other transaction or user until it is irrevocably committed Durable – once a change has been made, it must not be lost as a consequence of any subsequent failure. OCR GCSE Computing © Hodder Education 2013 Slide 6

OCR GCSE Computing © Hodder Education 2013 Slide 7 Chapter 5: DBMS Referential integrity Different applications must not cause conflicts. Records must be locked while one application is performing an update so that another application cannot produce an inconsistent result. Inconsistent changes must be prevented – for example , an exam subject must not be deleted if there are students connected to it. This is called maintaining referential integrity. OCR GCSE Computing © Hodder Education 2013 Slide 7

OCR GCSE Computing © Hodder Education 2013 Slide 8 Chapter 5: DBMS Applications The DBMS must provide ways of creating applications. Most DBMS software has a language for creating applications. Most support some form of SQL (Structured Query Language). SQL has features for creating, changing and interrogating a database. Many also have a visual interface for creating queries and other objects. OCR GCSE Computing © Hodder Education 2013 Slide 8