Language:EN
Pages: 16
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
must removed from the student table and placed tab

Must removed from the student table and placed table about faculty shown below

Client/Server Databases and the Oracle 10g Relational Database

2

File-based data processing

– Retrieving data

Student Registration System (using file-based data processing)

Problems with storing data in files:
– Redundancy
• Example: same student data or course data in
different files
– Inconsistency
• May have different info about students or courses in different files if not updated everywhere
– Proliferation of data management programs
(retrieving, updating, inserting, deleting data)
– Waste of disk space due to redundancy and
proliferation of data management programs.

4

All programs interface with the DBMS to access the database data.

Complex database systems require a database administrator (DBA)

– A record is all attributes about a specific instance of an
entity 6thcolumn/field
FACULTY table

F_ID F_LAST

F_FIRST

F_MI F_PHONE
1 Marx Teresa
4075921695 Associate
2 Zhulin Mark
4073975682 Full

2ndRow/record

3 Langley Colin

A

4075928719 Assistant 3rdRow/record
4 Brown Jonnel
4078101155 Full 4thRow/record

Entity
– Object about which you want to store data (e.g.

students, faculty, courses, staff, supplies, etc.)
– Different tables store data about each different entityRelationships
– Used to connect information about different entities– Links that show how different records are related

Student
Courses

8

Primary Key

Surrogate Keys

F_ID F_LAST F_FIRST F_MI

F_PHONE

F_RANK

4075921695

Associate

4073975682

Full

Langley

Assistant

4

Full

FACULTY table with surrogate key

11

Composite Key

4

Database Design
Main tasks involved with design of database: – Developing entity-relationship (ER) model – Normalizing database tables

– Many to many (N:M) Student
Course

Entity-Relationship Model (continued)One to one (1:1)

– Each occurrence of a specific entity is found only once

in each set of data

Birth
Person

* Crow’s foot is used to represent the “many” side of the relationship

15

5

16

Step-by-step process used to determine which data elements should be stored in which tables
Purpose
– Eliminate data redundancy
Normalization process include:
– Beginning with unnormalized data/table
– Applying techniques to convert unnormalized data into 1stNormal Form (1NF) 2NF, 3NF
Having all tables in 3NF is the objective

17

First Normal Form

To convert an unnormalized table into 1NF: – Repeating groups must be removed
– Primary key field must be identified
Easiest way to remove repeating groups is
– To create a separate record for each value in the repeating group

What field(s) could be used as a primary key in the STUDENT table below?

Answer: ________________

Second Normal Form (continued)

To remove partial dependency from a table

S_ID, S_LAST, S_ADDRESS, S_STATE, S_ZIP, F_ID, F_LAST COURSE_NO, COURSE_NAME, CREDITS
S_ID + COURSE_NO, GRADE

Step 1 Step 2

STUDENT (S_ID, S_LAST, S_ADDRESS, S_STATE, S_ZIP, F_ID, F_LAST ) COURSE (COURSE_NO, COURSE_NAME, CREDITS)
ENROLLMENT (S_ID + COURSE_NO, GRADE)

22

STUDENT (S_ID, S_LAST, S_ADDRESS, S_STATE, S_ZIP, F_ID, F_LAST ) COURSE (COURSE_NO, COURSE_NAME, CREDITS)
ENROLLMENT (S_ID + COURSE_NO, GRADE)

23

Third Normal Form (cont.)

STUDENT (S_ID, S_LAST, S_ADDRESS, S_STATE, S_ZIP, F_ID,) COURSE (COURSE_NO, COURSE_NAME, CREDITS)
ENROLLMENT (S_ID + COURSE_NO, GRADE)
FACULTY (F_ID, F_LAST)

24

8

Consists of
– DBMS
• Manages physical storage and data retrieval
– Database applications
• Provide interface that allows users to interact with database
Server
– Computer that shares resources with other
computers

26

Personal Database Management Systems

DBMS and database applications run on same workstation
Appear to user as a single integrated applicationUsed primarily for creating single-user database applications
Can also be used for some multiuser applicationsShould be used only for applications that are not mission critical

Using a Personal Database for a Multiuser Application

– Grouping related database changes into units of work that must either all succeed or all fail

– DBMS can use the transaction log to reverse—or roll back—the changes

Server sends only requested data back to client rather than entire database

32

Client/Server Database Management Systems (continued)

Generate less network traffic than personal databases

Client/Server Database Management Systems (continued)

Preferred for
– Database applications that retrieve and manipulate small amounts of data from databases containing large numbers of records
– Mission-critical applications
– Web-based database applications that require increased security and fault tolerance

12

Client/Server Architecture for Oracle 10g DBMS

38

The Database CasesFictional organizations:
– Clearwater Traders
– Northwoods University

40

The Clearwater Traders Sales Order Database (continued)

42

14

Student registration system
Data items consist of information about:– Students
– Courses
– Instructors
– Student Enrollment

44

Visual Representation of the
Northwoods University Database

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : Ismail Hussain

PageId: DOC84F9B00