Data Modelling and Databases Donald Kossmann Systems Group ETH Zürich 1
Schedule Lectures –Mondays: 10:00 – 12:00 –Wednesdays: 8:00 – 10:00 –Held in German (English slides) Exercise Groups (Start March 4) –Tuesdays: 8:00 – 10:00 –Fridays: 8: :00 –Held in English and German Please, register during the break on Wednesday: –lists at the front desk of lecture room 2
Literature Kemper, Eickler: Datenbanksysteme: Eine Einführung. Oldenbourg Verlag, 7. Auflage, or Garcia-Molina, Ullman, Widom: Database Systems: The Complete Book. Pearson, 2. Auflage,
Overview How to use a database system? –Data modelling (ER, UML, theory) –Database programming (SQL) How to build a database system? –Query optimization –Transaction management What next? –Object-orientierted, object-relational databases –Big Data: Data Warehousing, Data Mining –XML & WWW 4
Detailed Schedule Week No.Date (Mo)Topic LectureTopic Exercises Introduction ER, UML Relational ModelER SQL IStart project (Exam), SQL IIRelational Model Integrity ConstraintsSQL Normal Forms I Normal forms II, (Exam)SQL Query Processing IIC, Project: Part I Normal forms Query Processing IINormal forms, Proj TransactionsQuery Processing SynchronizationTransactions Security, (Exam)Synchronization Object-relational DatabasesEnd Project: Part 2 5
Exercises & Exams Exercise Sheets –Handout in the week before it is discussed –Not graded –Please, do them before they are discussed! Project –Part 1: Build an App; Part 2: Build a DB –Groups of three students –Graded: 20 % weight ( ) Written Exams – all closed book! –3 x during the semester (30 min): 30 % weight –Sessionsprüfung (90 min): 50% weight 6
Teaching Philosophy Formally my role is … –define the curriculum –define the material (textbook, supplementary…) –organize exercises and exams My real role… –take away “scare” –lead by example (if I am not passionate, why would you be?) –put things into context: say what is not in textbook –have fun, be different 7
Teaching Philosophy (ctd.) Learning by doing –homework, tests, projects, exams –constant feedback: you know where you are Reverse classroom –puts you into the center of attention –you progress at your speed (not mine) –use lecture & exercises to ask questions 8
Intensity over Time 9 time work