Course Code | COMP9311 |
Course Title | Database Systems |
Convenor | Xiaoyang Wang |
Admin | Xiaoyang Wang and Yiheng Hu |
Course Email | xiaoyang.wang1@unsw.edu.au or yiheng.hu@unsw.edu.au |
Classes |
Lectures
: a mix of face-to-face (in person) and live online (e.g., using Zoom) presentations. All lectures will be recorded and uploaded to Echo360. See the course menu for details
Timetable for all classes |
Consultations | To be advised |
Units of Credit | 6 |
Course Website | http://www.cse.unsw.edu.au/~cs9311 |
Handbook Entry | http://www.handbook.unsw.edu.au/postgraduate/courses/current/COMP9311.html |
This course explores in depth the practice of developing database applications and the theory behind relational database management systems (RDBMSs). This course focuses on Database Design. It will also give an overview of the technologies used in implementing database management systems and the past, present and future of database systems and database research.
Large data resources are critical to the functioning of just about every significant modern computer application, and so knowledge of how to manage them is clearly important in industry. In the context ofthe further study, understanding how to use databases effectively is essential for courses such as COMP9321 Data Services Engineering and COMP9322 Software Service Design and Engineering. COMP9311 also provides a foundation for further study in advanced database topics, such as COMP9315 Database Systems Implementation and COMP9318 Data Mining. Database concepts are also relevant in courses such as COMP9319 Web Data Compression and Search and COMP6714 Information Retrieval and Web Search.
There is no formal prerequisite for the course. But we assume you have background similar to what you would have obtained in a undergraduate engineering/science degree.
By the end of the course, you should be able to:
Glossary :
This course contributes to the development of the following graduate capabilities:
Graduate Capability | Acquired in |
Scholars capable of independent and collaborative enquiry, rigorous in their analysis, critique and reflection, and able to innovate by applying their knowledge and skills to the solution of novel as well as routine problems | Lectures and Labs |
Entrepreneurial leaders capable of initiating and embracing innovation and change, as well as engaging and enabling others to contribute to change | Assignment design and development |
Professionals capable of ethical, self- directed practice and independent lifelong learning | Online forum discussion, meetings with course staff members |
Global citizens who are culturally adept and capable of respecting diversity and acting in a socially just and responsible way |
Online forum discussion
|
This course is taught the way it is because:
The Student Code of Conduct ( Information , Policy ) sets out what the University expects from students as members of the UNSW community. As well as the learning, teaching and research environment, the University aims to provide an environment that enables students to achieve their full potential and to provide an experience consistent with the University's values and guiding principles. A condition of enrolment is that students inform themselves of the University's rules and policies affecting them, and conduct themselves accordingly.
In particular, students have the responsibility to observe standards of equity and respect in dealing with every member of the University community. This applies to all activities on UNSW premises and all external activities related to study and research. This includes behaviour in person as well as behaviour on social media, for example Facebook groups set up for the purpose of discussing UNSW courses or course work. Behaviour that is considered in breach of the Student Code Policy as discriminatory, sexually inappropriate, bullying, harassing, invading another's privacy or causing any person to fear for their personal safety is serious misconduct and can lead to severe penalties, including suspension or exclusion from UNSW.
If you have any concerns, you may raise them with your lecturer, or approach the School Ethics Officer , Grievance Officer , or one of the student representatives.
Plagiarism is defined as using the words or ideas of others and presenting them as your own. UNSW and CSE treat plagiarism as academic misconduct, which means that it carries penalties as severe as being excluded from further study at UNSW. There are several on-line sources to help you understand what plagiarism is and how it is dealt with at UNSW:
Make sure that you read and understand these. Ignorance is not accepted as an excuse for plagiarism. In particular, you are also responsible that your assignment files are not accessible by anyone but you by setting the correct permissions in your CSE directory and code repository, if using. Note also that plagiarism includes paying or asking another person to do a piece of work for you and then submitting it as your own work.
UNSW has an ongoing commitment to fostering a culture of learning informed by academic integrity. All UNSW staff and students have a responsibility to adhere to this principle of academic integrity. Plagiarism undermines academic integrity and is not tolerated at UNSW. Plagiarism at UNSW is defined as using the words or ideas of others and passing them off as your own.
If you haven't done so yet, please take the time to read the full text of
The pages below describe the policies and procedures in more detail:
You should also read the following page which describes your rights and responsibilities in the CSE context:
Statement of generative AI tools Artificial intelligence tools such as ChatGPT, CoPilot, CodePilot, and built-in tools within Word are modern tools that are useful in some circumstances, but reliance on them is not a path to success at university or in your later career. Reaching for a calculator to add up 1+1 is possible but not professionally sustainable for an engineer or scientist (or one might say in our educated society at all!), and that is why you learnt to do that yourself at primary school. Likewise, in your degree at UNSW, we're teaching you skills that are needed for your professional life, which is a combination of some things that AI could feasibly do for you and lots of things that the AI tools cannot do for you if we were only teaching you things that AI could do, your degree would be worthless and you wouldn't have a job in 5 years. You can therefore see that from an academic standards perspective, the output from an AI tool will be below the minimum standards expected for a course, even if you were to submit it (which you should not!). Your ability to complete later assessments where AI cannot help you will also be compromised if you've relied upon AI earlier.
It is also worth remembering what these AI tools such as ChatGPT are: they are only statistical models about how groups of words frequently appear. These AI based tools are not smart, they don't know anything other than how words are often grouped, and they most certainly do not understand any of the content from any of your courses. Some consequences of their word-statistics and non-scientific basis are:
In summary, the AI tools generate text output that is superficially reasonable, very confident sounding, and very often wrong. We are setting an expectation that our graduates should out-perform AI, meaning that it is a tool of limited academic use in your degree.
Item | Topics | Due | Marks |
Assignment1 |
Data Modelling + Relational Algebra
|
Week 4 | 25 |
Project |
SQL and PLpgSQL programming
|
Week 7 | 50 |
Assignment2 | DB design Theory + Transaction | Week 10 | 25 |
Final Exam | All topics | Exam period | 100 |
*: 5% reduction for each date, maximum 5 days
The final mark is calculated by the geometric mean: Final Mark = sqrt ( (ass1 + ass2 + proj) * Final Exam)
Week | Lectures | Labs | Assignments | Notes | |
1 |
Course introduction, Data Modelling
|
Lab01 – setting up a database server
|
- | - | |
2 |
Relational Data Model and Relational Algebra
|
Lab02 – schema definition and data constraints
|
Ass1 release | - | |
3 | SQL | - | - | - | |
4 |
SQL and PLpgSQL programming (I)
|
Lab03 – SQL queries with view definitions
|
Ass1 due,
Proj release |
- | |
5 |
SQL and PLpgSQL programming (II), Functional Dependencies
|
Lab04 - PLpgSQL functions
|
- | - | |
6 | QUIET WEEK | QUIET WEEK | - | - | |
7 |
Functional Dependencies, Normal Forms, Relational DB Design
|
Lab05 - database tiggers
|
Proj due
|
- | |
8 |
Database Architecture and Indexes, Query Processing
|
- |
|
- | |
9 |
Transactions, Concurrency and NoSQL
|
Lab06 - a practice on SQLite (an alternative DB)
|
- | - | |
10 |
Future DB technologies, course revision
|
- |
|
- |
Textbook:
Other References:
This course is evaluated each session using the myExperience system.
In the previous offering of this course, students noted that the relational design theory was not easy to follow, and there was less practice for that part. Based on their comments, we will tune the explanation of the theory components and involve more practice for half part of the course.
Special consideration is the process for assessing the impact of short-term events beyond your control (exceptional circumstances), on your performance in a specific assessment task. All special consideration requests you may have on a specific assessment tasks (e.g., for giving an extension) will be managed through the standard UNSW special consideration policy and procedures. For details, please visit UNSW special consideration Web site .
Enjoy the course! ...
Xiaoyang Wang
Resource created 2 years ago, last modified 2 years ago.