8/28/2001Database Management -- Fall 2001 -- R. Larson Database Management: Introduction University...
-
date post
21-Dec-2015 -
Category
Documents
-
view
216 -
download
0
Transcript of 8/28/2001Database Management -- Fall 2001 -- R. Larson Database Management: Introduction University...
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Database Management:Introduction
University of California, Berkeley
School of Information Management and Systems
SIMS 257: Database Management
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Course Overview
• Description of the Course
• Assignments
• Readings
• Grading
• Schedule
• Web site: http://sims.berkeley.edu/courses/is257/f01
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Course Description
• This course is concerned with the design of the database itself -- not with the design of database systems software.– We will discuss DBMS internals only as they
relate to the database and its design and structure
• We will spend some time on database application design -- but this will not be primary focus.
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Assignments
• Two kinds of assignments– Using a pre-built database for search and retrieval
queries– Designing, populating, and running queries against
your own database• Types of database project
– Individual» Work related» Course only» Projects from around campus that need doing…
– Group» Course related» SIMS project
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Readings
• Textbook is:– Riccardi, Greg. Principles of Database Systems
with Internet and Java Applications. Addison-Wesley : Reading, Mass., 2001.
• (ISBN 0-201-61247-X)
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Grading
• Grades will be based on:– Assignments (40%)– Personal/Group Database project (50%)– Class participation (10%)
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Schedule
• on website:
• http://sims.berkeley.edu/courses/is257/f01/
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Files and Databases• File: A collection of records or documents
dealing with one organization, person, area or subject. (Rowley)– Manual (paper) files– Computer files
• Database: A collection of similar records with relationships between the records. (Rowley)– bibliographic, statistical, business data, images, etc.
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Database
• A Database is a collection of stored operational data used by the application systems of some particular enterprise. (C.J. Date)– Paper “Databases”
• Still contain a large portion of the world’s knowledge
– File-Based Data Processing Systems• Early batch processing of (primarily) business data
– Database Management Systems (DBMS)
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Why DBMS?• History
– 50’s and 60’s all applications were custom built for particular needs
– File based– Many similar/duplicative applications dealing
with collections of business data– Early DBMS were extensions of programming
languages– 1970 - E.F. Codd and the Relational Model– 1979 - Ashton-Tate & first Microcomputer
DBMS
8/28/2001 Database Management -- Fall 2001 -- R. Larson
File Based Systems
Naughty
NiceJust what asked for
CoalEstimation
DeliveryList
Application File
ToysAddresses
Toys
8/28/2001 Database Management -- Fall 2001 -- R. Larson
From File Systems to DBMS
• Problems with File Processing systems– Inconsistent Data– Inflexibility– Limited Data Sharing– Poor enforcement of standards– Excessive program maintenance
8/28/2001 Database Management -- Fall 2001 -- R. Larson
DBMS Benefits
• Minimal Data Redundancy• Consistency of Data• Integration of Data• Sharing of Data• Ease of Application Development• Uniform Security, Privacy, and Integrity
Controls• Data Accessibility and Responsiveness• Data Independence• Reduced Program Maintenance
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Database Environment
CASE Tools
DBMS
UserInterface
ApplicationPrograms
Repository Database
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Types of Database Systems
• PC Databases
• Centralized Database
• Client/Server Databases
• Distributed Databases
• Database Models
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Client Server Databases
NetworkClient
Client
Client
DatabaseServer
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Distributed Databases
computercomputer
computer
Location A
Location CLocation B
HomogeneousDatabases
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Distributed Databases
Local Network
DatabaseServer
Client
Client
CommServer
Remote Comp.
Remote Comp.
HeterogeneousOr FederatedDatabases
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Database Data Models: History
• Hierarchical Model (1960’s and 1970’s)– Similar to data structures in programming
languages.Books
(id, title)
Publisher SubjectsAuthors
(first, last)
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Database Data Models: History
• Network Model (1970’s)– Provides for single entries of data and
navigational “links” through chains of data.
Subjects Books
Authors
Publishers
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Database Data Models: History
• Relational Model (1980’s)– Provides a conceptually simple model for data
as relations (typically considered “tables”) with all data visible.
Book ID Title pubid Author id1 Introductio 2 12 The history 4 23 New stuff ab 3 34 Another title 2 45 And yet more 1 5
pubid pubname1 Harper2 Addison3 Oxford4 Que
Authorid Author name1 Smith2 Wynar3 Jones4 Duncan5 Applegate
Subid Subject1 cataloging2 history3 stuff
Book ID Subid1 22 13 34 24 3
8/28/2001 Database Management -- Fall 2001 -- R. Larson
Database Data Models: History
• Object Oriented Data Model (1990’s)– Encapsulates data and operations as “Objects”
Books(id, title)
Publisher SubjectsAuthors
(first, last)