CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures ›...
Transcript of CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures ›...
![Page 1: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/1.jpg)
CSC 261/461 – Database SystemsLecture 27
Spring 2018
CSC261, Spring 2018, UR
![Page 2: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/2.jpg)
CSC261, Spring 2018, UR
![Page 3: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/3.jpg)
Final
• On Sunday May 06, 2018
• 9:00 am – 10:45 am (105 minutes)
• Location: Lattimore 201
• Coverage: Cumulative
![Page 4: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/4.jpg)
Final
• 60 pts–20 pts short questions –40 pts longer-questions
–There will be extra credit problems!
![Page 5: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/5.jpg)
Short Questions
• You need to study everything.
• Topics before MT are included
CSC261, Spring 2018, UR
![Page 6: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/6.jpg)
The topics you do not need to review!
• I will not ask questions on:– Cover and Minimal Cover– Overly complexed relational algebraic expression
(simple expressions are included)– MongoDb– Spark– PHP and MySQL
CSC261, Spring 2018, UR
![Page 7: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/7.jpg)
Distribution
• 1/3 or less : Before MT• 2/3 or more: After MT
CSC261, Spring 2018, UR
Before MT
After MT
![Page 8: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/8.jpg)
Short Questions
• Comprehensive and Cumulative–Everything would be covered–Questions on: SQL, ER Diagram, BCNF, Disk IO, Optimization,
Transactions i.e., pretty much everything
CSC261, Spring 2018, UR
![Page 9: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/9.jpg)
Long Questions
• Questions will have parts
• Mostly based on topics covered after the MT
CSC261, Spring 2018, UR
![Page 10: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/10.jpg)
COURSE COVERAGE
![Page 11: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/11.jpg)
User Perspective
What did we learn in this course (Before MT)
Why Database Systems (vs. List or Microsoft Excel)
How to design a database system? (Requirement Analysis; Queries Supported, Forms (for input),
Reports (for output)
ER Diagram
Relational Schema and SQL Queries
![Page 12: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/12.jpg)
DatabaseAdministrator/DesignerPerspective
What did we learn in this course (After MidTerm)
How and Where to Store the data?
Do I need indexing?
How to make the queries optimized?
How to make sure all the transactions maintain ACID
property?
![Page 13: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/13.jpg)
Chapters to Study for Final
• Whatever we covered before the midterm:
• Whatever we covered after midterm:– Chapters 1 to 9
– File Structures, Indexing, and Hashing• Chapter 16 (Disk Storage)• Chapter 17 (Indexing)
– Query Optimization• Chapter 18• Chapter 19
– Transactions• Chapter 20• Chapter 21• Chapter 22
For most of the questions, going through the slides, quizzes, and problem sets are good enough.
But, for a few questions, you need to have profound knowledge. For that no
alternative to reading the textbook.
![Page 14: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/14.jpg)
Topics to Study
• Main Modules: – File Structures, Hashing, Indexing – Query Processing and Optimization– Transactions – Projects• Project 2: SQL + Triggers
Each of these 4 sections is worth between 10 and 20 pts.
No question on Functional DependenciesNo question on NormalizationNo question on ER diagramsNo question on MongoDb
![Page 15: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/15.jpg)
That’s all
![Page 16: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/16.jpg)
Acknowledgement
• CS 145 offered by Stanford University• Textbook authors• Numerous websites
• Last but not the least
All of you
![Page 17: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution](https://reader036.fdocuments.in/reader036/viewer/2022062921/5f04ab6e7e708231d40f1e8a/html5/thumbnails/17.jpg)