Download 幻灯片 1 - Read

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Tandem Computers wikipedia , lookup

IMDb wikipedia , lookup

Serializability wikipedia , lookup

Microsoft Access wikipedia , lookup

Relational algebra wikipedia , lookup

Oracle Database wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Ingres (database) wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Concurrency control wikipedia , lookup

Functional Database Model wikipedia , lookup

Database wikipedia , lookup

ContactPoint wikipedia , lookup

Open Database Connectivity wikipedia , lookup

SQL wikipedia , lookup

PL/SQL wikipedia , lookup

Clusterpoint wikipedia , lookup

Database model wikipedia , lookup

Relational model wikipedia , lookup

Transcript
CMU SSD7:
Database Systems
Lu Wei
School of Software
Northwestern Polytechnical
University
iCarnegie Curriculum
Lu Wei
2
Outline
•
•
•
•
•
•
•
•
Books
Motivations
Outcomes
Contents Overview
Practices and Examinations
Schedule
Introduction to the Trestle System
Suggestions
Lu Wei
3
Books
• Thomas M. Connolly, et al. Database Systems: A
practical approach to Design, Implementation,
and Management. 4th Edition ISBN:
0321210255 Addison-Wesley, 2004
• OR
• Thomas M. Connolly, et al. Database Systems: A
practical approach to Design, Implementation,
and Management. 3rd Edition ISBN:
0201708574 Addison-Wesley, 2001
Lu Wei
4
Motivations
• A web based Teaching & Learning platform and
abundant materials
• Learn how to use icarnegie resources.
• Grasp the contents and exercises given in slides
and online.
• Adept to education style with Web-based
electronic educational mode
• Pass three Unit Exams and final Exam
• Start learning yourself step by step in field of
database systems.
Lu Wei
5
• Outcomes after teaching & learning SSD7
course
Lu Wei
6
Outcomes
• The purpose of SSD7 is for students to
– Become familiar with fundamental DBMS concepts
and what a database system is
– Learn to use SQL
– Learn to design database systems
– Learn to design and manage transaction
– Learn to improve query performance
– Gain exposure to future trends in databases
Lu Wei
7
Outcomes cont’d 1
• Students successfully completing SSD7 will be
able to PRODUCE (cont’d)
–
–
–
–
Database designs that support a given application
Data models using E-R diagrams
Sound schema designs using normalization
Web-based database applications using SQL and
JSP/Servlets
Lu Wei
8
Outcomes cont’d 2
• Students successfully completing SSD7 will be
able to USE
– Index structures of a DBMS to improve performance
– The transaction features of a DBMS to achieve fault
recovery and concurrency control
– Key relational operations to manipulate data
– SQL DDL to model data, constraints, and views
– SQL DML to write complex queries
Lu Wei
9
Outcomes cont’d 3
• Students will be able to knowledgeably
DISCUSS
– The basic concepts of object-relational and objectoriented database management systems
– The basic concepts and application of data
warehousing and data mining (datacubes, OLAP)
– The basic functions and application of multimedia
databases
– The basic issues of database privacy and security
– The DBMS offerings of the most important vendors
Lu Wei
10
Outcomes cont’d 4
• The students will be able to
– Hold Positions as Beginning Database Designers and
Programmers
Lu Wei
11
Contents Overview
• SSD7: Database Systems
• Five units
–
–
–
–
–
Unit 1. Database Systems
Unit 2. Complete SQL
Unit 3. Database Design
Unit 4. Transaction and Indexes
Unit 5. Current Trends
• Three examinations
• One certification exam
Lu Wei
12
Unit 1 Database Systems
• 1.1 Introduction to Databases and Systems
– 1.1.1 What Is a Database?
– 1.1.2 Examples of Database Systems
– 1.1.3 When Is a Database Management System
Needed?
– 1.1.4 When Is a Database Management System Not
Needed?
• 1.2 Relational Databases
– 1.2.1 Key Concepts
– 1.2.2 Relational Operations
– 1.2.3 QBE (Query By Example)
Lu Wei
13
Unit 2 Complete SQL
• 2.1 Basic SQL
– 2.1.1 SQL Data Definition Language
– 2.1.2 SQL Data Manipulation Language
• 2.2 Advanced SQL
–
–
–
–
2.2.1 Views
2.2.2 Integrity Constraints in SQL
2.2.3 Access Control
2.2.4 Embedded SQL
Lu Wei
14
• 2.3 Web Databases
–
–
–
–
–
–
–
–
2.3.1 Web Database Applications
2.3.2 HTTP and HTML Forms
2.3.3 Microsoft Active Platform
2.3.4 JDBC (Java DataBase Connectivity)
2.3.5 Java Servlets
2.3.6 Java Server Pages
2.3.7 JavaBeans
2.3.8 MVC Architecture
Lu Wei
15
Unit 3 Database Design
• 3.1 Database System Design
• 3.2 Entity-Relationship Models
– 3.2.1 ER Concepts
– 3.2.2 Enhanced ER and ER Notation
– 3.2.3 Mapping from ER Models to Relational Models
• 3.3 Normalization
– 3.3.1 Why Normalize?
– 3.3.2 Normal Forms
Lu Wei
16
Unit 4 Transactions and Indexes
• 4.1 Transaction Management
–
–
–
–
4.1.1 Transaction Support
4.1.2 Concurrency Control Protocols
4.1.3 Database Recovery
4.1.4 Programming with Transactions
Lu Wei
17
• 4.2 Improving Query Performance
–
–
–
–
4.2.1 Database Storage and Query Performance
4.2.2 Hash Files
4.2.3 Indexes
4.2.4 Query Optimization and Index Choice
Lu Wei
18
Unit 5 Current Trends
• 5.1 Non-Relational Data Models
– 5.1.1 Object Relational Models
– 5.1.2 Varying Data Types
– 5.1.3 Database Classifications and the Marketplace
• 5.2 Data Warehousing, OLAP, and Data Mining
Lu Wei
19
Practices and Examinations
• Ten Exercises
• Three Examinations
Lu Wei
20
Schedule 1
数据库系统(SSD7)课程教学大纲
课时:39 小时讲课(共 13 讲)
72 小时实验(共 24 次实验)
第一讲 Introduction
1. Introduction to course
2. Introduction to databases and systems
Chapter
实验与作业
Multiple Choice Quiz
Exercise
第二讲 Relational Database
1. Relational Model
2. Relational Algebra and Calculus
Chapter
实验与作业
Multiple Choice Quiz
Exercise
第三讲 Basic SQL
1. SQL Data Definition Language
2. SQL Data Manipulation Language
实验与作业
Multiple Choice Quiz
Exercise
Lu Wei
21
Schedule 2
数据库系统(SSD7)课程教学大纲
课时:39 小时讲课(共 13 讲)
72 小时实验(共 24 次实验)
第一讲 Introduction
1. Introduction to course
2. Introduction to databases and systems
Chapter
实验与作业
Multiple Choice Quiz
Exercise
第二讲 Relational Database
1. Relational Model
2. Relational Algebra and Calculus
Chapter
实验与作业
Multiple Choice Quiz
Exercise
第三讲 Basic SQL
1. SQL Data Definition Language
2. SQL Data Manipulation Language
实验与作业
Multiple Choice Quiz
Exercise
Lu Wei
22
Schedule 3
数据库系统(SSD7)课程教学大纲
课时:39 小时讲课(共 13 讲)
72 小时实验(共 24 次实验)
第一讲 Introduction
1. Introduction to course
2. Introduction to databases and systems
Chapter
实验与作业
Multiple Choice Quiz
Exercise
第二讲 Relational Database
1. Relational Model
2. Relational Algebra and Calculus
Chapter
实验与作业
Multiple Choice Quiz
Exercise
第三讲 Basic SQL
1. SQL Data Definition Language
2. SQL Data Manipulation Language
实验与作业
Multiple Choice Quiz
Exercise
Lu Wei
23
Schedule 4
数据库系统(SSD7)课程教学大纲
课时:39 小时讲课(共 13 讲)
72 小时实验(共 24 次实验)
第一讲 Introduction
1. Introduction to course
2. Introduction to databases and systems
Chapter
实验与作业
Multiple Choice Quiz
Exercise
第二讲 Relational Database
1. Relational Model
2. Relational Algebra and Calculus
Chapter
实验与作业
Multiple Choice Quiz
Exercise
第三讲 Basic SQL
1. SQL Data Definition Language
2. SQL Data Manipulation Language
实验与作业
Multiple Choice Quiz
Exercise
Lu Wei
24
Schedule 5
数据库系统(SSD7)课程教学大纲
课时:39 小时讲课(共 13 讲)
72 小时实验(共 24 次实验)
第一讲 Introduction
1. Introduction to course
2. Introduction to databases and systems
Chapter
实验与作业
Multiple Choice Quiz
Exercise
第二讲 Relational Database
1. Relational Model
2. Relational Algebra and Calculus
Chapter
实验与作业
Multiple Choice Quiz
Exercise
第三讲 Basic SQL
1. SQL Data Definition Language
2. SQL Data Manipulation Language
实验与作业
Multiple Choice Quiz
Exercise
Lu Wei
25
Introduction to the Trestle
System iCarnegie
• 1 Introduction
– 1.1 Supported Browsers
– 1.2 Logging Into Trestle
– 1.3 The Trestle Interface
• 2 The Student Interface
– 2.1 The Main Menu
•
•
•
•
•
•
2.1.1 My Info
2.1.2 Courses
2.1.3 Messaging
2.1.4 Comment
2.1.5 Help
2.1.6 Logout
Lu Wei
26
Introduction to the Trestle
System cont’d 1
– 2.2 Navigating CTE Courses on Trestle
•
•
•
•
•
•
2.2.1 Course Outline
2.2.2.1 Previous/Up/Next Buttons
2.2.2.2 The Breadcrumb Trail
2.2.2.3 My Course Record
2.2.2.4 Hide/Show Outline
2.2.2 Course Navigation Menu
– 2.2.3 Assessments
• 2.2.3.1 Submitting Assessments
– Exercise: Lesson Plan
Lu Wei
27
Introduction to the Trestle
System cont’d 2
• 3 The Messaging System
– 3.1 Forums
• 3.1.1 Student Forums
• 3.1.2 Staff Forums
–
–
–
–
3.2 Discussions
3.3 Messages
3.4 Tips and Strategies
Exercise: Using the Messaging System
Lu Wei
28
Introduction to the Trestle
System cont’d 3
• 4 The Staff Interface
– 4.1 The Staff Main Menu
– 4.2 Navigating the Staff Interface
• 4.2.1 Search
• 4.2.2 Course Section
• 4.2.3 Proctor
– 4.2.3.1 Reviewing Assessments
– 4.2.3.2 What Is Proctoring?
– 4.2.3.3 How To Proctor
• 4.2.4 Section Roster
• 4.2.5 Individual Student Record
• 4.2.6 View Tracking Data
Lu Wei
29
Introduction to the Trestle
System cont’d 4
• 4 The Staff Interface
– 4.3 Grading
• 4.3.1 CTE Rubrics
• 4.3.2 A Practice Rubric
– Exercise: Using the Staff Interface
• Appendix
– Frequently Asked Questions
– Trestle Features
Lu Wei
30
Suggestions
• Reading contents given online and books
• Do all the exercises yourself
• Discuss with your classmates when you read
contents or do exercise but do not copy work.
Lu Wei
31