Dr. Angelika Reiser Chair for Database Systems (I3)

Similar documents
Course: Database Management Systems. Lê Thị Bảo Thu

Information Systems (Informationssysteme)

Database Management Systems CS Spring 2017

Architecture and Implementation of Database Systems (Summer 2018)

Databases 1. Daniel POP

COMP.3090/3100 Database I & II. Textbook

Database systems. Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c)

Relational Database Systems 2 1. System Architecture

DATABASE MANAGEMENT SYSTEMS

Relational Database Systems 2 1. System Architecture

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #1: Introduction

Database Systems. Sven Helmer. Database Systems p. 1/567

CS 525 Advanced Database Organization - Spring 2017 Mon + Wed 1:50-3:05 PM, Room: Stuart Building 111

Specific Objectives Contents Teaching Hours 4 the basic concepts 1.1 Concepts of Relational Databases

Can you name one application that does not need any data? Can you name one application that does not need organized data?

Course Logistics & Chapter 1 Introduction

Database Management System Implementation. Who am I? Who is the teaching assistant? TR, 10:00am-11:20am NTRP B 140 Instructor: Dr.

CMPT 354 Database Systems I. Spring 2012 Instructor: Hassan Khosravi

Introduction to Database Systems CSE 444. Lecture 1 Introduction

D.Hemavathi & R.Venkatalakshmi, Assistant Professor, SRM University, Kattankulathur

15CS53: DATABASE MANAGEMENT SYSTEM

Introduction to CS 4604

G64DBS Database Systems. G64DBS Module. Recommended Textbook. Assessment. Recommended Textbook. Recommended Textbook.

Who, where, when. Database Management Systems (LIX022B05) Literature. Evaluation. Lab Sessions. About this course. After this course...

City University of Hong Kong Course Syllabus. offered by Department of Computer Science with effect from Semester A 2017/18

1. Data Model, Categories, Schemas and Instances. Outline

Introduction to Data Management CSE 344. Lecture 1: Introduction

CAS CS 460/660 Introduction to Database Systems. Fall

CMPUT 291 File and Database Management Systems

Quick Facts about the course. CS 2550 / Spring 2006 Principles of Database Systems. Administrative. What is a Database Management System?

Database Principle. Zhuo Wang Spring

Database Systems I. Chapter 0 Overview. Foundations of Databases Summer term Melanie Herschel

CSE 544 Principles of Database Management Systems

Introduction to Data Management (Database Systems) CSE 414

Overview of Data Management

CT13 DATABASE MANAGEMENT SYSTEMS DEC 2015

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING DEPARTMENT OF CSE COURSE PLAN

EECS 647: Introduction to Database Systems

Introduction to Database Systems. Motivation. Werner Nutt

Database Systems ( 資料庫系統 ) Practicum in Database Systems ( 資料庫系統實驗 ) 9/20 & 9/21, 2006 Lecture #1

COMP3311 Database Systems

LECTURE1: PRINCIPLES OF DATABASES

Introduction to Databases Fall-Winter 2010/11. Syllabus

Your New App. Motivation. Data Management is Universal. Staff. Introduction to Data Management (Database Systems) CSE 414. Lecture 1: Introduction

CSC 261/461 Database Systems. Fall 2017 MW 12:30 pm 1:45 pm CSB 601

AAAF (School of CS, Manchester) Advanced DBMSs / 19

Unit 2. Unit 3. Unit 4

Teaching Scheme Business Information Technology/Software Engineering Management Advanced Databases

Outline. Database Management Systems (DBMS) Database Management and Organization. IT420: Database Management and Organization

DATABASE MANAGEMENT SYSTEMS

COMP-421: Database Systems. Joseph D silva McConnel Engg. 102

Introduction to Database S ystems Systems CSE 444 Lecture 1 Introduction CSE Summer

ADVANCED DATABASES ; Spring 2015 Prof. Sang-goo Lee (11:00pm: Mon & Wed: Room ) Advanced DB Copyright by S.-g.

Fundamentals of Database Systems

Concepts Of Database Management 7th Edition Pratt

Part I What are Databases?

Database System Concepts and Architecture

COMP-421: Database Systems. Joseph D silva McConnel Engg. 102

; Spring 2008 Prof. Sang-goo Lee (14:30pm: Mon & Wed: Room ) ADVANCED DATABASES

CSE 132A. Database Systems Principles

M S Ramaiah Institute of Technology Department of Computer Science And Engineering

What s a database anyway?

Databases and Database Management Systems

Introduction to Database Systems CSE 444. Lecture #1 March 26, 2007

CS 564: DATABASE MANAGEMENT SYSTEMS. Spring 2018

SCSSE. School of Computer Science & Software Engineering Faculty of Informatics. MCS9235 Databases Subject Outline Spring Session 2007

B.C.A DATA BASE MANAGEMENT SYSTEM MODULE SPECIFICATION SHEET. Course Outline

CSC 355 Database Systems

Textbook(s) and other required material: Raghu Ramakrishnan & Johannes Gehrke, Database Management Systems, Third edition, McGraw Hill, 2003.

Introduction. Example Databases

Lecturers Full Prof. Alen Lovrenčić, Ph.D., Assoc. Prof. Markus Schatten, Ph.D. Language of Croatian and English

9/8/2018. Prerequisites. Grading. People & Contact Information. Textbooks. Course Info. CS430/630 Database Management Systems Fall 2018

Architecture and Implementation of Database Management Systems

TEACHING & ASSESSMENT PLAN

Database Management System Raghu Ramakrishnan Johannes Gehrke 3rd Edition

Chapter 1 Introduction

745: Advanced Database Systems

Informatics 1: Data & Analysis

CSE2004 Database Management Systems

BIS Database Management Systems.

MIS Database Systems.

DATABASE MANAGEMENT SYSTEM SUBJECT CODE: CE 305

Database Management Systems

CS634 Architecture of Database Systems Spring Elizabeth (Betty) O Neil University of Massachusetts at Boston

CS430/630 Database Management Systems Spring, Betty O Neil University of Massachusetts at Boston

CMPSCI 645 Database Design & Implementation

Introduction to Databases Fall-Winter 2009/10. Syllabus

CMPT 354: Database System I. Lecture 1. Course Introduction

Avi Silberschatz, Henry F. Korth, S. Sudarshan, Database System Concept, McGraw- Hill, ISBN , 6th edition.

Teaching Scheme BIT/MMC/BCS Database Systems 1

CISC 3140 (CIS 20.2) Design & Implementation of Software Application II

ABD - Database Administration

Relational Database Systems 1

Databases Lectures 1 and 2

Lecture Notes CPSC 321 (Fall 2018) Today... Survey. Course Overview. Homework. HW1 (out) S. Bowers 1 of 8

BBM371- Data Management. Lecture 1: Course policies, Introduction to DBMS

Informatics 1: Data & Analysis

02 Hr/week. Theory Marks. Internal assessment. Avg. of 2 Tests

Introduction to Information Systems SSC, Semester 6

Introduc)on to Database Systems CSE 444. Lecture #1 March 29, 2010

Transcription:

Introduction Dr. Angelika Reiser Chair for Database Systems (I3) www-db.in.tum.de de TU München / Garching reiser@in.tum.de

Lecture Web page of the lecture: see TUMonline www-db.in.tum.de/teaching/ws1617/dbsandere IN4714: Part of the module Geodatabases (BV470015) Duration: 2V SWS Credits: 2ECTS

Schedule 2 hours weekly Wednesdays, 4.45 6.15 p.m. Exam (closed book): Date not yet fixed IN4714: 40 minutes Minimum number of points: 50%

Teaching Questions during class are very welcome Reading material for preparation Beforehand distributed ib t d / embedded d excercises Discussion of problems / solutions on the whiteboard interactive ti class!!

Overview Database Design E/R-Modeling UML-ModelingModeling Relational Data Model Relational Query Language SQL Data Integrity

Overview (cont.) Physical Data Organization B-Trees Hashing Query Execution Transaction Management (Main Memory Databases, NoSQL Databases, Data Warehouses, ) Preparation for Geodatabases, Andreas Donaubauer, starting December 2016

Used Material Slides of Prof. Kemper: www-db.in.tum.de/teaching/bookdbmseinf de/teaching/bookdbmseinf and Prof. Neumann: www-db.in.tum.de/teaching/ws1415/grundlagen (both in German) Thanks - Errors are on me

Literature (in German) Alfons Kemper und André Eickler Datenbanksysteme: Eine Einführung 10. Auflage (2015) (older Editions are also ok) Oldenbourg Verlag, München (~ 50 Euros) www-db db.in.tum.de/teaching/bookdbmseinf de/teaching/bookdbmseinf

Associated Workbook Alfons Kemper und Martin Wimmer Übungsbuch b Datenbanksysteme t 3. Auflage (2011) (older Editions are also ok) Oldenbourg Verlag, München (~ 35 Euros)

Additional Material www-db.in.tum.de/teaching/bookdbmseinf de/teaching/bookdbmseinf Slides Videos of lectures Data to build own databases SQL-Interface Programming examples for IBM DB2 Oracle MS SQL Server

Literature (in English) A. Silberschatz, H. F. Korth und S. Sudarshan Database System Concepts, 6th edition, McGraw-Hill, 2010. codex.cs.yale.edu/avi/db-book/db6/slide-dir/ R. Elmasri, S.B. Navathe Fundamentals of Database Systems, 6th edition, Addison-Wesley, 2010. (also available in German) R. Ramakrishnan, J. Gehrke Database Management Systems, 3th edition, 2003. http://pages.cs.wisc.edu/~dbbook/

Literature (cont.), MOOCS J.D. Ullmann, J. Widom A First Course in Database Systems, Prentice Hall, 3rd edition, 2007. infolab.stanford.edu/~ullman/fcdb.html MOOCS Self paced mini courses, Stanford class.stanford.edu/courses/db/2014/selfpaced/ about Datenmanagement mit SQL, HPI open.hpi.de/courses/sql (in German)

MOOCS (cont.), Lectures online Informationssysteme/ Einführung in Datenbanksysteme, Uni Saarland infosys.uni-saarland.de/datenbankenlernen/ (partly in German) Lecture online ETHZ, D. Kossmann, spring 2014: http://www.multimedia.ethz.ch/lectures/infk/2014/ spring/252-0063- 00L/index?doi=10.3930/ETHZ/AV-4e6da8f5- i 54d9-4bfa-8a9a-05692a5a440c&autostart=false English slides

Terms What is a database system (DBS)? System to store and manage data Why not use a traditional file system? Reliability and scalability only achievable with high effort

Examples Traditional application areas: business data accounting administration... Nowadays a lot broader: scientific / medical data data mining geographical information systems web search...

Examples (cont.) Databases are the back of many applications: web search with Google, Yahoo,... inquiries to Amazon, EBay,... posts in Facebook, Twitter, Many varieties (DBS/Information Retrieval, centralized/decentralized, replicated, etc.) Databases are used whenever data is very precoius ( reliability) amount of data is very big ( scalability)

Examples (cont.) The big commercial database systems: Oracle IBM DB2 Microsoft SQL Server Sybase Some open source database systems: PostgreSQL MySQL MonetDB Many more, some very specialized (XLM, object oriented, data streams, )

Why use a database system? Avoid redundancy d and inconsistencyi Rich (declarative) access to the data Security and privacy issues Synchronize concurrent data access Avoid loss of data Recovery after system failures Efficiency and scalability Concentrate on your business logic

Abstract layers of a database system View 1 View 2... View 3 Logical Layer Physical Layer

Abstract layers of a database system (cont.) View: describes how a user / program sees the data Logical layer: describes how the data is structured Physical layer: describes how the data is stored

Abstract layers of a database system (cont.) DBS decouples applications from the structure and storage of the data: Logical data independency d (simple) changes at the logical layer have no influence on the applications Physical data independency changes at the physical layer have no influence on the applications Implemented in almost all modern database systems

Properties of database systems Data integrity (consistency) Data processing within an application has constraints DBS obeys defined rules and protects automatically from: User errors Programming errors

Properties of DBSs (cont.) Declarative query language User determines which data should be retrieved...... and not how Less error-prone (when querying the data / developing applications) No knowledge about the interior layers of the DBS necessary

Properties of DBSs (cont.) Sophisticated access rights Every user can get different rights on the database DBS provides a variety of access control mechanisms to enable security and privacy

Properties of DBSs (cont.) Multi user concurrency If you allow several users at a time to update the data without any control you run into big problems DBS allows concurrent access and avoids side effects

Properties of DBSs (cont.) Error handling DBS can restore its state consistently in case of a system failure Therefor log files are held and managed by the DBS

Properties of DBSs (cont.) Efficiency and scalability DBSs are designed for efficiently handling very large data volumes and a very high number of users In DBSs techniques for scaling with ever higher data volumes are integrated typically: 100 GB (Gigabyte) transactional Daten (even express versions) up to EB (Exabyte) maximum data size

Properties of DBSs (résumé) Data integrity Declarative query language Access rights Concurrency control Error handling Efficiency and scalability

Architecture & Components of a Database System Layered architecture User Interface DBMS External Storage

User Interface Naive Expert App- DB- User User Developer admin Application Ad-hoc Query Compiler Management tools DML-Compiler DDL-Compiler Query Optimizer i DBMS TA Management Recovery Runtime Storage Manager Schema Logs Indexes DB Catalogue External Storage 30

Next: Data Modeling Mini World Manual Modeling Conceptual Schema (ER-Schema) 31