Advanced Databases COMP3211 Dr Nicholas Gibbins - 2015-2016.

Slides:



Advertisements
Similar presentations
Database System Concepts and Architecture
Advertisements

Database Architecture Models and Design Ian Horrocks Carole Goble John Sargeant Simon Harper.
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
--What is a Database--1 What is a database What is a Database.
CS1001 Lecture 26. Overview Artificial Intelligence Artificial Intelligence Database Systems Database Systems.
CS6003 Database Systems (10 credits) Lecturers: Adrian O’Riordan (term 1), Dr. Kieran Herley (term 2) Term 1 Contact: is office.
ICS (072)Database Systems Background Review 1 Database Systems Background Review Dr. Muhammad Shafique.
Databases and Database Users Winter 2007Ron McFadyen ACS Database applications Database Database Management System Characteristics Actors Advantages.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Overview of Database Languages and Architectures.
Lecture Two Database Environment Based on Chapter Two of this book:
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Introduction to Database Systems
Academic Year 2014 Spring. MODULE CC3005NI: Advanced Database Systems Academic Year 2014 Spring.
Introduction and Conceptual Modeling
London Metropolitan University, DB3011C/N Intro/P 1 WELCOME CC3005NI Advanced Database Systems Module Organiser:Dr F F Cai.
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas.
Database Management COP4540, SCS, FIU An Introduction to database system.
Lecture1: Principles of Databases Prepared by L. Nouf Almujally 1 Ref. Chapter1.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Outline Types of Databases and Database Applications Basic Definitions Typical DBMS Functionality.
Introduction to Data bases concepts
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
CSC2012 Database Technology & CSC2513 Database Systems.
1 Introduction to databases concepts CCIS – IS department Level 4.
Module Title? DBMS Introduction to Database Management System.
Chapter 2 CIS Sungchul Hong
Database Technical Session By: Prof. Adarsh Patel.
CST203-2 Database Management Systems Lecture 2. One Tier Architecture Eg: In this scenario, a workgroup database is stored in a shared location on a single.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Database System Concepts and Architecture
Introduction: Databases and Database Users
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
1 Welcome: To the second learning sequence “ Data Base (DB) and Data Base Management System (DBMS) “ Recap : In the previous learning sequence, we discussed.
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
ICS (072)Database Systems: An Introduction & Review 1 ICS 424 Advanced Database Systems Dr. Muhammad Shafique.
FEN Introduction to the database field:  Applications, concepts and terminology Seminar: Introduction to relational databases.
Chapter 1 Introduction Yonsei University 1 st Semester, 2015 Sanghyun Park.
Database Management System (DBMS) an Introduction DeSiaMore 1.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
8/31/2012ISC329 Isabelle Bichindaritz1 Database Environment.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
1 Database Management Systems (DBMS). 2 Database Management Systems (DBMS) n Overview of: ä Database Management Components ä Database Systems Architecture.
Database Environment Session 2 Course Name: Database System Year : 2013.
1-1 Chapter 1 Databases and Database Users 1.1 Introduction 1.2 An Example 1.3 Characteristics of the Database Approach 1.4 Actors on the Scene 1.5 Workers.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
Characteristics of the Database Approach (Difference between traditional file processing and database approach) Redundancy Self-Describing nature of a.
Database Architecture Models and Design Ian Horrocks & Robert Stevens room: 2.75/2.91
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
1 Lecturer M.Eng. Nguyen Ngo Bao Tran URL:
Chapter 1 Introduction Yonsei University 1 st Semester, 2014 Sanghyun Park.
1 Chapter 2 Database Environment Pearson Education © 2009.
Computer Science Centre University of Indonesia Chapter 1 Database & Database Users.
Advanced Databases COMP3017 Dr Nicholas Gibbins
Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Database System Concepts, 5th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com Chapter 1: Introduction.
Advanced Databases COMP3211
Fundamental of Database Systems
Datab ase Systems Week 1 by Zohaib Jan.
“ Database (DB) and Database Management System (DBMS) “
Introduction to Database Systems
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Database (DB) and Database Management System (DBMS)
Presentation transcript:

Advanced Databases COMP3211 Dr Nicholas Gibbins

Module Aims and Objectives Gain a better understanding of the nature of data Understand the issues to be addressed in writing database software Understand the variety of approaches taken so far Be able to select an appropriate database for an application Be aware of the latest developments in the use and application of databases

Learning Outcomes You will be able to demonstrate knowledge and understanding of: The internals of a database management system The issues involved in developing database management software The variety of available DBMS types and the circumstances in which they're appropriate

Learning Outcomes You will be able to: Choose appropriate approaches for data storage and access Demonstrate how a DBMS processes, optimises and executes a query Identify issues arising from concurrent or distributed processing and select appropriate approaches to mitigate those issues Select an appropriate DBMS for an application Implement components of a DBMS

Prerequisites COMP1204 or COMP2202 –The role of database systems in information management –The concept of data modelling –Entity-Relationship modelling –The Relational model and other models –SQL –Database management issues

COMP3211 vs COMP1204/COMP2202 In COMP1204, you learned how to build databases In COMP3211, you will learn how to build database management systems

Course Structure Three lectures per week: –Tuesday 0900 in 54/5027 –Thursday 1500 in 6/1083 –Friday 1100 in 5/2015

Assessment 75% examination (120 minutes, 3 questions from 5) 25% coursework

Books Core Text –Garcia-Molina H., Ullman J.D. and Widom J., Database Systems: The Complete Book, 2nd ed., Pearson, –Parts IV and V are the basis of this module Background Texts –Elmasri R. and Navathe S.B., Fundamentals of Database Systems, 6th ed., Addison-Wesley, –Connolly T. and Begg C., Database Systems, 5th ed., Addison-Wesley, –Date C.J., An Introduction to Database Systems, 8 th ed., Pearson, 2004.

Database Management Systems

What is a Database? Represents some aspect of the real world A logically coherent collection of data with some inherent meaning Designed, built and populated with data for a specific purpose Has an intended group of users and some preconceived applications in which these users are interested

Database System DBMS Database System vs. DBMS MetadataStored Data Software to access stored data Software to process queries Application programs

Database Management System A DBMS is a set of general purpose software, that allows the user to:- –Define the database –Specifying the data types, structures and constraints for the data to be stored –Construct the database –Store the data on some storage medium that is controlled by the DBMS –Manipulate the database –Querying to retrieve specific data, updating to reflect changes in the model of the real world, and generating reports from the data

What should the DBMS do? Store data (!) Control or eliminate redundancy Provide program-data independence Permit multiple views of the data Support sharing by multiple users Support sharing and integration of data between multiple applications Control concurrent access to data

What should the DBMS do? Offer various interfaces for data retrieval and manipulation Be self-describing / contain its own catalogue for metadata Support data abstraction Allow complex relationships between objects to be represented Enforce integrity constraints on the data Restrict unauthorised access Facilitate backup and recovery

Topics

How does the type of data affect what we can do with it? How do we model: -Temporal data? -Spatial data? -Multimedia data? Datatypes

What are the functional units within a DBMS? DBMS Architecture Stored Database Application Programs Interactive Query Privileged Commands DDL Statements Stored Data Manager Runtime DB Processor Precompiler Query Optimiser Query Compiler DML Compiler DDL Compiler System Catalogue

How does a DBMS organise data: -On disc? -In records? -In fields? Data Storage

How can we improve the speed of access to data in a DBMS? -Indexes, hash tables, B-trees Access Structures

How do we improve the speed of access to multidimensional data in a DBMS? Multidimensional Access Structures

How are queries executed in a DBMS? How can we modify queries to reduce their execution time? Query Processing and Optimisation π LNAME ESSN=SSN PROJECT EMPLOYEE WORKS_ON PNUMBER=PN O σ BDATE > ‘ ’ σ PNAME=‘Aquarius’ π PNUMBER π ESSN,PNO π ESSN π SSN,LNAME

How do we provide users with concurrent access to a DBMS? What problems can arise? How can we prevent or mitigate those problems? Transactions and Concurrency Active Failed Partially Committed Committed Terminated BEGIN TRANSACTION READ, WRITE END TRANSACTION COMMIT ABORT

How can we distribute a DBMS across the machines in a cluster? How does parallelism affect: -Query processing? -Deadlock detection? -Reliability? Parallel Databases PPP MMM

How can we distribute a DBMS across a WAN? How does distribution affect: -Query processing? -Concurrency control? -Reliability? Distributed Databases ∪ R3R3 SR5R5 S

How do we support queries over free text data? How do we evaluate the effectiveness of an IR engine? Information Retrieval document collection query parsing retrieval and ranking indexer answer set index

How can we use asynchronous communications for reliable distributed DB applications? Message Queues ClientServer message queue enqueue dequeue ClientServer

How can we query data when there’s more data than we can store? Stream Processing input stream input stream output stream

How can we best support the analysis of complex, multidimensional data? -OLAP vs OLTP Data Warehousing Juice Cola Milk Cream Toothpaste Soap Month N W S Region Product

What’s out there apart from RDBMS? Hierarchical, XML Network, Object Graph NoSQL Non-Relational Databases