lecture 1 08 24 15
play

Lecture 1 08/24/15 Instructor: Yu-San Lin yusan@psu.edu - PowerPoint PPT Presentation

CMPSC431W: Database Management Systems Lecture 1 08/24/15 Instructor: Yu-San Lin yusan@psu.edu Course Website: hCp://www.cse.psu.edu/~yul189/cmpsc431w Slides based


  1. CMPSC431W: ¡Database ¡Management ¡Systems ¡ Lecture ¡1 ¡ 08/24/15 ¡ Instructor: ¡Yu-­‑San ¡Lin ¡ ¡ yusan@psu.edu ¡ ¡ Course ¡Website: ¡hCp://www.cse.psu.edu/~yul189/cmpsc431w ¡ Slides ¡based ¡on ¡McGraw-­‑Hill ¡& ¡Dr. ¡Wang-­‑Chien ¡Lee ¡ ¡ ¡

  2. Outline ¡ • Overview ¡of ¡this ¡course ¡ • MoSvaSon ¡for ¡studying ¡database ¡ management ¡systems ¡ • Three ¡types ¡of ¡data ¡models ¡ 2 ¡

  3. Course ¡Emphasis ¡ • How ¡to ¡ design ¡a ¡database ¡applicaSon ¡ • How ¡to ¡ use ¡a ¡DBMS ¡effecSvely ¡ • How ¡a ¡DBMS ¡ works ¡ 3 ¡

  4. Course ¡OrganizaSon ¡ I ¡ 2 ¡ 4 ¡ 1 ¡ 3 ¡ 5 ¡ ER ¡model ¡ RelaSonal ¡Algebra ¡ FoundaSons ¡ IntroducSon ¡ RelaSonal ¡Model ¡ SQL ¡ Conceptual ¡Design ¡ and ¡Calculus ¡ II ¡ 6 ¡ 7 ¡ Database ¡ApplicaSon ¡ NoSQL ¡ ApplicaSons ¡ Internet ¡ApplicaSons ¡ Development ¡ III ¡ 8 ¡ Systems ¡ Storage ¡and ¡Indexing ¡ IV ¡ 12 ¡ Systems ¡ Query ¡EvaluaSon ¡ V ¡ 16 ¡ TransacSon ¡ Systems ¡ Management ¡ VI ¡ 19 ¡ Schema ¡Refinement, ¡ ApplicaSons ¡ FDs, ¡NormalizaSon ¡ 4 ¡

  5. CHAPTER ¡1: ¡OVERVIEW ¡OF ¡ DATABASE ¡SYSTEMS ¡ 5 ¡

  6. What ¡is ¡a ¡DBMS? ¡ • Database ¡ – is ¡storage ¡of ¡_____; ¡ – Maintains ¡a ¡very ¡_____, ¡_________ ¡collecSon ¡of ¡data. ¡ • A ¡database ¡models ¡a ¡real-­‑world ¡enterprise. ¡ – ________ ¡(e.g., ¡students, ¡courses) ¡ – ___________ ¡(e.g., ¡John ¡is ¡taking ¡CMPSC ¡431W) ¡ • Database ¡Management ¡System ¡(DBMS) ¡is ¡a ¡ sokware ¡package ¡designed ¡to ¡store ¡and ¡manage ¡ databases. ¡ 6 ¡

  7. Database ¡ApplicaSons ¡ • Banking: ¡all ¡transacSons ¡ • Airlines: ¡reservaSons, ¡schedules ¡ • Universi@es: ¡registraSon, ¡grades ¡ • Sales: ¡customers, ¡products, ¡purchases ¡ • Manufacturing: ¡producSon, ¡inventory, ¡orders, ¡ supply ¡chain ¡ • Human ¡resources: ¡ employee ¡records, ¡salaries, ¡ tax ¡deducSons ¡ … ¡The ¡list ¡goes ¡on! ¡ 7 ¡

  8. File ¡System ¡v.s. ¡DBMS ¡ • File ¡system: ¡ a ¡collecSon ¡of ¡individual ¡_____ ¡ accessed ¡by ¡applicaSon ¡programs ¡ • DBMS: ¡ a ¡computerized ¡record-­‑keeping ¡system ¡ • Drawbacks ¡of ¡file ¡systems: ¡ – _________________________ ¡ – _________________________ ¡ – _________________________ ¡ – _________________________ ¡ 8 ¡

  9. Why ¡Use ¡a ¡DBMS? ¡ • _________________________________ ¡ • _________________________________ ¡ • _________________________________ ¡ • _________________________________ ¡ • _________________________________ ¡ • _________________________________ ¡ • _________________________________ ¡ • _________________________________ ¡ 9 ¡

  10. Data ¡Models ¡ • A ¡data ¡model ¡is ¡a ¡collecSon ¡of ¡high-­‑level ¡ constructs ¡for ¡describing ¡stored ¡data ¡that ¡ hides ¡low-­‑level ¡storage ¡details. ¡ • Three ¡major ¡data ¡models ¡are ¡ – __________ ¡data ¡model ¡ – __________ ¡data ¡model ¡ – __________ ¡data ¡model ¡ 10 ¡

  11. Network ¡Data ¡Model ¡ Hayes ¡ Main ¡ Harrison ¡ A-­‑102 ¡ 400 ¡ Johnson ¡ Alma ¡ Palo ¡Alto ¡ A-­‑101 ¡ 500 ¡ A-­‑102 ¡ 400 ¡ A-­‑215 ¡ 700 ¡ Smith ¡ North ¡ Rye ¡ Data ¡records ¡are ¡linked ¡as ¡_______. ¡ 11 ¡

  12. Hierarchical ¡Data ¡Model ¡ Johnson ¡ Alma ¡ Palo ¡Alto ¡ Hayes ¡ Main ¡ Harrison ¡ Smith ¡ North ¡ Rye ¡ A-­‑102 ¡ 400 ¡ A-­‑101 ¡ 500 ¡ A-­‑201 ¡ 900 ¡ A-­‑201 ¡ 900 ¡ A-­‑215 ¡ 700 ¡ The ¡hierarchical ¡model ¡organizes ¡data ¡records ¡as ¡ collecSons ¡of ¡______. ¡ 12 ¡

  13. RelaSonal ¡Data ¡Model ¡ • The ¡relaSonal ¡data ¡model ¡is ¡the ¡most ¡widely ¡ used ¡data ¡model ¡today. ¡ – Main ¡concept: ¡______, ¡basically ¡a ¡table ¡with ¡ rows ¡and ¡columns. ¡ – Every ¡relaSon ¡has ¡a ¡_______, ¡which ¡describes ¡ the ¡columns, ¡or ¡fields. ¡ • Example: ¡ Students ( sid: string , name: string , login: string , age: integer , gpa: real ) 13 ¡

  14. Don’t ¡Forget ¡ • Sign ¡up ¡the ¡two ¡accounts: ¡ – GitHub ¡ – Asana ¡ • Submit ¡your ¡team ¡informaSon, ¡along ¡with ¡ account ¡informaSon, ¡by ¡this ¡Friday ¡(8/28) ¡ • Reading: ¡ – Project ¡descripSon: ¡prepare ¡any ¡quesSon ¡to ¡ discuss ¡on ¡Friday ¡ – SecSon ¡1.1 ¡~ ¡1.5 ¡ 14 ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend