cs 3630 database design and implementation

27
CS 3630 Database Design and Implementation Dr. Qi Yang 213 Ullrich My Home Page: http://www.uwplatt.edu/~yangq/ The Class Page: http://www.uwplatt.edu/csse/cours es/CS363

Upload: moses-marquez

Post on 03-Jan-2016

54 views

Category:

Documents


0 download

DESCRIPTION

CS 3630 Database Design and Implementation. Dr. Qi Yang 213 Ullrich My Home Page: http://www.uwplatt.edu/~yangq/ The Class Page: http://www.uwplatt.edu/~yangq/cs363/cs363.html. Prerequisites. CS 243 (Better CS323!) MATH 273 (Removed!) Not a programming course - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CS 3630   Database Design and Implementation

CS 3630 Database Design and Implementation

Dr. Qi Yang

213 Ullrich

My Home Page:

http://www.uwplatt.edu/~yangq/

The Class Page: http://www.uwplatt.edu/csse/courses/CS363

Page 2: CS 3630   Database Design and Implementation

2

CS 3630 Database Design and Implementation

Prerequisites: CS 2430 and MATH1630 or MATH 2730

Oracle Programming Not a programming course Basic theory and concepts Required for CS and SE

Page 3: CS 3630   Database Design and Implementation

3

Course Work

• Assignments 100

• Quizzes 100

• Tests 120

• Project 80

• Final 100

• Total 500

Page 4: CS 3630   Database Design and Implementation

4

Grading

Grade Total Points Percentage Grade Points

A 460 - 500 92% 4.0

A - 445 - 459 89% 3.7

B + 435 - 444 87% 3.3

B 410 - 434 82% 3.0

B - 395 - 409 79% 2.7

C + 385 - 394 77% 2.3

C 360 - 384 72% 2.0

C - 345 - 359 69% 1.7

D + 335 - 344 67% 1.3

D 300 - 334 60% 1.0

F Below 300 0.0

Page 5: CS 3630   Database Design and Implementation

Final Exam

• Group #10

• Thursday, May 14

• 7:00 – 8:52 PM

5

Page 6: CS 3630   Database Design and Implementation

6

Graduating Seniors

Course Grade Points Percentage (%)

A 376 - 400 94%

A - 364 - 375 91%

B + 356 - 363 89%

B 336 - 355 84%

B - 324 - 335 81%

C + 316 - 323 79%

C 296 - 315 74%

C - 284 - 295 71%

Page 7: CS 3630   Database Design and Implementation

7

Notes

• Attend class

• Check UWP email

• Academic misconduct

• The right to miss class for religious observances

• Disability

Page 8: CS 3630   Database Design and Implementation

Any Questions?

Let me know when you have any issues!

8

Page 9: CS 3630   Database Design and Implementation

9

What is a computer?

Input Output

Storage

Network

CPU

MEMORY

Page 10: CS 3630   Database Design and Implementation

10

File Systems

FilesUsers

Programs

Page 11: CS 3630   Database Design and Implementation

11

Issues in File Systems

• Program-Data Dependence

Physical structure is defined in application code • Separation and Isolation of Data

Information is stored in separate files

• Duplication of Data and Data Inconsistency

The same data may be stored in different departments• Incompatible File Formats

Files from C++ and COBOL may be different

Page 12: CS 3630   Database Design and Implementation

12

Issues in File Systems

• Fixed Queries

New queries requires new/modified programs• Access Control and Security

Who can and cannot access files, fields…

Access different portions of a file • Recovery• …

Page 13: CS 3630   Database Design and Implementation

13

Database Systems

FilesUsers

Programs

DBMS

DBMS: Database Management system

Page 14: CS 3630   Database Design and Implementation

14

Advantages of Database

• Data Independence – Physical structure is unknown to application code

• Data Relationship– Primary key and Foreign key

• Limited Duplication of Data and Data Consistency • Query Processing• Access Control • Security• Recovery

Page 15: CS 3630   Database Design and Implementation

15

Disadvantages of Database

• Complexity

• Cost

• Performance

• Higher Impact of Failure

Page 16: CS 3630   Database Design and Implementation

16

Database:Underlying Framework of CIS

• Most IS are based on databases

• Fundamentally changed the way many organizations operate

• Business without database?

Page 17: CS 3630   Database Design and Implementation

17

Database: One Important Development in

Software Engineering

• Query Processing

• Access Control

• Transactions

• Distributed computing

• Networking

• …

Page 18: CS 3630   Database Design and Implementation

18

Roles in Database Environment (People)

• DA (Data Administrator)

• DBA (Database Administrator)

• Database Designers

• Application Developers

• End-Users

Page 19: CS 3630   Database Design and Implementation

19

Database Management Systems

• First generation Hierarchical Network• Second generation Relational• Third generation OODB GIS Fuzzy DB …• Post-Relational Google’s BigTable Amazon's Dynamo

Page 20: CS 3630   Database Design and Implementation

20

Database Security

The mechanisms to protect the database against unauthorized access, either intentional or accidental.

Page 21: CS 3630   Database Design and Implementation

21

Threats to Database Systems

Any event or situation , whether intentional or accidental, that may adversely affect a database system and consequently the organization.

Page 22: CS 3630   Database Design and Implementation

22

Threats to Database Systems

• Using another person’s means of access• Inadequate policies and procedures that allow a

mix of confidential and normal output• Giving greater access than normal• Inadequate staff training• Viewing or disclosing unauthorized data• Fire (electrical fault, lighting strike, arson)• . . .

Page 23: CS 3630   Database Design and Implementation

23

Database Security: Related Issues

• Theft and fraud

• Loss of confidentiality

• Loss of privacy

• Loss of integrity

• Loss of availability

Page 24: CS 3630   Database Design and Implementation

Database Security

• DA

• DBA

24

Page 25: CS 3630   Database Design and Implementation

25

Highest Academic Award in Computer Science?

• Turing Award• Nobel Prize of Computing • http://en.wikipedia.org/wiki/Turing_Award

• 1981: Dr. E.F. Codd Relational Database Model

Page 26: CS 3630   Database Design and Implementation

26

What is a computer?

Input Output

Storage

Turing Machine

Network

CPU

MEMORY

Page 27: CS 3630   Database Design and Implementation

27

Chapter 1