Databases (dDB)

First quarter (Q1) 2007

The course focuses on principles, design and implementation of databases.

Course teacher is Louis Salvail, and the following teaching assistants (TA's):

We use the book "Database Systems - The Complete Book" by Garcia-Molina, Ullman and Widom. The bookstore (Gad Stakbogladen, Naturfag) has been notified and should have a sufficient amount of copies in store.

The lecture will take place:

The course evaluation is made according a PASS/FAIL home assignment. In order to be allowed to pass the exam, all mandatory assignments made during the quarter must have been accepted by your TA.

News

General information

Exercise classes

All groups for the TØ sessions are provided here.

If you do not appear in one of these lists please contact the student information in order to make sure you're register.

Mandatory work

There will be group projects, and a final evaluation consisting of individually written reports (pass/fail - no grading) based on the project work.

All mandatory exercises will be derived from one mandatory project. The description of this project will be given a little bit later.
  • Exercises for course week 1
  • Exercises for course week 2
  • Exercises for course week 3
  • Exercises for course week 4
  • Exercises for course week 5
  • Exercises for course week 6 (I don't expect to modify it anymore unless I see that I got seriously confused again)

    Exam

    Basically, the final exam is a suitably updated version of all mandatory exercises. Follow the link for the exact formulation of the exam project report in due time. The exam is due by October the 26th (not sure about this one, this could be a few days after or before).

    Tools

    This year we use mySQL database management system. You can find information on how to create your own mySQL database using the muser script:
          /users/mysql/linux/daimi/muser
    
    This will return a password and will create an empty database for you. You cannot create other databases than this one. Then you can connect to the host with:
          mysql -h mysql.daimi.au.dk -u $USERNAME -p 
    
    You'll then be asked to provide the password returned by the muser script. You can use the PHPMyAdmin tool by connecting to the URL:
         http://mysql.daimi.au.dk.
    
    This will allow you to define your schema and input your data in. You can also use this GUI to make SQL query to your database.

    Make sure that you store your password since you cannot re-create a new account once one has been issued. Consult the mySQL reference manual to get a more compelete picture of mySQL 4.1.20 (in particular what differs from the SQL standard).

    For connecting with JDBC you need JDBC (jar file) in your class path. Then, in order to connect to a database, you can use this template. It simply connects to the localhost/test database and prints out the first column of the test relation.


    Webmaster: salvailATdaimi.au.dk