ISOM3260 Database Design and Administration Spring 2015-16 Overview Database management systems are the foundation of any information systems. In this course, students will learn the basic concepts and principles of database design and implementation. Database management systems must effectively store, access, and manipulate data as well as provide data security, data sharing, and data integrity. This course emphasizes both theories and hands­on experience. The course work includes a group project in which students design and implement a database system to solve a practical business problem. Oracle will be used as the main software package for students to gain hands­on experience. Course Objectives You will understand the database environment You will be able to describe the database development process You will learn how to do conceptual modeling (with Entity­Relationship diagram) You will learn how to do logical database design (with normalization) You will learn how to do physical database design You will learn how to retrieve data from databases (with SQL) You will learn what is a data warehouse You will learn how to manage data and database administration Lecture Regulations Please be punctual. Turn off all mobile phones in the lecture theater. Do not talk with your friends while your professor is speaking. Disrupting class by engaging in conversations with your friends is inconsiderate to your fellow students. Lab Regulations Attend the laboratory session that you have been officially assigned. The Oracle server cannot handle too many sessions opened at the same time. Hence, in order to ensure that the server does not crash, we need to limit the number of students per lab. Please be punctual. Turn off all mobile phones in the laboratory. Do not talk with your friends while the lab instructor is speaking. Disrupting class by engaging in conversations with your friends is inconsiderate to your fellow students. Remove any files you saved in the hard disk before logging off. Instructor Professor (L3) Dr. James Y.L. THONG (http://home.ust.hk/~jthong) Tel 2358-7631 Email jthong@ust.hk (mailto:jthong@ust.hk) Office Hours Room 4078, LSK Building (By appointment) Professor (L1, L2) Dr. Muller CHEUNG Tel 2358-8142 Email mcheung@ust.hk (mailto:mcheung@ust.hk) Office Hours Room 5045, LSK Building (By appointment) Tutor (LA1-LA4) Mr. Chris TSE Tel 2358-7653 Email imchris@ust.hk Office Hours Room 4065, LSK Building (By appointment) Notes: If you have questions regarding the lectures and exams, please contact your professor. Emails are welcomed. If you have questions regarding the labs and Oracle, please contact the tutor. 1/1 Textbook Modern Database Management (11th Edition)Jeffrey A. Hoffer, Ramesh Venkataraman, and Heikki TopiPrentice Hall; 11 edition (July 16, 2012) ISBN-10: 0132662256(Note: this book is available in Library Reserve Collection (http://ustlib.ust.hk/record=b1128163~S10) under ISOM3260) Lab References In this section, you can find a list of reference books that may be useful for your project. 1. General Reference (http://www.oracle.com/technology/documentation/index.html) (Downloadable User Manuals. Free of charge. Registration Required) Comment: This book shows examples and concepts of SQL and PL/SQL based on the Oracle 11g Database context. This is a good textbook to reference on, in order to master SQL. Oracle 11g: (http://astore.amazon.com/oraclebooks20/detail/0071496610) SQL (http://astore.amazon.com/oraclebooks20/detail/0071496610) Jason Price McGraw-Hill Osborne Media, c2007 ISBN: 0071498508 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/search~S10?/rISOM+226/risom+226/1,1,1,B/frameset~1032677&FF=risom+226&1,1,) under ISOM 3260) Comment: This book provides the information on the new features in Oracle 11g, compare with Oracle 10g. Clear illustrations in tables, charts and screenshots are available. Oracle 11g: New Features (http://astore.amazon.com/oraclebooks20/detail/0071496610) Robert G. Freeman McGraw-Hill Osborne Media, c2007 ISBN: 0071496610 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/search~S10?/rISOM+226/risom+226/1,1,1,B/frameset~1032675&FF=risom+226&1,1,) under ISOM 3260) Comment: This book provides beginning database administrators and developers with a solid Oracle 10g: A Beginner's Guide (http://books.mcgraw- hill.com/getbook.php?isbn=0072230789&template=oraclepress) foundation in the database administration and programming basics. (http://www.amazon.com/gp/product/007212606X/qid=1134632576/sr=21/ref=pd_bbs_b_2_1/104-6353098-0857545? s=books&v=glance&n=283155) Ian Abramson, Michael S. Abbey and Michael Corey McGraw-Hill/Osborne, c2004 ISBN: 0072230789 (Note: One book is available in Library Reserve Collection (http://ustlib.ust.hk/record=b838705) under ISOM 3260) Comment: This textbook is not simply a study guide; it is written for individuals who have just a basic knowledge of databases and can be utilized in a course on this latest implementation of SQL from Oracle. Oracle 10g : SQL (http://www.amazon.com/Oracle-10g-SQL-JoanCasteel/dp/141883629X/sr=81/qid=1170328083/ref=sr_1_1/104-63339965448734?ie=UTF8&s=books) Joan Casteel Thomson Course Technology, c2007 ISBN-10: 141883629X (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/search/c? SEARCH=QA76.9.D3+C375&sortdropdown=-&searchscope=10&submit=Submit) under ISOM 3260) 2. Developer Reference Comment: This book provides coverage of everything from O (http://www.quepublishing.com/catalog/product.asp? product_id=%7BD2B742F5-08E6-4A2B-9035-FC3980EE7A5A%7D) building, monitoring, and tuning an Oracle database to building forms and reports. racle9i Development by Example (http://www.quepublishing.com/catalog/product.asp? product_id=%7BD2B742F5-08E6-4A2B-9035-FC3980EE7A5A%7D) (http://www.amazon.com/gp/product/007212606X/qid=1134632576/sr=21/ref=pd_bbs_b_2_1/104-6353098-0857545? s=books&v=glance&n=283155) Dan Hotka QUE, c2002 ISBN: 0789726718 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/record=b763735) under ISOM 3260) Comment: This book describes the concepts and techniques needed to build Web-enabled applications with Oracle Forms Developer. The book covers the fundamental concepts and advanced topics of Oracle Oracle Developer Forms Techniques Forms Developer in great detail. (http://www.samspublishing.com/catalog/product.asp? session_id=%7B70959630-E01D-4DDE-AD9A35F0A5278F94%7D&product_id=%7B23C6F62C02BA-4D00-BAF3-39B88A17319A%7D) Bulusu Lakshman Sams, c2000 ISBN: 0672318466 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/record=b657442) under ISOM 3260) Comment: The author offers start-to-finish coverage of the Oracle Forms, and walks you step-by-step through building several complete Web and Oracle Forms Developer's Handbook (http://www.phptr.com/browse/product.asp?session_id=%7BFF20D70C- client/server applications. 6E16-45E4-98D3-1BF78CD900C4%7D&product_id=%7BEF8598C62614-43FB-A1D6-9997FA08F587%7D) (http://www.amazon.com/gp/product/007212606X/qid=1134632576/sr=21/ref=pd_bbs_b_2_1/104-6353098-0857545? s=books&v=glance&n=283155) Albert Lulushi Prentice Hall PTR, c2001 ISBN: 0130307548 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/record=b686716) under ISOM 3260) Comment: This book provides you with detailed explanations and complete solutions that show you how to produce robust and Internet-ready applications. Programming with Oracle Developer (http://www.samspublishing.com/catalog/product.asp? session_id=%7B40F543E3-ECC7-4367-A9D811FF9489A3C5%7D&product_id=%7BBA0E77ECFB01-4864-BA85-7F9B5F3CA73D%7D) Matthew Bennett Sams, c2002 ISBN: 0672321106 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/record=b721461) under ISOM 3260) Comment: While most books on the market do not properly cover the basics, this book differs: it explains fundamentals in detail, supported by realistic examples.You will gain full competence to define, access, and manipulate data in an Oracle database. Mastering Oracle SQL and SQL*Plus (http://www.amazon.com/Mastering-Oracle-SQLPlus/dp/1590594487/ref=pd_bbs_1? ie=UTF8&s=books&sr=1-1) Lex de Haan Apress; 1 edition (December 30, 2004) ISBN: 1590594487 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/search/? searchtype=t&searcharg=Mastering+Oracle+SQL+and+SQL&searchscope=10&sortdropdown=&SORT=D&extended=0&SUBMIT=Search&searchlimits=&searchorigarg=tMastering+Oracle+PL/SQL) under ISOM 3260) 3. PL/SQL Programming Reference Comment: This book contains new information on development tools, datatypes, SQL commands and functions, and above all, the PL/SQL programming in 11g Database. Oracle Database 11g PL/SQL Programming (http://www.amazon.com/Oracle-DatabaseProgramming-Osborne-ORACLE/dp/0071494456) Michael McLaughlin McGraw-Hill/Osborne, c2008 ISBN: 0071494456 (Note: One copy is available in Library Reserve Collection under ISOM 3260) Comment: This book contains different examples about PL/SQL. It is good for students who would like to explore advanced functions of PL/SQL. Beginning PL/SQL: From Novice to Professional (http://www.amazon.com/Beginning-PL-SQLNovice-Professional/dp/1590598822/ref=sr_1_1? ie=UTF8&s=books&qid=1261247822&sr=8-1) Donald Bales Apress, c2007 ISBN: 1590598822 (Note: One copy is available in Library Reserve Collection under ISOM 3260) Comment: This book contains information on development tools, datatypes, SQL commands and functions, and above all, the PL/SQL programming. Oracle Database 10g PL/SQL Programming (http://books.mcgraw-hill.com/getbook.php? isbn=0072230665&template=) Scott Urman, Ron Hardman, Michael McLaughlin McGraw-Hill/Osborne, c2004 ISBN: 0072230665 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/record=b863704) under ISOM 3260) Comment: This book is a quick reference guide to PL/SQL programming language. The latest version of the book contains the functions and triggers for Oracle 11g. This book is suitable for students looking for the syntax of specific functions in PL/SQL Oracle PL/SQL Language Pocket References (http://oreilly.com/catalog/9780596514044/) Steven Feuerstein, Bill Pribyl Farnham : O'Reilly, 2007 ISBN: 0596514042 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/search~S10/? searchtype=i&searcharg=0596514042&searchscope=10&sortdropdown=&SORT=D&extended=0&SUBMIT=Search&searchlimits=&searchorigarg=i0596009771) under ISOM 3260) Comment: How to use Oracle PL/SQL in all its manifestations through Oracle9i. Fundamentals of program structure (loops, cases, exceptions, etc.) and execution get attention, as do data types, transaction management, triggers, and the object-oriented aspects of the language. Oracle PL/SQL Programming (http://www.amazon.com/Oracle-PL-SQLProgramming-4th/dp/0596009771/ref=pd_bbs_2? ie=UTF8&s=books&qid=1200383014&sr=8-2) Steven Feuerstein, Bill Pribyl Farnham : O'Reilly, 2005 ISBN: 0596009771 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/search/? searchtype=i&searcharg=0596009771&searchscope=10&sort=D&extended=0&SUBMIT=Search) under ISOM 3260) Comment: This book is designed for both new programmers and those experienced in other languages. It presents the core features of Oracle's PL/SQL language in an easy-to-read format. Learning Oracle PL/SQL (http://www.oreilly.com/catalog/learnoracle/) (http://www.amazon.com/gp/product/007212606X/qid=1134632576/sr=21/ref=pd_bbs_b_2_1/104-6353098-0857545? s=books&v=glance&n=283155) Bill Pribyl, Steven Feuerstein O'Reilly, c2002 ISBN: 0596001800 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/record=b723147) under ISOM 3260) Comment: Oracle PL/SQL 101 A book written for beginners. The book covers (http://www.amazon.com/gp/product/007212606X/qid=1134632576/sr=2- the SQL and PL/SQL needed to work with the 1/ref=pd_bbs_b_2_1/104-6353098-0857545? Oracle database. In particular, it covers the s=books&v=glance&n=283155) basics of PL/SQL in great detail. Christopher Allen McGraw-Hill, c2001 ISBN: 007212606X (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/record=b693219) under ISOM 3260) Oracle PL/SQL For Dummies Comment: (http://www.amazon.com/Oracle-SQL-Dummies- This book is about code structures, best practices, and code naming Michael- standards, how to use conditions and loops, where to place PL/SQL Rosenblum/dp/0764599577/ref=pd_bbs_sr_1? code in system projects, ways to manipulate data, and more. ie=UTF8&s=books&qid=1200363639&sr=8-1) Michael Rosenblum, Paul Dorsey For Dummies (June 13, 2006) ISBN: 0764599577 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/search/? searchtype=i&searcharg=0764599577&searchscope=10&sort=D&extended=0&SUBMIT=Search) under ISOM 3260) Mastering Oracle PL/SQL: Practical Solutions Comment: This book is about effective techniques to solve essential problems (http://www.amazon.com/Mastering-Oracle-SQL- using PL/SQL. It focuses in on the fundamental programming unit, the Practical- stored procedure, and demonstrates how to code them in the most Solutions/dp/1590592174/ref=pd_bbs_sr_1? effective manner and on real practical uses for them in the database. ie=UTF8&s=books&qid=1200363981&sr=1-1) Connor McDonald, Chaim Katz, Christopher Beck Apress; 1 edition (January 2004) ISBN: 1590592174 (Note: One copy is available in Library Reserve Collection (http://ustlib.ust.hk/search/? searchtype=i&searcharg=1590592174&searchscope=10&sort=D&extended=0&SUBMIT=Search) under ISOM 3260) Grading Scheme Grading Scheme Midterm Exam 30% Project 35% Progress Demonstration 10% Finalized Report and System 25% Final Exam Total 35% 100% The exams are close-book tests. No make-up exams will be given unless supported by a medical certificate. Attendance Policy While your final grade will not be affected by non-attendance, it is in your best interest to attend the lectures. The questions on the midterm and final exams will only include topics covered in the lectures. Schedule Week 1: Feb 1, 2, 3, 5 - [Lecture 1a: Database Environment] ; [Lecture 1b: Database Development Process] Week 2: Feb 8 - Holiday Week 3: Feb 15, 16, 17, 19 - [Lecture 2: Basic Database Analysis (ER Model)] Week 4: Feb 22 - [Lecture 3: Enhanced ER Model] Week 5: Feb 29 - [Lecture 4a: Logical Database Design] Week 6: Mar 7 - [Lecture 4b: Normalization] ; [Lecture 5: Physical Database Design] Week 7: Mar 14 - Midterm (Venue: LTB and 1504) Week 8: Mar 21 - [Lecture 6: Basic SQL] Week 9: Apr 4 - Holiday Week 10: Apr 11 - [Lecture 7: Advanced SQL] Week 11: Apr 18 - [Lecture 8: Data and Database Administration] Week 12: Apr 25 - [Lecture 9: Data Warehouse] Week 13: May 3, 4, 6 - Project Demonstration (Venue: Room 4084, LSK Building) LAB: Week 1: Feb 2, 3, 5 - [Lab 1: Introduction to ISOM3260 Labs and group project] LAB: Week 2: Feb 9, 10, 12 - No Lab LAB: Week 3: Feb 16, 17, 19 - [Lecture 2: ER Model (cont.)] ; [Lab 2: Toad Data Modeler and group formation] LAB: Week 4: Feb 23, 24, 26 - [Lab 3: Project Work on Database Analysis] LAB: Week 5: Mar 1, 2, 4 - [Lecture 4a: Logical Design (cont.)] ; [Lab 4: Create simple UI using Oracle Forms]] LAB: Week 6: Mar 8, 9, 11 - [Lab 5: Insert, update/select records in database from Oracle Forms] LAB: Week 7: Mar 15, 16, 18 - Project Work LAB: Week 8: Mar 22, 23, Apr 1- [Lecture 6: Basic SQL (cont.)] ; [Lab 6: Validation triggers and Search engine] LAB: Week 9: Apr 5, 6, 8 - [Lab 7: Insert Multiple Records into database and user-friendly objects] LAB: Week 10: Apr 12, 13, 15 - Progress Demonstration LAB: Week 11: Apr 19, 20, 22 - [Lab 8: Oracle Report] LAB: Week 12: Apr 26, 27, 29 - Project Dry Run LAB: Week 13: May 3, 4, 6 - Project Demonstration (Venue: Room 4084, LSK Building)