diff --git a/src/teaching/cse-562/2019sp/checkpoint4.html b/src/teaching/cse-562/2019sp/checkpoint4.html new file mode 100644 index 00000000..17724706 --- /dev/null +++ b/src/teaching/cse-562/2019sp/checkpoint4.html @@ -0,0 +1,76 @@ +

Checkpoint 4

+ + + +

Short version: Support queries of the following three forms:

+
+INSERT INTO R (A, B, C, ...) VALUES (1, 2, 3, 4, ...);
+DELETE FROM R WHERE A < 3, ...
+UPDATE R SET A = A+1, B = 2 WHERE C = 3;
+
+ +

Specifically, your code should support: +

+
INSERT
+
You only need to support INSERT ... VALUES (...) style inserts. There will not be any queries of any other form (i.e., nothing like INSERT ... SELECT ... or INSERT OR REPLACE ...)
+ +
DELETE
+
Any selection predicate valid in a previous checkpoint is fair game for DELETE.
+ +
UPDATE
+
Any selection predicate valid in a previous checkpoint is fair game for DELETE. Update expressions may include non-primitive value expressions.
+
+ + Updates do not need to be persisted across database reboots, but should be reflected in query results. +

+ +
+ +

Interface

+

Your code will be evaluated in nearly the same way as Projects 1 - 3.  Your code will be presented with a 1000MB (SF 1) TPC-H dataset. You will get a cumulative 10 minutes to process all of the CREATE TABLE statements; This time will not count towards your overall time. Taking more than 10 minutes will result in a 0 grade for the submission.

+ +

Queries will be interleaved with a sequence of randomly generated update commands. There will be 3 phases: +

    +
  1. Insert and queries only (30% of grade).
  2. +
  3. Inserts, deletes and queries (30% of grade).
  4. +
  5. Inserts, deletes, updates, and queries (40% of grade).
  6. +
+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Total Time for Max (Half) Score
PhaseUpdatesQueries
10.5 s (2 s)200 s (500 s)
20.5 s (2 s)300 s (600 s)
31500 s (3000 s)400 s (800 s)
\ No newline at end of file diff --git a/src/teaching/cse-562/2019sp/index.erb b/src/teaching/cse-562/2019sp/index.erb index 76ce3fb7..ca927625 100644 --- a/src/teaching/cse-562/2019sp/index.erb +++ b/src/teaching/cse-562/2019sp/index.erb @@ -209,6 +209,12 @@ schedule: - date: "May 8" due: "Homework 10" topic: "Final Exam Review" + materials: + 2013: "../exams/2013sp-final.pdf" + 2014: "../exams/2014sp-final.pdf" + 2015: "../exams/2015sp-final.pdf" + 2017: "../exams/2017sp-final.pdf" + 2018: "../exams/2018-final.pdf" - date: "May 10" topic: "Demo Day" @@ -270,7 +276,7 @@ In this course, you will learn...
  • 10% Checkpoint 1 due on Mar. 1
  • 10% Checkpoint 2 due on Mar. 29
  • 15% Checkpoint 3 due on May 3
  • -
  • 10% Checkpoint 4 due on TBD
  • +
  • 10% Checkpoint 4 due on May 20