Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–1 Database Systems • Lecture/Workshop: Mon 1-3 LIB 1316; Wed 11 – 12, LH2 • Lab: Thu 10-12, ACC, additional help: Mon or Tue? • Judy Cushing - [email protected]• Office Hours: Thursdays 1-2pm, Lab I, 1003, 867-6652 • Class web page: off the SOS web page, or academic.evergreen.edu/r/ricdan16/SOSdatabase/databaseHome.html • Assignments due most Wednesdays • Project Parts due Mondays or Thursdays • Lab Aids: Dan Rice, Jeff Jones
43
Embed
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–1 Database Systems Lecture/Workshop: Mon 1-3 LIB 1316; Wed 11 – 12, LH2 Lab: Thu 10-12, ACC, additional.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–1
• Lab: Thu 10-12, ACC, additional help: Mon or Tue?• Judy Cushing - [email protected]• Office Hours: Thursdays 1-2pm, Lab I, 1003, 867-6652• Class web page: off the SOS web page, or
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–2
TextbooksRequired:• Database Systems: The Complete Book, by Garcia-Molina, Ullman, and
Widom (first edition), Prentice Hall, 2002.Recommended: (one of these)• SQL in a Nutshell : A Desktop Quick Reference, Kevin E. Kline, Daniel
Kline, O’Reilly.• A Guide to the SQL Standard. C. J. Date and H. Darwen, Addison-
Wesley, 1999. It is more succinct but perhaps a more useful summary, than the Melton-Simon book.
• SQL3 Complete, A Guide to the SQL Standard: A User's Guide to the Standard Database Language SQL, (fourth edition), by C.J. Date and Hugh Darwen, Addison-Wesley, 2000.
• SQL: 1999 - Understanding Relational Language Components, (first edition), by Melton and Simon, Morgan Kaufmann, 2002.
If you are using PostgreSQL: Books on Unix, Perl, PHP, and CGI, PostgreSQL: Introduction and Concepts, Bruce Momjian, Addison-Wesley, 2001. This might also be on the web.
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–3
Evaluations
I will evaluate you on your ability to design and implement a database application, and on your understanding of database concepts. I will consider: Assignments and in class participation: about 30%. Project: about 35%. Exams: about 35%.
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–4
Project• Build an application using a relational database
system (SQL Server or PostgreSQL) accessed via Java and the web.
• The project has 8 parts (due Mondays or Thursdays), starting with design and ending with a complete application.
• The early programming assignments should be written in SQL, Java.
• Some students found it helpful to switch to JavaScript, HTML (PHP or Perl if Postgres) for the web-accessible part.
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–5
Project - tentative schedule
1. Project Part 1 due Jan. 14 (Mon) Choose a project and design an E/R diagram.
2. Project Part 2 due Jan. 24 (TH) Relational design. 3. Project Part 3 due Jan. 31 (TH) Create database in
SQLServer. 4. Project Part 4 due Feb. 7 (TH) Queries, updates, and
indexes. 5. Project Part 5 due Feb. 21 (TH) Embedded SQL. 6. Project Part 6 due Feb. 28 (TH) Views, constraints, and
triggers. 7. Project Part 7 due Mar. 6 (Wed) Entire database
application, in Java.8. Project Part 8 due Mar. 11 (Mon) Database application,
accessed via the web.
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–6
Typical Warning(for those taking this class elsewhere)
• The database class is a lot of work.
• But it is worth it.
• Of all courses you take, it may be the one that gets you a job….
We know that SOS gets people jobs, but database expertise does help…. Data is key to many applications….
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–7
Schedule• Today: Jan. 7
Intro, Entity-Relationship Model. Read Chapter 1 and Sections 2.1, 2.3.
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–8
Syllabus• The background and history of database
management systems.• The fundamentals of using a database
management systems.• Industry standards used for database management
systems.• Theoretical background of the relational model.• Queries and Updates.• Logic databases? Constraints and Triggers.• Transactions and Security.• Object-oriented, object-relational, semi-structured
and XML database systems.• Mediation and warehousing.
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–9
What is a Database Management System?
1. Manages very large amounts of data.2. Supports efficient access to very large amounts of data.3. Supports concurrent access to very large amounts of
data. Example: bank and its ATM machines.
4. Supports secure, atomic access to very large amounts of data. Contrast two people editing the same UNIX file – last to write “wins” –
with the problem if two people deduct money from the same account via ATM machines at the same time – new balance is wrong whichever writes last.
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–10
Relational Model
• Based on tables, as:acct # name balance
12345 Sally 1000.21
34567 Sue 285.48
… … …
• Today used in most DBMS's.
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–11
The DBMS Marketplace• Relational DBMS companies – Oracle, Sybase – are among the
largest software companies in the world.• IBM offers its relational DB2 system. With IMS, a nonrelational
system, IBM is by some accounts the largest DBMS vendor in the world.
• Microsoft offers SQL-Server, plus Microsoft Access for the cheap DBMS on the desktop, answered by “lite” systems from other competitors.
• Relational companies also challenged by “object-oriented DB” companies, and XML data stores.
• But countered with “object-relational” systems, which retain the relational core while allowing type extension as in OO systems.
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–12
Three Aspects to Studying DBMS's1. Modeling and design of databases.
Allows exploration of issues before committing to an implementation.
2. Programming: queries and DB operations like update.
SQL = “intergalactic dataspeak.”
3. DBMS implementation.
Consider DBMS system components, p. 11.
Winter 2002 Judy Cushing, Art Keller, Jeff Ullman 1–13