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



Similar documents
CSE 412/598 Database Management Spring 2012 Semester Syllabus

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.

CSE 562 Database Systems

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

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

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

IINF 202 Introduction to Data and Databases (Spring 2012)

David M. Kroenke and David J. Auer Database Processing 11 th Edition Fundamentals, Design, and Implementation. Chapter Objectives

CS 649 Database Management Systems. Fall 2011

Introduction: How does a student get started? How much time does this course require per week?

IST359 - INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

IST359 INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

CS 1340 Sec. A Time: 8:00AM, Location: Nevins Instructor: Dr. R. Paul Mihail, 2119 Nevins Hall, rpmihail@valdosta.

CHEM PRINCIPLES OF CHEMISTRY Lecture

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

CS 4604: Introduc0on to Database Management Systems

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

Syllabus for Course : Database Systems Engineering at Kinneret College

CIS Information and Database Systems I. Course Syllabus Spring 2015

ACTG 051A: Intermediate Accounting 1A Foothill College, Summer 2015

BA 561: Database Design and Applications Acct 565: Advanced Accounting Information Systems Syllabus Spring 2015

TMGT W Principles of Cost Engineering Course Syllabus: Spring 2013 Online ecollege Course

COS 480/580: Database Management Systems

Ursuline College Accelerated Program

Math 35 Section Spring Class meetings: 6 Saturdays 9:00AM-11:30AM (on the following dates: 2/22, 3/8, 3/29, 5/3, 5/24, 6/7)

CSC 314: Operating Systems Spring 2005

FROM RELATIONAL TO OBJECT DATABASE MANAGEMENT SYSTEMS

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

BCM :00-12:15 p.m. 1:30-3:35 p.m. Wednesday 10:00-12:00 noon

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

David M. Kroenke and David J. Auer Database Processing 12 th Edition

CSE 132A. Database Systems Principles

Thursday 11:00 a.m. - 12:00 p.m. and by appointment

BUS Computer Concepts and Applications for Business Fall 2012

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

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

Spring 2013 CS 6930 Advanced Topics in Web Security and Privacy - 3 Credit Hours Syllabus and Course Policies

CSC 474 Information Systems Security

CSC-570 Introduction to Database Management Systems

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

Data Modeling and Databases I - Introduction. Gustavo Alonso Systems Group Department of Computer Science ETH Zürich

Accounting Information Systems (ACC409) Spring 2015 School of Accountancy Shidler College of Business University of Hawaii at Manoa

Introduction to Database Systems CS4320. Instructor: Christoph Koch CS

ECON 351: Microeconomics for Business

Prerequisite Math 115 with a grade of C or better, or appropriate skill level demonstrated through the Math assessment process, or by permit.

Florida Gulf Coast University Finite Math M GF 1106 Spring 2014 CRN 11072

Intro. to Data Visualization Spring 2016

School of Business and Nonprofit Management Course Syllabus

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

ACTG 051B: Intermediate Accounting 1B Foothill College, Summer 2015

Accounting & Information Systems 300 Accounting Principles Course Syllabus Spring Section one

ISM 4210: DATABASE MANAGEMENT

College of Southern Maryland Fundamentals of Accounting Practice(ACC 1015) Course Syllabus Spring 2015

IT 415 Information Visualization Spring Semester

Advanced Database Management MISM Course F A Fall 2014

MAT Elements of Modern Mathematics Syllabus for Spring 2011 Section 100, TTh 9:30-10:50 AM; Section 200, TTh 8:00-9:20 AM

Math 103, College Algebra Fall 2015 Syllabus TTh PM Classes

1 File Processing Systems

Social Work Statistics Spring 2000

Diagnostic Coding OST 148 OL1 Fall Semester 2015 Class hours: Online

Rutgers University, Department of Psychology Developmental Psychology Winter Office Hours Office Phone

Overview. Introduction to Database Systems. Motivation... Motivation: how do we store lots of data?

DePaul University School of Accountancy and MIS ACC Online

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

Spring 2015: Gordon State College. Barnesville, GA Online Course: Econ 2106 Microeconomics. Course Meeting Time and Location: Internet (D2L)

Database Architecture and Administration

Math 103, College Algebra Spring 2016 Syllabus MWF Day Classes MWTh Day Classes

Syllabus FINANCE 330 Spring 2016 Section 003

Introduction to Symbolic Logic Vaishali Khandekar, PhD Course Description: PREREQUISITE(S): CO-REQUISITE(S): FREQUENT REQUISITES

Precalculus Algebra Online Course Syllabus

TITLE: Elementary Algebra and Geometry OFFICE LOCATION: M-106 COURSE REFERENCE NUMBER: see Website PHONE NUMBER: (619)

COURSE SYLLABUS DESIGNING WEB PAGES COP3835-RVC-1121 GENERAL INFORMATION IMPORTANT INFORMATION PROFESSOR INFORMATION

ACCT W Advanced Managerial Accounting Spring 2015 Online Course

Kent State University, College of Business Administration. Department of Accounting, Fall 2014 M & W * * * REVIZED 8/15/2014 * * * Instructor:

MGMT 302(01): Foundations of Management Syllabus Spring Time & Location: W 5:00 p.m. 6:50 p.m. Full Term (1/20/07 5/18/07) Markstein 107

Investment Management Course

GENERAL PSYCHOLOGY, PSC 1, Section 2

CS 450/650 Fundamentals of Integrated Computer Security

John Fenoglio Gary Husmann FINA 7397 Spring 2016

Required Textbook: Sciarra, Dorothy June, Dorsey, Anne G., Developing and Administering a Child Care and Education Program, 7th Edition.

Syllabus CIS 3630: Management Information Systems Spring 2009

CME403/603 Syllabus Page 1

F l o r i d a G u l f C o a s t U n i v e r s i t y S t a t i s t i c a l M e t h o d s F a l l C R N

CS Data Science and Visualization Spring 2016

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

Logistics. Database Management Systems. Chapter 1. Project. Goals for This Course. Any Questions So Far? What This Course Cannot Do.

Social Psychology PSYC Online

Crime Scene Investigation Central College

ACC 7145: ACCOUNTING SYSTEMS DESIGN AND CONTROL SYLLABUS FOR SUMMER SESSION 2014

AGEC 448 AGEC 601 AGRICULTURAL COMMODITY FUTURES COMMODITY FUTURES & OPTIONS MARKETS SYLLABUS SPRING 2014 SCHEDULE

STAT 360 Probability and Statistics. Fall 2012

Online College Algebra (MATH 1302-D10) Fall 2011

Department of Management College of Business and Economics California State University Northridge. Course Syllabus, Spring 2011

FINC 298 DEK Personal Financial Planning

Transcription:

CSC 440 Database Management Systems Section 1 Acknowledgment: Slides borrowed from Dr. Rada Chirkova. This presentation uses slides and lecture notes available from http://www-db.stanford.edu/~ullman/dscb.html#slides Scope of this Course Directed at computer science undergraduate students Introduces concepts and theory Requires design and development of a database application Implementation-specific details are not the focus of the course you learn those on your own Intensive Spring 2008 CSC440: Database Management Systems 2 Database System Environment Users / Programmers DATABASE SYSTEM DBMS SOFTWARE Application Programs / Queries Processing Queries / Programs Accessing Stored Data Stored Database Definition (Meta-Data) Stored Database Spring 2008 CSC440: Database Management Systems 3 1

Contents Introduction Database programming basics Data modeling: entity-relationship approach Relational data model Relational algebra SQL Constraints and triggers Transactions, security, and authorization in SQL Spring 2008 CSC440: Database Management Systems 4 Contents (cont d) Data-storage and index structures Recovery Concurrency control Query execution Distributed databases Spring 2008 CSC440: Database Management Systems 5 Prerequisites CSC 316 (Data structures for computer scientists) Knowledge of discrete mathematics and predicate logic Sufficient ability to program in Java or a willingness to acquire it through self-study Spring 2008 CSC440: Database Management Systems 6 2

Course Textbook Database Systems: The Complete Book, by Hector Garcia-Molina, Jeffrey D. Ullman, and Jennifer Widom, Prentice Hall. Bundled with Gradiance software for homeworks Spring 2008 CSC440: Database Management Systems 7 Instructor Peng Ning, associate professor of Computer Science Email policy pning@ncsu.edu Phone (919) 513-4457 Office: EBII-3258, Centennial Campus Office hours: Tuesdays and Thursdays 9:45-10:45am, or by appointment Spring 2008 CSC440: Database Management Systems 8 Teaching Assistant Ms. Yao Liu Office hours: Tuesdays and Thursdays, 4pm - 5pm Office: EBII-3323 Email: yliu20 AT ncsu.edu Spring 2008 CSC440: Database Management Systems 9 3

Now Tell Us about Yourself Interview your neighbor and have him/her interview you Introduce your neighbor to the class Spring 2008 CSC440: Database Management Systems 10 Course Website http://courses.ncsu.edu/csc440/lec/001/ Tour of web sites Important: course announcements: on the web site Learning objectives and lecture slides on the web Spring 2008 CSC440: Database Management Systems 11 Assignments Reading assignments: see course web page Chapter 1 and Section 8.5 now Eight homework assignments All work is to be done individually unless otherwise specified. For the collaborative problems, you may form teams of 2-3 members (of students in this class) to cooperate only on those problems. After discussing the problems, please write up your answers individually. Indicate the names of the other members in your team, if any. Spring 2008 CSC440: Database Management Systems 12 4

Project All students are required to complete a course project The details will be announced on the course website You need to start forming project teams Talk to your classmates Use the message board Spring 2008 CSC440: Database Management Systems 13 Grading Quizzes 5% Assignments 10% Project (demo day April 23) 22% Midterm (February 28 in class) 30% Final exam (April 29, 8-11am) 33% Spring 2008 CSC440: Database Management Systems 14 Why the Homeworks Are Important Spring 2008 CSC440: Database Management Systems 15 5

Self-Study Responsibilities Some of the topics are important but are either quite straightforward or not a main focus of this course. These topics will be identified as self-study topics on the course web page. Your knowledge of them will be evaluated as appropriate through exams, homework, programming assignments, or the project. Spring 2008 CSC440: Database Management Systems 16 Miscellaneous Rules: The NC State University and Department of Computer Science rules regarding academic honesty apply Regrade policy: see syllabus Spring 2008 CSC440: Database Management Systems 17 Discussion Discuss the syllabus in pairs Ask me questions (later if you prefer) Spring 2008 CSC440: Database Management Systems 18 6

Setting Goals and Expectations Write your goals for the semester (2-3 phrases) Write your expectations of me as a teacher (2-3 phrases) Anonymously: hand in rumors, if any, you have heard about the course or about me. We will discuss the rumors next time. You may also ask me questions. Spring 2008 CSC440: Database Management Systems 19 Topic #1: A Brief Introduction to DBMS: The Big Picture Spring 2008 CSC440: Database Management Systems 20 Group Discussion What do you know already about the topic? We ll see next week! What questions do you have about the course content? Spring 2008 CSC440: Database Management Systems 21 7

An Example of a Database STUDENT: Name StudentNumber Class Major Smith 17 1 CSC Brown 8 2 ECE Green 24 2 CSC White 37 1 CSC GRADE_RPRT: StudentNo Course Grade 17 CSC742 A- 17 CSC316 B 24 CSC742 C- 8 CSC742 B+ Spring 2008 CSC440: Database Management Systems 22 Database: What It Is Coherent collection of data with inherent meaning Random assortment of data is not a database About an aspect of the world Changes in the world are reflected in the database Fit to use for its intended purpose Somebody is going to use the database Spring 2008 CSC440: Database Management Systems 23 Group Discussion Come up with 2-3 examples of databases Spring 2008 CSC440: Database Management Systems 24 8

Database System Environment Users / Programmers DATABASE SYSTEM DBMS SOFTWARE Application Programs / Queries Processing Queries / Programs Accessing Stored Data Stored Database Definition (Meta-Data) Stored Database Spring 2008 CSC440: Database Management Systems 25 Database Management System Specialized software Buy, install, set up for particular application Available for PC s, workstations, mainframes, supercomputers Is expected to: Spring 2008 CSC440: Database Management Systems 26 Database Management System Specialized software Buy, install, set up for particular application Available for PC s, workstations, mainframes, supercomputers Is expected to: Allow users to create new databases (schema) Give users the ability to query/modify the data Support the storage of very large amounts of data Control access to data from many users at once Spring 2008 CSC440: Database Management Systems 27 9

Database Management System (cont d) Major vendors/products: Oracle IBM (DB2) Microsoft (SQL Server, Access) Powerful tool for providing efficient, convenient, and safe multi-user storage of and access to massive amounts of persistent data Spring 2008 CSC440: Database Management Systems 28 Example: Banking System Data = information on accounts, customers, balances, current interest rates, transaction histories, etc Massive Persistent Multi-user Spring 2008 CSC440: Database Management Systems 29 Example (2 of 4) Jane at ATM1: withdraw $100 from account #55 Get balance from database If balance > 100 then balance := balance 100 dispense cash put new balance into database Spring 2008 CSC440: Database Management Systems 30 10

Example (3 of 4) John at ATM2: withdraw $50 from account #55 Get balance from database If balance > 50 then balance := balance 50 dispense cash put new balance into database Initial balance = 100 Final balance =?? Spring 2008 CSC440: Database Management Systems 31 Example (4 of 4) Safe Convenient Efficient Spring 2008 CSC440: Database Management Systems 32 DBMS Components Storage manager: Stores on disk: data, metadata, indexes, logs Query processor: Parses queries, optimizes by selecting query plan, executes the plan on the data Transaction manager: Logs database changes to support recovery after system crashes Supports concurrent execution of transactions Spring 2008 CSC440: Database Management Systems 33 11

DBMS Structure in More Detail Strategy Selector User Transaction Query Parser Transaction Manager User Concurrency Control Buffer Manager Recovery Manager Lock Table File Manager M.M. Buffer Log Statistical Data Indexes User Data System Data Spring 2008 CSC440: Database Management Systems 34 People DBMS implementor: builds systems Database designer: sets up schema, loads data Database user: queries/modifies data You in the course project Spring 2008 CSC440: Database Management Systems 35 Less Traditional Applications Real-time, historical data and queries, active databases Distributed, heterogeneous databases Scientific data Spring 2008 CSC440: Database Management Systems 36 12