Databases. DSIC. Academic Year 2010-2011



Similar documents
IT2304: Database Systems 1 (DBS 1)

Introduction to Databases

IT2305 Database Systems I (Compulsory)

Instructor: Michael J. May Semester 1 of The course meets 9:00am 11:00am on Sundays. The Targil for the course is 12:00pm 2:00pm on Sundays.

Course Computer Science Academic year 2012/13 Subject Databases I ECTS 5

CS 525 Advanced Database Organization - Spring 2013 Mon + Wed 3:15-4:30 PM, Room: Wishnick Hall 113

Objectives of Lecture 1. Labs and TAs. Class and Office Hours. CMPUT 391: Introduction. Introduction

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components

Core Syllabus. Version 2.6 B BUILD KNOWLEDGE AREA: DEVELOPMENT AND IMPLEMENTATION OF INFORMATION SYSTEMS. June 2006

DBMS Questions. 3.) For which two constraints are indexes created when the constraint is added?

Profesor: M.T.I. Juvencio Mendoza Castelán

CSE 132A. Database Systems Principles

INFS2608 ENTERPRISE DATABASE MANAGEMENT

City University of Hong Kong. Information on a Course offered by Department of Computer Science with effect from Semester A in 2014 / 2015

Ursuline College Accelerated Program

Objectives of Lecture 1. Class and Office Hours. Labs and TAs. CMPUT 391: Introduction. Introduction

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML?

Chapter 2 Database System Concepts and Architecture

Chapter 1: Introduction

Principles of Database. Management: Summary

The core theory of relational databases. Bibliography

Course: CSC 222 Database Design and Management I (3 credits Compulsory)

Advanced Database Management MISM Course F A Fall 2014

CS 649 Database Management Systems. Fall 2011

Files. Files. Files. Files. Files. File Organisation. What s it all about? What s in a file?

Course Outline (Undergraduate):


CS 564: DATABASE MANAGEMENT SYSTEMS

20464C: Developing Microsoft SQL Server Databases

CSE 233. Database System Overview

IINF 202 Introduction to Data and Databases (Spring 2012)

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS ADVANCED DATABASE MANAGEMENT SYSTEMS CSIT 2510

Relational Database Systems 2 1. System Architecture

3. Relational Model and Relational Algebra

DATABASE MANAGEMENT SYSTEMS. Question Bank:

Overview of Database Management Systems

What is a database? COSC 304 Introduction to Database Systems. Database Introduction. Example Problem. Databases in the Real-World

CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Winter 2009 Lecture 1 - Class Introduction

B.Sc. (Computer Science) First Year

Databases and BigData

Database Systems Introduction Dr P Sreenivasa Kumar

Scheme G. Sample Test Paper-I

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur

Introduction. Introduction: Database management system. Introduction: DBS concepts & architecture. Introduction: DBS versus File system

1. INTRODUCTION TO RDBMS

Extending Data Processing Capabilities of Relational Database Management Systems.

CC414 Database Management Systems

IES - Introduction to Software Engineering

Introduction to Computing. Lectured by: Dr. Pham Tran Vu

CSE 562 Database Systems

Basic Concepts of Database Systems

Developing Microsoft SQL Server Databases 20464C; 5 Days

1 File Processing Systems

Introduction: Database management system

DATA BASE.

IST359 - INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

5.5 Copyright 2011 Pearson Education, Inc. publishing as Prentice Hall. Figure 5-2

SuiteDBDoc: Free Software for Teaching Databases

Would-be system and database administrators. PREREQUISITES: At least 6 months experience with a Windows operating system.

Exercise 1: Relational Model

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. The Relational Model. The relational model

Contents RELATIONAL DATABASES

How To Manage Data In A Database System

DBMS / Business Intelligence, SQL Server

CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Spring 2006 Lecture 1 - Class Introduction

COMM 437 DATABASE DESIGN AND ADMINISTRATION

Developing Microsoft SQL Server Databases (20464) H8N64S

Course 20464: Developing Microsoft SQL Server Databases

Database Design and Programming

IST659 Database Admin Concepts & Management Syllabus Spring Location: Time: Office Hours:

DEGREE CURRICULUM COMPUTER GRAPHICS AND MULTIMEDIA Master's Degree in Informatics Enginneering

Overview of Data Management

Database System. Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti

Database System Concepts

L&I SCI 410: Database Information Retrieval Systems

CSC-570 Introduction to Database Management Systems

5.1 Database Schema Schema Generation in SQL

The Structured Query Language. De facto standard used to interact with relational DB management systems Two major branches

2 Associating Facts with Time

BCS Higher Education Qualifications. Database Systems Syllabus

THE OPEN UNIVERSITY OF TANZANIA FACULTY OF SCIENCE TECHNOLOGY AND ENVIRONMENTAL STUDIES BACHELOR OF SIENCE IN INFORMATION AND COMMUNICATION TECHNOLOGY

Scope of this Course. Database System Environment. CSC 440 Database Management Systems Section 1

Chapter 1: Introduction. Database Management System (DBMS) University Database Example

Master s Program in Information Systems

In This Lecture. SQL Data Definition SQL SQL. Notes. Non-Procedural Programming. Database Systems Lecture 5 Natasha Alechina

Foundations of Information Management

Conventional Files versus the Database. Files versus Database. Pros and Cons of Conventional Files. Pros and Cons of Databases. Fields (continued)

ECS 165A: Introduction to Database Systems

IST359 INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

The Evolution of an Advanced Database Course in an Information Systems Curriculum

ICOM 6005 Database Management Systems Design. Dr. Manuel Rodríguez Martínez Electrical and Computer Engineering Department Lecture 2 August 23, 2001

Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap.

Introduction to database management systems

Database Design Methodology

How To Create A Table In Sql (Ahem)

Transcription:

Databases DSIC. Academic Year 2010-2011 1

Lecturer José Hernández-Orallo Office 236, 2nd floor DSIC. Email: jorallo@dsic.upv.es http://www.dsic.upv.es/~jorallo/docent/bda/bdaeng.html Attention hours On demand by email. Head Lecturer (Course Director): Laura Mota (lmota@dsic.upv.es) 2

Materials Theory: Slides in PDF, exams, other material at: Laboratory: Slides SQL + Lab guide lines, example Databases, DBMS software at http://www.dsic.upv.es/~jorallo/docent/bda/bdaeng.html More exams, more bibliography, other documents, etc. Official web: Poliforma-t UPV (only in Spanish) 3

Aims To study the fundamentals of database technology. To study the relational data model. To use relational database management systems. 4

Learning Outcomes: Objectives To study the fundamentals of database technology: Upon completion you will: Know the concept of database and its main features. Know the concept of database management system, its functionalities and components. Know the ANSI/SPARC architecture for database management systems. Know the concept of data independence in databases and the associated mechanisms. Know the mechanisms and strategies for integrity control (quality) and security (privacy) in databases. 5

Learning Outcomes: Objectives To study the relational data model: Upon completion you will: Know the data structures of the relational model: the tuple and the relation, as well as their associated operators. Know (at a basic level) how to model the reality using the relational model. Be able to query a database in SQL. Know the mechanisms of the relational model which are needed to express integrity constraints: domain definition and key definition. Define database schemas and constraints in SQL. Know additional mechanisms to define constraints and express activity in databases: triggers. Know (at a basic level) the physical organisation of a relational database. 6

Learning Outcomes: Objectives To use relational database management systems: Upon completion you will: Be able to apply the theoretical concepts over a relational data system. 7

Contents UNIT I: INTRODUCTION TO DATABASES. UNIT II: THE RELATIONAL DATA MODEL. UNIT III: DATABASE MANAGEMENT SYSTEMS. 8

UNIT I: Introduction to Databases. Contents Syllabus: 1.1.- Information Systems. 1.2.- Databases. 1.3.- Database Management Systems. 1.4.- Database techniques: characteristics. 1.5.- DBMS architecture: database schemas. Bibliography: [CCM03, chapter 1][EN06][Date03][CB10] Estimated time: 2 hours. 9

UNIT II: The relational data model. Contents Syllabus: 2.1.- The relational data model (algebraic approach). 2.1.1.- Structures: tuple and relation. 2.1.2.- Relational Schema: representation of reality. 2.1.3.- Operators on relations: relational algebra 2.2.- The relational data model (logical approach). 2.2.1.- Logical interpretation of a relational database. 2.2.2.- Logical expressions. 2.3.- Missing information: null value. 10

Contents 2.4.- Integrity constraints. 2.4.1.- Constraints over attributes: domain and not null. 2.4.2.- Uniqueness constraints. 2.4.3.- Notion of primary key. Primary key constraint. 2.4.4.- Referential integrity: Foreign key constraint. 2.4.5.- Referential triggered action: action directives. 2.4.6.- Other mechanisms to represent integrity constraints. 2.5.- SQL The Relational Database Standard. 2.5.1.- The Data Definition Language (DDL). 2.5.2.- The Data Manipulation Language (DML). 2.6.- Derived information: views 2.6.1.- Notion of view. 2.6.2.- Applications. 2.6.3.- Views in SQL. 11

Contents 2.7.- Activity mechanisms: triggers. 2.7.1.- Notion of trigger. 2.7.2.- Event-Condition-Action (ECA) rules. 2.7.3.- Applications. 2.7.4.- Triggers in SQL. 2.8.- Evolution of the relational model Bibliography: [CCM03, chapters 3 and 5][EN06][Date03][CB10] Estimated time: 18 hours. 12

Contents UNIT III: Database Management Systems Syllabus: 3.1.- Database Management Systems: components and functionalities. 3.2.- Data independence. 3.3.- Integrity. 3.3.1.- Concept of transaction. Transaction processing. 3.3.2.- Semantic integrity. 3.3.3.- Concurrent accesses 3.3.4.- Database recovery 13

Contents 3.4.- Security. 3.4.1.- User control 3.4.2.- Authorised access control 3.5.- Implementation of relational databases Bibliography: [CCM03, chapter 6][EN06][Date03][CB10] Estimated time: 6 hours. 14

Course Schedule Week Theory Laboratory 1st 2nd Unit 1 Introduction to Databases Structures (2.1.1) R.A (2.1.2) Queries, modification, database examples. 3rd R.A (2.1.2) SQL: querying Interpretation (2.2) 4th Unit 2 Logical interp. (2.3) SQL: querying 5th Exercises SQL: querying 6th The relational data model L1 / L2. Intro RDBMS: Rep. of reality I.C. (2.4) SQL: querying L3 7th h I.C. (2.4) Catch-up Exercises SQL 8th 9th 10th 11th Unit 3 Views Triggers Exercises Architecture (3.1) Independence (3.2) Catch-up Exercises SQL: modification SQL: data definition SQL triggers. 12th Database Management Systems Integrity (3.3) Catch-up Exercises 13th 14th 15th Security (3.4) RDB Implementation Transactions. Integrity. Concurrency (ORACLE) L4 Study of a DBMS: (Oracle) 15

Recommended Readings [EN06] Elmasri, R.; Navathe, S. Fundamentals of database systems, 5th Edition. Addison-Wesley, 2006 [Date03] Date, C.J. Introduction to Database Systems, (8th Edition) Prentice Hall / Addison Wesley, 2003 [CB10] Connolly, T.; Begg, C. Database Systems (5th Edition), Addison-Wesley 2010. [CCM03] Celma, M.; Casamayor, J.C.; Mota, L. Bases de datos relacionales (in Spanish only). Pearson, Prentice Hall 2003. Wikipedia: http://en.wikipedia.org/ 16

Relationship with Other Subjects Sec. school and college Set Algebra (primary school) First Order Logic Oral and written comprehension 1 st year 2 nd year EDA Data structures MDA First Order Logic Hash, trees, sort algorithms BDA 3 rd year DBD SW Engineering Web Technologies and Services Information Systems ERD, normalisation theory 5 th year SW Engineering Information Systems Business Managmnt. Comp. Sci. Career Development of dataoriented applications (VB,.Net, Dev2000). DBMS Installation and Administration (Oracle, DB2, SQL Server, PostgreSQL). Web-DB Interactivity (queries, forms, Intranet, JDBC...). DB for DSS: Data warehouse, Mining. Document management, multimedia DB. 17

Assessment of the Course Final Exam (1 st seat: June, re-seat: September) : What is the exam like? 35% of the final score is a test. 65% of the final score are problems, SQL queries in particular. From all the objectives, practically 80% of the final grade depends on the following: To know how to interpret a relational schema. To know how to interpret and use the mechanisms of the relational model in order to express integrity constraints: domain definition, key definition and general constraints. To know how to query and modify a relational database in SQL. 18

Assessment of the Course Extra point: Up to 1 extra point can be given during the laboratory sessions upon completion of SQL queries that will be delivered during the sessions. IMPORTANT: This possible extra score will only we added to the final grade if the original grade is greater than or equal to 4.5 19