Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

COMP9311

Database Systems

Course Summary

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.

Assumed Knowledge

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.

Student Learning Outcomes

By the end of the course, you should be able to:

1. develop accurate, non-redundant data models

2. realise data models as relational database schemas

3. formulate queries via the full range of SQL constructs

4. use stored procedures and triggers to extend DBMS capabilities

5. understand performance issues in relational database applications

6. understand the overall architecture of relational DBMSs

7. understand the concepts behind transactions and concurrency control

8. appreciate query and transaction processing techniques within RDBMSs

9. appreciate the past, present and future of database technology

Glossary :

· DBMS : DataBase Management System ... software system to support database manipulation

· RDBMS : Relational DBMS ... the most popular style of DBMS (refers to underlying data model)

· SQL : Structured Query Language ... the ANSI standard language for manipulating RDBMS

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

Teaching Strategies

· Lectures : deliver the basic concepts and explain with detailed examples. The lectures will be delivered as live lectures (problem solving sessions) with recorded videos.

· Lab Work : help students implement basic database components with real-life database instance. To train students sufficiently in the practical programming skills in database systems, the lab exercises mainly focus on the database programming languages namely SQL and PLpgSQL. The lab works are designed to be self-guided, do-it-yourself tasks. However, there will be support lab help sessions scheduled weekly all throughout the term.

· Consultation and Lab Support Sessions : weekly help sessions to provide personalized advice to students on their progress in the course.

· Assessments: measure the student's learning progress and outcome, especially on the practical skills relevant to the course. There will be two assignments and one project. Each designed to give practical experiences of applying the important concepts in real problems. These are individual work and assessed as such.

Teaching Rationale

This course is taught the way it is because:

· We want to produce students who are highly competent in both theoretical knowledge as well as in practical skills. In this course, primarily lectures provide the theoretical knowledge which is followed by labs/assignments to practice the technical skills. The course will have an emphasis on problem-solving for real applications.

· We want to make students feel welcome and part of the learning community. Creating such a learning community takes all of us to make sure that we respect each other (even when we are not seeing face to face), we make each other feel safe to ask questions and be curious.

· We want to equip the students with the resources and skills to to seek further knowledge and update themselves with the latest trends in the subject matter after the course is finished.

Student Conduct

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:

· Plagiarism and Academic Integrity

· UNSW Plagiarism Procedure

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

· UNSW's policy regarding academic honesty and plagiarism

The pages below describe the policies and procedures in more detail:

· Student Code Policy

· Student Misconduct Procedure

· Plagiarism Policy Statement

· Plagiarism Procedure

You should also read the following page which describes your rights and responsibilities in the CSE context:

· Essential Advice for CSE Students

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:

· They generate confident-sounding text that is completely wrong from a technical point of view.

· The text mangles jargon very badly.

· The output gets causality backwards and so often argues completely the wrong thing.

· The output will include unit conversions but it will often get them wrong.

· They generate text that is often very generic, bland, lacking on detail, and not actually very helpful.

· The output is often just a collection of loosely related factual-sounding sentences that don't answer the question that was actually asked.

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.

Assessment

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)

Course Schedule

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

-

Ass2 release

 

-

9

Transactions, Concurrency and NoSQL

Lab06 - a practice on SQLite (an alternative DB)

-

-

10

Future DB technologies, course revision

-

Ass2 due

 

-

Resources for Students

Textbook:

· Fundamentals of Database Systems by Elmasri & Navathe, 7th edition, Addison-Wesley, UNSW Bookshop eBook (Pearson)

Other References:

· A First Course in Database Systems by Jeffery D. Ullman, Jennifer Widom, a recent edition, Prentice Hall

· Database Management Systems by R. Ramakrishan, 3rd edition, McGraw-Hill, 2003

· The Theory of Relational Databases by D. Maier, 1st edition, Computer Science Press, 1983

Course Evaluation and Development

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

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 .