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



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

Class and Office Hours. Course Requirements. Concepts to Learn. CMPUT 499: Introduction

Transactions and the Internet

Cleveland State University

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

CSE 412/598 Database Management Spring 2012 Semester Syllabus

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

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

Syllabus for Course : Database Systems Engineering at Kinneret College

Database Systems. Lecture 1: Introduction

CSE532 Theory of Database Systems Course Information. CSE 532, Theory of Database Systems Stony Brook University

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

Geography 676 Web Spatial Database Development and Programming

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.

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

COMM 437 DATABASE DESIGN AND ADMINISTRATION

CSC-570 Introduction to Database Management Systems

Databases. DSIC. Academic Year

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

Advanced Database Management MISM Course F A Fall 2014

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

CSE 562 Database Systems

Overview of Data Management

The University of Akron Department of Mathematics. 3450: COLLEGE ALGEBRA 4 credits Spring 2015

1 File Processing Systems

Introduction to Database Systems CS4320/CS5320. CS4320/4321: Introduction to Database Systems. CS4320/4321: Introduction to Database Systems

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

FACULTY OF MANAGEMENT PROFESSIONAL CONSULTING MGMT 3901 Y SPRING 2016

GEOG 5200S Elements of Cartography : Serving the Community Through Cartography Spring 2015

COIS Databases

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur

ISM 4210: DATABASE MANAGEMENT

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

CS 649 Database Management Systems. Fall 2011

University of Regina Faculty of Business Administration Management of Performance. BUS Winter 2013: January 7, 2013 April 17, 2013

Web-Based Database Applications ITP 300x (3 Units)

CIS Information and Database Systems I. Course Syllabus Spring 2015

IST639 Enterprise Technologies Course Syllabus Spring 2014

Department of Geography Program in Planning, Faculty of Arts and Science University of Toronto GGR 273 H1S: GIS II Course Outline Winter 2015

IST359 - INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

BUS*3230 INTERMEDIATE MANAGEMENT ACCOUNTING WINTER 2013

INFO 3130 Management Information Systems Spring 2016

Contents RELATIONAL DATABASES

Database Architecture and Administration

Gustavus Adolphus College Department of Economics and Management E/M : MARKETING M/T/W/F 11:30AM 12:20AM, BH 301, SPRING 2016

ITP 300: Database Web Development. Database Web Development (Monday section) Fall 2012 Course Units

Ursuline College Accelerated Program

MIS630 Data and Knowledge Management Course Syllabus

FI 630 Financial Management I

IST359 INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

1/20/11. Outline. Database Management Systems. Prerequisites. Staff and Contact Information. Course Web Site. 645: Database Design and Implementation

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

Topics in basic DBMS course

CISC 432/CMPE 432/CISC 832 Advanced Database Systems

Overview of Database Management

Northeastern University Online College of Professional Studies Course Syllabus

FACULTY OF MANAGEMENT FUNDAMENTALS OF INVESTMENTS MGT 3412 Y - FALL 2015

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

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Fall 2007 Lecture 5 - DBMS Architecture

Database Systems Introduction Dr P Sreenivasa Kumar

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

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

OPERATIONS MANAGEMENT (OM335: 04285, 04290)

Data Integration and Exchange. L. Libkin 1 Data Integration and Exchange

Business Administration Certificates

ACCT*2230 MANAGEMENT ACCOUNTING Winter 2012

Information Sheet: Honours students 2015

Cleveland State University

IST659 Fall 2015 M003 Class Syllabus. Data Administration Concepts and Database Management

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

Social Marketing. MGT 3250Y Fall 2013 Fridays 6:00 8:50 p.m. Room: S4037.

Introduction: Database management system

Foundations of Information Management

LSC 740 Database Management Syllabus. Description

PSYC 1200 Introduction to Psychology Syllabus

Chapter 1: Introduction

#05-11 School of Accountancy Phone: Class Hours: G1: Monday 10:30 am. Required Textbook and Reading Material

Business Administration Online Course - Plagiarism and Fraud

The Entity-Relationship Model

College Algebra Online Course Syllabus

MAC2233, Business Calculus Reference # , RM 2216 TR 9:50AM 11:05AM

INFS2608 ENTERPRISE DATABASE MANAGEMENT

PSYC 203: Research Methods in Psychology Winter Session, 2014 Syllabus

Textbook and References

Introduction to database management systems

Introduction to Information Technology ITP 101x (4 Units)

MATH 2412 PRECALCULUS SPRING 2015 Synonym 26044, Section 011 MW 12:00-1:45, EVC 8106

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

INFO Management Information Systems Spring 2015

CS 425 Software Engineering

Database System Concepts

ORACLE DATABASE 10G ENTERPRISE EDITION

DATABASE DESIGN AND IMPLEMENTATION II SAULT COLLEGE OF APPLIED ARTS AND TECHNOLOGY SAULT STE. MARIE, ONTARIO. Sault College

MBA Program Dalhousie University School of Business Administration Faculty of Management

Data Warehouses and Business Intelligence ITP 487 (3 Units) Fall Objective

Business Administration

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

Transcription:

Database Management Systems Winter 2004 CMPUT 391: Introduction Dr. Osmar R. Zaïane Objectives of Lecture 1 Introduction Get a rough initial idea about the content of the course: Lectures Resources Activities Mind refresher for Database Systems (CMPUT 291) (Students who are taking this course need to have knowledge about databases and expertise in structured programming, i.e., CMPUT 291or equivalent is a course requirement) 1 2 Class and Office Hours Classes for Section B2: Mondays, Wednesdays and Fridays 13:00 to 13:50 CSC B10 Classes for Section B1: Mondays, Wednesdays and Fridays 11:00 to 11:50 CSC B2 (Taught by Dr. Sander) Office Hours: Tuesdays and Wednesdays from 15:00 to 16:00 Office: ATH 352 By appointment: E-mail: zaiane@cs.ualberta.ca Tel: 492 2860 Check appointment page on my web page. Labs and TAs Labs (CSC 219): H01: Wednesday 14:00 to 16:50 H02: Thursday 08:00 to 10:50 H03: Thursday 11:00 to 13:50 H04: Thursday 14:00 to 16:50 H05: Friday 08:00 to 10:50 TAs: Other Expert Assistants: Zhibin An (zhibin@cs.ualberta.ca) Corrine Cheng (corrine@cs.ualberta.ca) Chi-Hoon Lee (chihoon@cs.ualbreta.ca) Marianne Morris (marianne@cs.ualberta.ca) Alexandru Coman (acoman@cs.ualberta.ca) Daniel Mallett (mallett@cs.ualberta.ca) 3 4

Resources Course home page: http://www.cs.ualberta.ca/~zaiane/courses/cmput391/ Contains links to course notes, detailed course calendar and other resources Newsgroup news://news.srv.ualberta.ca/ualberta.courses.cmput.391 Textbook: Databases and Transaction Processing by P.M. Lewis, A. Bernstein and M. Kifer, Addison-Wesley, 2002, ISBN: 0-201-70872-8. Other recommended textbooks: Raghu Ramakrishnan and Johannes Gehrke, Database Management Systems (Third Edition) McGraw-Hill, 2002, ISBN: 0-07-232206-3 R. Elmasri and S. Navathe, Fundamentals of Database Systems, 3rd Edition, Addison-Wesley, 1999, ISBN: 0-8053-1755-4. On-line Resources http://www.cs.ualbrta.ca/~zaiane/courses/cmput391/ CMPUT 391 web page Course slides Web links Glossary Activity descriptions U-Chat Frequently asked questions Announcements There will be no handouts distributed in class. 5 6 (Tentative, subject to changes) Course Schedule There are 14 weeks from January 5 th to April 7 th Lectures: cover the basic material for the course. Tutorials: complement the course and will be given during some lab hours. They contain information that is necessary to do the project. Assignments and Project: will be given later in the semester. You should work on them during lab hours (when there are no tutorials or lab exercises). Implementation assignments will also be demonstrated during lab hours in the week following the assignment deadline. The project demos will be demo ed at the end of the semester. There are additional 5 lab exercises that will be marked by the TA. Midterm (February 23 rd ) Final Exam (April 21 st for section B2 (April 14 th for section B1) Project Demos (last week of the semester) 7 8

Course Calendar Introduction Jan 05 Database Design & Normalization Jan 07-09-12-14-16-19 Query Processing and Optimisation Jan 21-23-26-28-30-Feb 02 Data Warehousing and OLAP Feb 4-6 Transactions / ACID Feb 09-11-13 Reading Week Midterm Feb 23 Transactions / ACID Feb 25-27-Mar 01-03-05 Querying XML Mar 08-10 Information Retrieval Mar 12 Data Mining Mar 15-17-19 O-ODB & Spatial Data ManagementMar 22-24-26-29 Parallel and Distributed Databases Mar 31- April 02-05 Project Demos Mar 29 to Apr 02 9 Lab Tutorials Normalization Installation and use of Tomcat Java servlets Connectivity with databases (JDBC) Java Server Pages (JSP) Triggers with ORACLE Database Security Querying XML repositories Locking Isolation Levels with ORACLE 10 Evaluation and Grading Your final grade will depend on the entire profile of the grades in your lecture section (bell-curve distribution) and a particular composite score does not guarantee a particular final grade. However, your composite score will be computed using the following weights: Assignments 20% (5 assignments, 4% each) Lab Exercises 5% (5 exercises, 1% each) Mid-Term Examination 20% (Feb 23 rd ) Project 25% (demo at end of semester) Final Exam 30% (April 21 st ) You have to pass the final exam in order to pass the course A+ will be given only for outstanding achievement. More About Evaluation Re-examination. None, except as per regulation. Collaboration. Do Collaborate on assignments; do not merely copy. Do not exchange machine-readable code (programs) Plagiarism, cheating, misrepresentation of facts and participation in such offences are viewed as serious academic offences by the University and by the Campus Law Review Committee (CLRC) of General Faculties Council. Sanctions for such offences range from a reprimand to suspension or expulsion from the University. Plagiarism. Work submitted by a student that is the work of another student or any other person is considered plagiarism. Read Sections 26.1.4 and 26.1.5 of the calendar. Cases of plagiarism are immediately referred to the Dean of Science, who determines what course of action is appropriate. 11 12

Collaboration Policy Exams, Assignments and Lab Exercises are to be done individually. Even though you are allowed to form study groups and discuss assignments, each student must come up with his/her own solution by him/herself. Students may be asked at anytime to explain and/or justify their solutions and if they are clearly unable to do so then a zero mark may be assigned to the assignment in question and, if warranted, the case may be treated as a potential case of misconduct. Plagiarism is a serious offence. It has been, and will continue to be, dealt with very seriously. Assignments Exercises on Database Design and Normalization Algorithm Implementation on Database Design and Normalization Exercises on Query Processing and Optimization Exercises on Transaction Processing week 1 week 8 week 2 week 9 week 3 Æ 1 week 10Æ 4 week 4 Æ 2 week 11Æ 5 week 5 Æ 3 week 12 week 6 week 13 week 7 week 14 Combined Exercises 13 14 Lab Exercises week 1 week 8 Æ 2 week 2 week 9 Æ 3 week 3 Æ 1 week 10Æ 4 week 4 week 11Æ 5 week 5 week 12 week 6 week 13 week 7 week 14 Course Project SELECT FROM WHERE Servlet Servlet JDBC Database Security The objectives of the course project are to gain hands-on experience in design and implementation of Web-based information systems that use a database management system for storage and management of data. Triggers Locking: Isolation Levels 15 16

Course Project Projects will be demonstrated in class at the end of the semester. The idea is to build a web-based application from the ground up with technologies such as: ORACLE-8, Java, Servlets/JSP, JDBC, HTML forms, etc. The topic of the project is a management information system using Online Analytical Processing for a fictive distributed Electronics retail store. Past Projects Student registration On-line store Bibliog. DB Car Rental Auto registration Medical Lab Yacht-club Objectives for CMPUT 391 To understand the fundamental concepts underlying database management systems: database design methodology (normalization, ) database management systems (query optimisation, concurrency, recovery, security, ) To learn about additional DB support for special data types such as XML documents and Spatial Data To get acquainted with data analysis issues such as data mining, data warehousing and information retrieval; To gain hands-on experience with database application systems and commercial database management systems. developing an application system using ORACLE & web technology 17 18 What you studied in CMPUT 291 ER Model Relational Model Relational algebra Relational Calculus SQL Database Design/Normalization Disk and File Structures Indexing Tree-structured indexes Hashing The main objective for CMPUT 291was: Ensure that the student becomes a knowledgeable user of database management technology Understand how database management differs from file processing; Learn how to model data and build relational databases; Use query languages to access stored data. You will be assumed to know this material. CMPUT 291 is a prerequisite for CMPUT 391 19 Data: any information Manufacturing University Hospital Bank Basic Notions Product data Student data, courses Patient data, facilities Account data What is a database? Database: a large collection of data an integrated collection of data What is a database management system? Database management system: a software system that provides an efficient as well as convenient environment for accessing data in a database. 20

ER-Model ssn name Employees Relational Tables since Works_In dname budget 21 did Departments Employees ssn name Departments did dname budget WorksIn ssn did since SQL SELECT E.name, D.dname FROM E Employees, D Departments, W WorksIn WHERE E.ssn = D.ssn AND D.budget > 500000 AND W.since < 1995 GROUP BY D.dname B+tree Indexing f Hash table Functionalities of DBMSs Specifying the database structure data definition language Manipulation of the database query processing and query optimisation Integrity enforcement integrity constraints Concurrent control multiple user environment Crash recovery Security and authorization 22 A file processing system within an operation system Database Approach Why file management systems? efficient file accesses Why database management system? efficient and convenient data access a logic file Operating system physical files PROGRAM 1 PROGRAM 1 PROGRAM 2 DBMS Query Processor Transaction Mgr Integrated Database File management systems: goal: efficiency problem: high speed ram vs. low speed disk access solution: complicated file structures A file system sets up mappings between logical files and physical files. Database management systems: goal: efficiency as well as convenience problem: conflicts between efficiency and convenience solution: data independence supported by various database models 23 24

Database Management System Users Naïve and casual database users ¾ a person who knows nothing or not much about the database and accesses the data via forms and pre-built queries embedded in programs. Advanced users and application programmers ¾ a person who knows about the structure of the database and about query languages, and can embed queries in programs. Expert users and application programmers ¾ a person who knows how to write complex queries and advanced database programs based on knowledge on DBMS intricacies. Database administrator ¾ a person who is responsible for the database design, scheme modification, user authorization, etc.. CMPUT 291 CMPUT 391 25 Database models: conceptual tools used to describe: data data relationships data semantics data constraints Major database models Data independence Capability of changing a database schema without having to change the schema at the next higher level view schema Describes part of logical data the DB as per usage independence logic schema Conceptual schema: physical data Describes the data independence physical schema File structure: describes how data is stored physically E-R model: a logic foundation for conceptual database design network model: a set of records connected by links hierarchical model: a set of database trees relational model: a set of tables 26