1 Fall 2013. MIS 380, section 1. Classroom: GMCS 306 PROFESSOR: Dr. KOSTER OFFICE HOURS: DATA MANAGEMENT SYSTEMS Time: M W 2-3:15PM Office: SS 3112 phone: 594-1020 email: akoster@mail.sdsu.edu Monday and Wednesday, Starting at 18:45 Except TBA -----------------------------------------------------------TEXTBOOKS Required: Database Management Systems, 2011 edition, A. Koster, Customized Material, Montezuma Publishing Optional: Modern Database Management, 11e, Hoffer, Ramesh, Hopi, 2013 (Pearson) _________________________________________________________________ COURSE DESCRIPTION: This course will provide students a broad familiarity with modern techniques of database design, organization and processing in computer based-information systems. The emphasis in the course will be on the application of data management software for designing, creating, and manipulating databases. In the process, concepts involved in analysis, design, and administration of large databases will be discussed. The relational database model will be covered in depth. Course concepts will be illustrated through the design, implementation, and processing of a database using the relational database management system ORACLE and the database language SQL. -----------------------------------------------------------PRIMARY LEARNING OBJECTIVES Describe how relational databases store business data and provide desired information. Analyze organizational information requirements using the entity-relationship approach and model them as EntityRelationship Diagrams (conceptual database design). Map an Entity-Relationship Diagram to a relational database (logical database design). Use normal form theory to analyze and improve a database design. Create a database with the ORACLE Database Management System and process complex information using the SQL language. Explain how a DBMS enforces security, recovery from failure, and concurrency control 2 EXAMINATIONS AND GRADING: The course grade will depend on 3 examinations, 4 projects, and class participation as follows 1. Three multiple-choice midterm examinations and pop quizzes 60 (20%, 20%, 20%) 2. Projects 35% (weights of the 4 projects 1, 2, 3, 4: 6.5, 1.5, 7, 5) 3. Class participation 5% Letter grades are provided to students for each exam and project as an approximate indication of their standing in the class, but final class grades are computed using the numeric scores. ------------------------------------------------------------Communications Instructor-Students: Exam topics, projects, and schedule changes are sent via email. Students’ email addresses are collected during the first week of classes. Please, make sure the email system you use is reliable. Schedule. Dates are tentative. Changes, if any, will be announced by email. (August 26, 28) Introduction to database systems. READINGS: Koster, pages 3-14 (optional Hoffer, Chapter 1 through page 9, pages 1-16) Phases of Database Design, Information Requirements READINGS: Koster, pp. 15-17 (September 4). No class on September 2, Labor Day Conceptual Database Design. Data modeling using the Entity-Relationship approach. READINGS: Koster, pp. 18-30 (optional Hoffer, Chapter 2, thru page 60, 66 to 79) (September 9, 11). Data modeling using the Entity-Relationship approach, cont. READINGS: Koster, pp. 18-30 (September 16, 18). Advanced elements of the EntityRelationship approach. Generalization hierarchies. READINGS: Koster, section on data modeling, cont. pages 32-37 (optional Hoffer, Chapter 3, thru page 125) (September 23, 25). The Relational Database Model. Tables, attributes, candidate keys, primary keys and foreign keys, integrity rules. READINGS: Koster, pp. 38-40 (September 30, October 2) Logical Database Design: Mapping an entity-relationship design into a relational database. READINGS: Koster, section on mapping: pages 41-56 Project part 1 due on September 30 (Conceptual design using ER) 3 (October 7, 9). Introduction to SQL and ORACLE. The SQLPLUS interface. READINGS: Koster, pp. 57-64, pages 158-160 CREATE TABLE statement. Expressing integrity constraints. Data types. INSERT statement. SELECT queries on single tables. Aggregate functions. Null values. READINGS: Koster, Pages 65-93. Exam #1 October 7 (October 14, 16). SQL, cont. Queries on multiple tables. (joins). UPDATE, INSERT, DELETE, COMMIT, ROLLBACK statements. Nested subqueries. READINGS: Koster, pages 94-100, 108-113, 116. Project part 2 due October 14 (logical design) (October 21, 23). Advanced elements of SQL, cont. VIEWS: CREATE VIEW command, rules about view data modification. READINGS: Koster, pages 117-123. (October 28, 30). Normalization of databases; normal forms. READINGS: Article by Kent: A Simple Guide to Five Normal Forms; Koster, pages 131-146 (except NF 5) (November 4, 6). Normalization, cont. Practical considerations, de-normalization. Operational databases vs data warehouses Project part 3 due on November 4 (database creation and simple processing with ORACLE) (November 13). No class on November 11, Veterans Day. Transaction Management: ACID properties, data integrity/security/privacy READINGS: Koster, pages 127-130 (SQL GRANT command), p. 150-151 (Optional:Hoffer p. 489) Exam 2 on November 13 (November 18, 20). Transaction Management, cont. Concurrency control. GRANT and LOCK commands. Recovery from failure READINGS: Koster, pages 152-157 (Optional Hoffer, p. 486 to 488, p. 490 to 497) (November 25, 27). Physical characteristics of input/output devices. Physical data structures for databases: file structures -sequential, hash and index files -- B-Trees READINGS: Koster, section on data structures, pp. 126, 147-149 (optional Hoffer, p.219 to 229) Project part 4 due on November 25 (Advanced database processing with ORACLE/SQL) (December 2, 4). Physical database design, cont. READINGS: Koster, section on data structures, pp. 126, 147-149 (December 9, 11). Midterm #3 on December 9. Project 4 discussion