FYI.
423 submissions.
After auto-marking:
115 students = 10/10
191 students >= 8/10
Median = 7.8/10
Mean = 7/10
~70 students =< 5/10
~11 students had correct queries but wouldn't even pass the previously provided sanity test due to various formatting issues*
* We are manually checking & marking these queries. Instead of zero marks, partial marks (with 30% penalty) will be awarded to each of the tests if the formatting issues are minor.
Finalized marks (after auto-marking, manual checking of *, and late penalty adjustments; and then scaled to 20) will be available in SMS from tomorrow afternoon.
You can check your assignment 2 performance by running the auto-mark test script at
~cs3311/a2/autotest
Make sure your submitted files (msearch toprank shortest) are in the current directory.
I've tested the exam submission via webcms and it's still shaky. I have disabled the webcms submission.
As mentioned in the previous email, please use the command-line instruction:
give cs3311 exam ans.sql ans.txt
to submit your answers.
Note that "give" is available on CSE machines except grieg .
You can find detailed information here .
I will go through it and answer any questions in the live session tomorrow.
The tut this week is your last chance to ask your tutor any questions related to tute exercises (or lecture topics) before the exam. You are highly encouraged to attend.
Due to the CSE home directory incident, Quiz 7 due date has also been extended to 23:59 Monday, April 19.
I have been informed by ss that you can now log in to CSE machines and resume your assignment work.
If your home directory has been affected by this issue (all files disappeared), please follow the instructions to restore (using tkrestore). If you have problems using tkrestore to retrieve your missing files, you need to contact helpdesk@cse.unsw.edu.au Helpdesk told me that they will be around after hours and during the weekend as well.
If your home directory has been restored successfully, and you experience this issue again from now on, please email ss@cse.unsw.edu.au and copy cs3311.
Again, if you have further questions regarding this issue, please post to the webcms Forums.
Reminder: the extended assignment deadline is now: 5pm Monday, Apr 19, 2021 AEST.
Dear COMP3311 students:
There have been home directory issues affecting a small group of students and I have been communicating with them until 4am this morning. However, the problem is still ongoing. CSE system support has been tracking all activities but will need you to stop working on the assignment from now until 5pm today (I will keep you updated if there are any changes).
I have more than 100 emails related to this issue received this morning. If you have sent me one or a few, it's unlikely that you will receive my reply individually. So what I would like to ask you to do is:
1. Stop logging into CSE machines and stop working on your a2 now until 5pm today (and check WebCMS Notice around 5pm).
2. After 5pm, if you need to restore your missing files, follow the instructions of Robert's email in the notice below. If you have problems to restore the files, contact helpdesk@ cse as Robert suggested. Please do not ask cs3311 how to fix the problem. It is beyond our access privileges to fix / do anything for you. It has to go to ss.
3. The a2 due date will be extended to April 19 Monday 5pm for ALL students . I will update the give submission system shortly.
If you have further questions, please post to the Forums.
Regarding this issue, only email cs3311 or me unless it is necessary. Thanks for your assistance and I apologise for the inconvenience.
Some students told me that they have not received any emails from Robert (ss@cse). I'm posting his email here:
Dear CSE Students,
Roughly thirty CSE students have noticed this evening that their CSE
home directories have been emptied.
The CSE Computer Administrators are working to find the cause of this
problem and stop it happening. For now more people are reporting this
problem, so we do not think it has stopped happening, yet.
It has only happened to a small proportion of the people who logged
into a CSE computer this evening.
If this happens to you, you may notice that your CSE desktop resets to
default when you log in. Almost all of the files will have gone from
your CSE home directory.
If you have lost assignment files, you should tell your tutor or
lecturer about that.
Backups of CSE files are made every night, so you can get back a copy
of your files from yesterday, if you need them. See:
https://taggi.cse.unsw.edu.au/<wbr>FAQ/Restoring_files_from_backu<wbr>p/
If you need assistance with restoring files, or resolving other
technical problems you should send an email to:
If you observed anything unusual happen before you lost your CSE files,
please tell us about that too.
---
If this has not happened to you, now is a good time to make an extra
copy of any important files in your CSE account. You might copy them to
your home computer, or your UNSW file space which, on CSE computers is
at: /unsw/<zID>
(See:
https://taggi.cse.unsw.edu.au/<wbr>FAQ/UNSW_File_System/
)
---
Yours Sincerely,
Robert Doran
for CSE Computer Support
You have all received an email from Robert (ss@cse) that some CSE students have noticed this evening that their CSE home directories have been emptied. SS is currently logging and tracing the activities on CSE machines and investigating the issue. If this has happened to you, please restore your files from the every night backup by following the instructions described in his email.
Please also email cs3311@cse.unsw.edu.au with a screenshot of the issue. We may not be able to quickly respond, as we have been receiving lots of emails. We will pass your ziD and details to SS for their investigation. If you have been affected by this issue, you will be granted a 48-hours extension (i.e., due on Sunday 5pm).
ss@cse has informed us that there are some extremely huge, brute-forcing queries creating massive sqlite3 tempfiles on CSE machines.
Before you run these queries, could you please set the following:
set TMPDIR=/tmp
There is more space in /tmp. Otherwise, they may have to terminate those running processes.
Thank you.
There have been a few questions regarding a1 marking in the forum. I will further explain and go through a few examples of why your solution failed the autotests this week.
In addition to relational algebra, in line with the topics this week, I will use the a2 movie database as an example to discuss SQL / Python performance tuning.
The fd and normalization exercises used in the live session are now available at Slides and Videos .
As shown in the live session this evening, a simple bash script, as a sanity check, for a2 formatting check is available. It doesn't perform any serious testing. So you should still test the correctness of your programs. To run the script, simply go inside the folder that contains your Python programs and type
~cs3311/a2/sanity
Furthermore, you can check your assignment 1 performance by running the auto-mark test script at
~cs3311/a1/autotest
Please watch today's live session recording if you have questions regarding the test scripts above.
Please complete quiz 5 today if you do not plan to work on it on Easter Friday. Happy Easter!
Assignment 2 spec is available. It is due on Friday 16th April 5:00pm AEST.
Please read the spec carefully before you start.
I'll go through the spec in detail (and answer any questions) during the live lecture this Wed 4-6pm.
For those who have not completed Quiz 4, please be reminded that it is due tonight.
It is now available at:
https://webcms3.cse.unsw.edu.au/COMP3311/21T1/reso...
Video recording of the live session will be available later tonight at Echo360 (under processing now).
If there are any more questions regarding the spec, clarifications, or advice needed for a1, please attend the live session (in an hour), we will address them there. Otherwise, if there are too many questions in the WebCMS forums and cs3311 emails, your last-minute questions may not be responded to in time.
As mentioned in the first lecture, if your question requires more interactions (e.g., require us to look at your system etc), the easiest way is to liaise with your tutor at the lab session.
There are some questions regarding stored procedures in Q11. Please stick with the specification (i.e., 'create procedure'):
create or replace procedure renew(pno integer) ...
rather than 'create function'.
JAS videos focus on functions, as we can easily map functions to procedures, by checking the PostgreSQL docs. They are in fact very similar. The main difference is that procedures do not have return values (similar to most procedural programming languages). One may argue that we can make a function that returns void, and that will make procedures almost the same as functions. However, since the way we call a function vs a procedure is different, you will need to follow the spec above to get through the auto-marking. The below example highlights this difference (you can try on grieg after loading preload.sql). If there are still questions, I will elaborate more at the next live session.
Finally, although many of you are busy on a1, remember Quiz 3 is due tonight.
CREATE FUNCTION change_brand() RETURNS void LANGUAGE SQL AS $$ UPDATE insured_item SET brand = 'Holden' WHERE brand = 'Nissan' AND year < 2010; $$; CREATE PROCEDURE unchange_brand() LANGUAGE SQL AS $$ UPDATE insured_item SET brand = 'Nissan' WHERE brand = 'Holden' AND year < 2010; $$; select * from insured_item; select change_brand(); select * from insured_item; call unchange_brand(); select * from insured_item; -- The following will result in error call change_brand(); select unchange_brand();
JAS topic videos have covered each SQL topic very well.
In the first half of the next 2 live sessions, I'm going to use the assignment 1 dataset as an example to further illustrate the concepts you learned from these topic videos (This week: SQL queries. Next week: functions & triggers). After that, we will continue as a Q&A help session, so bring your questions. See you tomorrow.
There are close to 100 students who haven't completed quiz 2 yet.
Please remember there is a quiz due every Friday.
Assignment 1 spec is available. It is due on Friday 19th March 5:00pm AEST.
Please read the spec carefully before you start.
I'll go through the spec in detail (and answer any questions) during the live lecture this Wed 4-6pm.
PS: remember to do the quizzes every week (except week 6).
Quizzes will start from this week! Quiz 1 has been made available, and is due this Friday 11:59pm (26th Feb). You may access the quiz from ' Activities ', or under 'Upcoming Due Dates' on the home page.
Multiple submissions are allowed, and only the final submission will be marked. Please don't leave it to the last minute, in order to avoid unnecessary troubles.
The recording of today's live lecture is available now at Echo360 .
Please note that the next live lecture will be on Wed 24/2 4-6pm (next week) via Collaborate.
Welcome to Database Systems.
COMP3311 21T1 will still be fully online. Please read the Course Outline (just posted) for details.
There are no labs nor tuts in Week 1.
Labs start from Week 2, and Tuts start from Week 7. You can find the tentative schedule from the Course Outline.
Lectures start from Week 1 (9am Feb 15) via Blackboard Collaborate. To join the lecture go to the Moodle site and click on the "Live lectures/tuts/labs" link. If you can't get up early, it will be recorded and made available afterward.