Notices

  • Final Exam Tomorrow

    Posted by Yuekang Li Monday 06 May 2024, 05:11:48 PM.

    The final exam is tomorrow!

    Before the exam:

    • Get a good night's sleep
    • Make sure you know your assigned time and location
    • Remember to bring your photo ID (student ID preferred)
      • Driver's licence/passport is a tolerable substitute
    • Aim to arrive early

    During the exam:

    • Use your reading time well
      • Decide what questions you want to tackle first
      • The exam marking scheme is designed in a way that if you can finish the "easier" questions, you can pass the exam hurdle. ----- So, don't waste too much time on the questions that you think are hard.
    • Submit as you complete each question
    • Keep an eye on how long you're spending on each question
      • Move to another question if spending too long

    When marking, we create a new database from scratch, load the code for the question, and then run the tests. In the exam, the check script loads the code for the question into the existing database. Not quite the same. So, don't try to hard code the answer to just pass the checking script.

    Good Luck.

  • Exam Database

    Posted by Yuekang Li Thursday 02 May 2024, 06:54:00 PM.

    Hi Class,

    The database to be used in the final exam is now available.

    Download and explore to save time in the exam.

  • Official cheat sheets in the previous terms will be given to you in the final exam

    Posted by Yuekang Li Wednesday 01 May 2024, 05:36:42 PM.

    As said in the title.
    You will have access to all the documents listed in the screenshot here: https://edstem.org/au/courses/15447/discussion/1934487

  • More Previous Exams

    Posted by Yuekang Li Wednesday 01 May 2024, 03:53:17 PM.

    HI Class,

    I've added the 23T3 final exam for your reference: https://webcms3.cse.unsw.edu.au/COMP3311/24T1/resources/98128

    Note that the dump file for the database is compressed in the sample solutions tar file.
    Also, there are some official cheat sheets last term (https://www.cse.unsw.edu.au/~cs3311/24T1/exams/23T3/paper/documents.html), which may help you to prepare your own one this term.

  • Open Office Hours

    Posted by Yuekang Li Thursday 25 April 2024, 01:18:48 PM.

    Hi Class,

    I'm coming back to Sydney this weekend.
    I'll host open office hours next week to answer your questions.


    You can find me @ K17 Lv5 508 Consultation Room on:
    15:00-17:00 2nd May Thursday.
    10:00-12:00 3rd May Friday.

  • Previous Exam Papers

    Posted by Yuekang Li Thursday 25 April 2024, 01:09:23 PM.

    Hi Class,

    Here are some of the previous exam papers for your reference: https://webcms3.cse.unsw.edu.au/COMP3311/24T1/resources/97973

    Please note that you are allowed to bring one A4 page of cheatsheet to the exam this term. Make good use of it.

  • Allowed Materials for Final Exam

    Posted by Yuekang Li Monday 22 April 2024, 03:20:39 AM.

    In the final exam:

    You will be given:

    • documents for Postgres16
    • documents for psycopg2
    • documents for python3

    In addition, you are allowed to bring:

    • 1 A4 page of your own cheatsheet (you can play with the font size as far as you can read your notes; you can use both sides of the paper)

    You will NOT be allowed to use any AI assistants.

    The rationale is:
    Most exam questions do not require memorization of a large chunk of knowledge/text. Don't waste your time looking for information in the excessive materials unless you really need to do so.
    You are the one who knows the best about yourself. You should know whichever part of the course is hard or requires additional notes for yourself. Different people may have different "hard" parts. So prepare your own unique cheatsheet that fits the best for you!

  • Additional Exercises for Normal Form and Serialisability Calculations

    Posted by Yuekang Li Monday 22 April 2024, 03:10:58 AM.

    Hi class, I added more examples for you to practice the calculation of normal forms and serializability:
    https://docs.google.com/presentation/d/11Bg7WHAGGPCPAhav55GlKG-DMcTRV-Tum7YpyUDZInM/edit?usp=sharing
    The examples are organized in this way:

    Example-1: Practice BCNF and 3NF - Both will yield the same result after normalisation.

    Example-2: Practice BCNF and 3NF - They will have different results after normalisation.

    Example-3: Practice conflict serializability and view serializability - The example is not serializable for both standards to complement the examples in the original lecture notes.

    Again, please don't just recite the algorithms. Comprehend them instead!

  • Course Summary

    Posted by Yuekang Li Thursday 18 April 2024, 09:13:33 AM.

    Hi Class,


    I prepared a summary of the entire course, which could help you to review the key knowledge points.

    Here are the slides: https://docs.google.com/presentation/d/1I0AIMxcTm3DTatHVJq8qC5KpxlfaaihHFgXe83wU4VQ/edit?usp=sharingand

    Here's a recording: https://youtu.be/obPJ3pZBi_A

  • Last Question for Assignment 2 Released

    Posted by Yuekang Li Friday 12 April 2024, 03:26:57 PM.

    Hi class,
    The last question for assignment 2 is released. Note that there are some minor issues in the current specification (like the ddl). We will fix them. The due date is Monday 22nd April 2024 21:59:59 as noticed yesterday.

  • Additional Exercises for the Theoretical Algorithms

    Posted by Yuekang Li Thursday 11 April 2024, 03:41:29 PM.

    I created a set of slides here: https://webcms3.cse.unsw.edu.au/COMP3311/24T1/resources/97668

    These are some extra exercises for the algorithms we learnt for the theoretical topics (including BCNF, 3NF, serializability checking algorithms - to be learnt today). Currently it has only one exercise. I'll add more exercises later.

    The slides are animated to show you how to work out the solution step-by-step. So you can play the slideshow if needed.

    Don't get scared by the math symbols and seemingly complex logic of the algorithms. They are actually quite simple. Don't recite the algorithms. Comprehend them instead.

  • No Lecture next Monday + Guest Lecture on next Thursday

    Posted by Yuekang Li Thursday 11 April 2024, 03:26:57 PM.

    I'll be travelling for a conference next week. So there's no lecture on next Monday. Instead, I will prepare a video and a set of slides for summarising the entire course. Make sure you watch this video, as it could be very helpful for your final exam.


    We will have a guest lecture on next Thursday.
    Here are the details about the guest lecture:

    Title : RDBMS Implementations Fitting Different Workloads

    Speaker : Dr. Yi Jin

    Bio : Dr. Yi Jin is currently the director of Enmotech Data AU, working on the development of the next generation of high-performance commercial database systems. He also holds the position of an adjunct lecturer at UNSW. Dr. Jin obtained his Ph.D. in computer software and theory in 2009 and has worked in the database industry for 15 years since then. His journey commenced at IBM, where he contributed to the IBM DB2 database. He has also played pivotal roles in various successful startups, serving as CTO, co-founder, and chief architect. Notably, he is the top contributor to the open-source Apache HAWQ project.

    Please come to attend the guest lecture if you are interested in the design/mechanisms of DBMS. This is also a good opportunity if you are looking for internships or jobs in relevant fields.

  • Assignment 2: One more question released + Reduced Scope + Extended Due Date

    Posted by Yuekang Li Thursday 11 April 2024, 03:19:22 PM.

    Dear class,

    The specification for one more question is released. We will cut the scope and give you 4 questions in total . We will extend the due date to Monday of Week 11 (22nd April) 10:00pm as well.

  • Assignment 2 (Q1 & Q2) out now | Do Quiz 5

    Posted by Yuekang Li Friday 05 April 2024, 02:23:59 PM.

    The specifications and example outputs for Q1 & Q2 for assignment 2 are released: https://webcms3.cse.unsw.edu.au/COMP3311/24T1/resources/96689

    For special considerations and ELP students, please submit your requests as early as possible.


    Quiz 5 is due by tonight. Just do it!

  • Assignment 1 Provisional Performance Marks are avalible

    Posted by Dylan Brotherston 🕴️ Thursday 04 April 2024, 01:26:01 AM.

    Provisional Performance Marks for Assignment 1 are now available for you to view.

    These marks have not been reviewed by a tutor yet and style marking has not been done yet.


    You can view your Provisional Performance Marks by running the following command on a CSE server:

    $ 3311 classrun -collect ass1

    Or by using the Collect Su bmission tab in WebCMS.

  • Finish Quiz4 | Setup your Assignment 2 DB | No Lecture next Monday (1st April 2024)

    Posted by Yuekang Li Saturday 30 March 2024, 03:39:12 PM.

    Quiz 4 : The due date is today ... I forgot yesterday was a public holiday. You still have time to do it , please finish it.

    Assignment 2 : The db setup guide has been released. Please set up the db on your vxdb2 server asap. We plan to set the due date to Wednesday Week 10 (17th April), but we may extend the due date if we can't consolidate all questions by next Wednesday. You will be given 2 weeks anyway.

    No Lecture next Monday : Next Monday (1st April) is Easter Monday. We'll have no lecture that day. Please refer to the time table . This is NOT AN APRIL FOOL'S JOKE🤡.

    Stay strong💪 and enjoy your holiday!

    ps: Why send notices on Saturday? The good thing about working as academics is that every day is like a public holiday. The bad thing is that you work on public holidays.

  • Finish your Quiz 4

    Posted by Yuekang Li Thursday 28 March 2024, 03:42:58 PM.

    Hi class, the due date for quiz 4 is tomorrow. Please don't forget to do it! The content is mainly covered by the second lecture on week 5 .

  • Assignment 1: Q10 released - Reminder: 7 days till the due date

    Posted by Yuekang Li Friday 15 March 2024, 02:53:16 PM.

    Hi Class,

    The specification for question 10 has been released. And you have ~7 days left to finish your assignment. Please start doing the assignment if you haven't.

    For Equitable Learning Plan (ELP) students, please submit your requests for extensions by emailing us (cs3311@cse.unsw.edu.au) 24 hours before the due time (10:00 pm 21st Mar).

  • Specifications for Assignment 1 and Help Sessions

    Posted by Yuekang Li Wednesday 06 March 2024, 04:54:43 PM.

    Dear Class,

    The specifications (except for the pl/pgsql function-related questions) are available here: https://webcms3.cse.unsw.edu.au/COMP3311/24T1/resources/96690

    We will cover the knowledge of pl/pgsql functions in our lecture tomorrow.

    Please go through the specifications and you can start working on the questions.

    By the way, we are starting help sessions this week (week 4), and here is the timetable: https://webcms3.cse.unsw.edu.au/COMP3311/24T1/resources/96822

    Please come to the help session if you have encountered any problem.

  • Deferment for Assignment 1 Release and Due Date

    Posted by Yuekang Li Monday 04 March 2024, 02:46:36 PM.

    Hi class, very sorry about the delay. We encountered some technical issues when setting up the systems 😢.

    We will release the specifications by this Wednesday (6th Mar) or perhaps earlier and extend the DDL to 10:00 pm on 22nd Mar (Friday of week 6).

    Please stay updated and we will send out notices here and on Ed Forum later on!

  • Assignment 1 Schema and Data Released

    Posted by Dylan Brotherston 🕴️ Friday 01 March 2024, 12:30:46 PM.

    The database schema and dump files for the IMDB database are now available on WebCMS
    here: https://webcms3.cse.unsw.edu.au/COMP3311/24T1/reso...

    The assignment questions will be released in the next day or two.

    We strongly advise that you read the schema and play with the data to get an understanding for the database before the questions are released.

  • Reminder to Complete Quiz 2

    Posted by Dylan Brotherston 🕴️ Thursday 29 February 2024, 04:39:49 PM.

    Only 46% of the course has completed Quiz 2 at the moment.

    Remember that Quiz 2 is due Tomorrow at 11:59pm

    If you have yet to complete Quiz 2 you should do so very soon.

  • YouTube Playlist for Lecture Recordings

    Posted by Yuekang Li Monday 26 February 2024, 02:01:07 PM.

    Dear class, I've uploaded all existing lecture recordings to YouTube (I will upload future recordings as well). YouTube has a better video player, auto-generated captions, and better stability when the network is slow. Please find the playlist here:
    https://www.youtube.com/playlist?list=PLneo1-0n40Q_Pm_04jmOFo6LhlDTvGM63

  • CSE Server Downtime has Ended

    Posted by Dylan Brotherston 🕴️ Saturday 24 February 2024, 10:08:47 PM.

    All CSE systems are now back online and running normally.

    WebCMS, The Course Website, SSH, VLAB, etc. all

    Can once again be used as normal.

  • Reminder to Complete Quiz 1

    Posted by Dylan Brotherston 🕴️ Friday 23 February 2024, 12:47:44 PM.

    Only 65% of the course has completed Quiz 1 at the moment.

    Remember that Quiz 1 is due Tomorrow at 11:59pm,
    but you will be unable to complete the quiz between 8pm today and 8pm tomorrow.

  • Scheduled Power Outage This Friday/Saturday

    Posted by Dylan Brotherston 🕴️ Wednesday 21 February 2024, 01:11:33 PM.

    UNSW has scheduled a power outage starting at 8pm this Friday (23rd of February) until 8pm this Saturday (24th of February) to allow for construction work in the CSE building.

    This power outage will take down CSE servers and network infrastructure.

    Access to VLAB, SSH, WebCMS, Course Website, etc, will be unavailable during this period.

    The Course ED forum, Moodle, myUNSW, etc, will still be available during this period.

    The first Quiz had a due date of 11:59 on Friday, but 4 hours of this time will be lost due to the power outage.
    The first Quiz now had a date of 11:59 on Saturday, to make up for this lost time.
    But we would highly recommend that you complete the Quiz before 8pm on Friday.

  • Extra slides for ER diagram notations and Cardinality/Participation for relationships

    Posted by Yuekang Li Tuesday 20 February 2024, 06:53:47 PM.

    Dear class,

    I found that the cardinality and participation of relationships are causing some confusions. So, I created a set of extra slides to explain this in detail: https://webcms3.cse.unsw.edu.au/COMP3311/24T1/resources/96491 If you are not interested in alternative notations (crow's foot, chen), please just skip the first few slides and go through the examples staring from slide 17. I'll cover the example in our next lecture step-by-step as well. Please do go through these examples as they are helpful for your quiz-1.

  • Makeup Recording for Week 1 Lecture 2

    Posted by Yuekang Li Friday 16 February 2024, 12:46:42 PM, last modified Friday 16 February 2024, 12:47:22 PM.

    Hi class, the recording of the second lecture this week on Echo 360 was messed up because you can hear the voice of another lecturer in the recording .

    This is because there's another lecture theater above Keith Burrows (ours) and somehow the mic of that LT was configured to be on the same channel as ours. ╰(ɵ̥̥ ˑ̫ ɵ̥̥ ╰)
    We have reported this issue to the Uni and hopefully, they can fix it soon.

    As many of you are attending this class online, I made a makeup recording: https://youtu.be/T9TZnSZFaoc
    Please make sure you have watched this recording/attended lecture 2 before going to tutorial 1 next week.


  • Welcome to Databases 24T1

    Posted by Yuekang Li Friday 09 February 2024, 11:01:10 AM.

    The new season the databases adventure kicks off on Monday (Feb 12) at 4pm in K-J14-G5 - Keith Burrows Theatre. I look forward to to seeing the theatre full, and will be offering snacks to the best questions from the audience.


Back to top

COMP3311 24T1 (Database Systems) is powered by WebCMS3
CRICOS Provider No. 00098G