17
CSC 261/461 Database Systems Lecture 27 Spring 2018 CSC261, Spring 2018, UR

CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CSC 261/461 –Database Systems Lecture 27 › courses › 261 › spring2018 › lectures › l27.pdf · –MongoDb –Spark –PHP andMySQL CSC261, Spring 2018, UR. Distribution

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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