Presentation is loading. Please wait.

Presentation is loading. Please wait.

2005-08-31 - SLIDE 1IS 257 – Fall 2005 Database Life Cycle and Introduction to Access University of California, Berkeley School of Information Management.

Similar presentations


Presentation on theme: "2005-08-31 - SLIDE 1IS 257 – Fall 2005 Database Life Cycle and Introduction to Access University of California, Berkeley School of Information Management."— Presentation transcript:

1 2005-08-31 - SLIDE 1IS 257 – Fall 2005 Database Life Cycle and Introduction to Access University of California, Berkeley School of Information Management and Systems SIMS 257: Database Management

2 2005-08-31 - SLIDE 2IS 257 – Fall 2005 Lecture Outline Review Database Models Database Life Cycle Access and the Diveshop Database

3 2005-08-31 - SLIDE 3IS 257 – Fall 2005 Database Environment CASE Tools DBMS User Interface Application Programs Repository Database

4 2005-08-31 - SLIDE 4IS 257 – Fall 2005 Database Components DBMS =============== Design tools Table Creation Form Creation Query Creation Report Creation Procedural language compiler (4GL) ============= Run time Form processor Query processor Report Writer Language Run time User Interface Applications Application Programs Database Database contains: User’s Data Metadata Indexes Application Metadata

5 2005-08-31 - SLIDE 5IS 257 – Fall 2005 Terms and Concepts Database DBMS Data Independence Metadata –Data Dictionary

6 2005-08-31 - SLIDE 6IS 257 – Fall 2005 Terms and Concepts Enterprise –Organization Entity –Person, Place, Thing, Event, Concept... Attributes –Data elements (facts) about some entity –Also sometimes called fields or items or domains Data values –instances of a particular attribute for a particular entity

7 2005-08-31 - SLIDE 7IS 257 – Fall 2005 Terms and Concepts Records –The set of values for all attributes of a particular entity –AKA “tuples” or “rows” in relational DBMS File –Collection of records –AKA “Relation” or “Table” in relational DBMS

8 2005-08-31 - SLIDE 8IS 257 – Fall 2005 Terms and Concepts Key –an attribute or set of attributes used to identify or locate records in a file Primary Key –an attribute or set of attributes that uniquely identifies each record in a file

9 2005-08-31 - SLIDE 9IS 257 – Fall 2005 Terms and Concepts DA –Data adminstrator - person responsible for the Data Administration function in an organization –Sometimes may be the CIO -- Chief Information Officer DBA –Database Administrator - person responsible for the Database Administration Function

10 2005-08-31 - SLIDE 10IS 257 – Fall 2005 Terms and Concepts Data Administration –Responsibility for the overall management of data resources within an organization Database Administration –Responsibility for physical database design and technical issues in database management Data Steward –Responsibility for some subset of the organization’s data, and all of the interactions (applications, user access, etc.) for that data

11 2005-08-31 - SLIDE 11IS 257 – Fall 2005 Lecture Outline Review Database Models Database Life Cycle Access and the Diveshop Database

12 2005-08-31 - SLIDE 12IS 257 – Fall 2005 Terms and Concepts Models –(1) Levels or views of the Database Conceptual, logical, physical –(2) DBMS types Relational, Hierarchic, Network, Object- Oriented, Object-Relational

13 2005-08-31 - SLIDE 13IS 257 – Fall 2005 Models (1) Conceptual Model Logical Model External Model Conceptual requirements Conceptual requirements Conceptual requirements Conceptual requirements Application 1 Application 2Application 3Application 4 Application 2 Application 3 Application 4 External Model External Model External Model Internal Model

14 2005-08-31 - SLIDE 14IS 257 – Fall 2005 Data Models(2): History Hierarchical Model (1960’s and 1970’s) –Similar to data structures in programming languages. Books (id, title) PublisherSubjects Authors (first, last)

15 2005-08-31 - SLIDE 15IS 257 – Fall 2005 Data Models(2): History Network Model (1970’s) –Provides for single entries of data and navigational “links” through chains of data. SubjectsBooks Authors Publishers

16 2005-08-31 - SLIDE 16IS 257 – Fall 2005 Data Models(2): History Relational Model (1980’s) –Provides a conceptually simple model for data as relations (typically considered “tables”) with all data visible.

17 2005-08-31 - SLIDE 17IS 257 – Fall 2005 Data Models(2): History Object Oriented Data Model (1990’s) –Encapsulates data and operations as “Objects” Books (id, title) PublisherSubjects Authors (first, last)

18 2005-08-31 - SLIDE 18IS 257 – Fall 2005 Data Models(2): History Object-Relational Model (1990’s) –Combines the well-known properties of the Relational Model with such OO features as: User-defined datatypes User-defined functions Inheritance and sub-classing

19 2005-08-31 - SLIDE 19IS 257 – Fall 2005 Lecture Outline Review Database Models Database Life Cycle Access and the Diveshop Database

20 2005-08-31 - SLIDE 20IS 257 – Fall 2005 Database System Life Cycle Growth, Change, & Maintenance 6 Operations 5 Integration 4 Design 1 Conversion 3 Physical Creation 2

21 2005-08-31 - SLIDE 21IS 257 – Fall 2005 The “Cascade” View Project Identifcation and Selection Project Initiation and Planning Analysis Logical Design Physical Design Implementation Maintenance See Hoffer, p. 41

22 2005-08-31 - SLIDE 22IS 257 – Fall 2005 Design Determination of the needs of the organization Development of the Conceptual Model of the database –Typically using Entity-Relationship diagramming techniques Construction of a Data Dictionary Development of the Logical Model

23 2005-08-31 - SLIDE 23IS 257 – Fall 2005 Physical Creation Development of the Physical Model of the Database –data formats and types –determination of indexes, etc. Load a prototype database and test Determine and implement security, privacy and access controls Determine and implement integrity constraints

24 2005-08-31 - SLIDE 24IS 257 – Fall 2005 Conversion Convert existing data sets and applications to use the new database –May need programs, conversion utilities to convert old data to new formats.

25 2005-08-31 - SLIDE 25IS 257 – Fall 2005 Integration Overlaps with Phase 3 Integration of converted applications and new applications into the new database

26 2005-08-31 - SLIDE 26IS 257 – Fall 2005 Operations All applications run full-scale Privacy, security, access control must be in place. Recovery and Backup procedures must be established and used

27 2005-08-31 - SLIDE 27IS 257 – Fall 2005 Growth, Change & Maintenance Change is a way of life –Applications, data requirements, reports, etc. will all change as new needs and requirements are found –The Database and applications and will need to be modified to meet the needs of changes

28 2005-08-31 - SLIDE 28IS 257 – Fall 2005 Another View of the Life Cycle Operations 5 Conversion 3 Physical Creation 2 Growth, Change 6 Integration 4 Design 1

29 2005-08-31 - SLIDE 29IS 257 – Fall 2005 Lecture Outline Review Database Models Database Life Cycle Access and the Diveshop Database

30 2005-08-31 - SLIDE 30IS 257 – Fall 2005 Test Database The DiveShop database contains information for the business operations of a skin & scuba diving shop that: –Organizes trips to particular locations (destinations) with various dive sites –Dive sites have various features including types of marine life found there other features (like shipwrecks) –Rents/Sells equipment to dive customers for particular trips.

31 2005-08-31 - SLIDE 31IS 257 – Fall 2005 ER Diagrams Entity-Relationship Diagrams are one of the main tools for database design We will examine ER diagrams in greater detail later ER Diagrams show Entities (rectangles) and their attributes (ovals) and the relationships between entities (diamonds)

32 2005-08-31 - SLIDE 32IS 257 – Fall 2005 Diveshop Entities: SITES Destination no Site no Site Name Site Notes Site Highlight Distance From Town (M) Distance From Town (Km) Skill Level Visibility(ft) Depth (m) Depth (ft) Sites Visibility (m) Current

33 2005-08-31 - SLIDE 33IS 257 – Fall 2005 Diveshop Entities: DIVECUST Name Customer no Street State/ProvCity ZIP/Postal Code Country First Contact Phone DiveCust

34 2005-08-31 - SLIDE 34IS 257 – Fall 2005 Diveshop Entities: DEST Destination name Destination no Avg Temp (F) Spring Temp (F) Avg Temp (C) Summer Temp (C) Summer Temp (F) Travel Cost Winter Temp (C) Fall Temp (F) Fall Temp (C) Dest Winter Temp (F) Accommodations Body of Water Night Life Spring Temp (C)

35 2005-08-31 - SLIDE 35IS 257 – Fall 2005 Diveshop Entities: BIOLIFE Category Species no Common Name Length (cm) Species Name Length (in) Notes external Graphic external BioLife

36 2005-08-31 - SLIDE 36IS 257 – Fall 2005 Diveshop Entities: SHIPWRCK Site no Ship Name Category InterestTypeTonnage Length (ft) Beam (m) Beam (ft) Length (m) Shipwrck Cause Comments external Date Sunk Passengers/ Crew Graphic external Survivors Condition

37 2005-08-31 - SLIDE 37IS 257 – Fall 2005 Diveshop Entities: DIVESTOK Description Item No Equipment Class Reorder Point On HandCost Sale Price DiveStok Rental Price

38 2005-08-31 - SLIDE 38IS 257 – Fall 2005 Diveshop Entities: DIVEORDS Customer No Order no Sale Date Ship Via Destination CCExpDate CCNumber Payment Method DiveOrds No of People Vacation Cost Return Date Depart Date

39 2005-08-31 - SLIDE 39IS 257 – Fall 2005 Diveshop Entities: DIVEITEM Item no Order no Rental/ Sale Qty Line Note DiveItem

40 2005-08-31 - SLIDE 40IS 257 – Fall 2005 Diveshop Entities: BIOSITE Species No Site No BioSite

41 2005-08-31 - SLIDE 41IS 257 – Fall 2005 Diveshop Entities: SHIPVIA Ship Via Ship Cost ShipVia

42 2005-08-31 - SLIDE 42IS 257 – Fall 2005 DiveShop ER Diagram Customer No ShipVia Dest Sites BioSite ShipVia ShipWrck BioLife DiveStok DiveItem DiveOrds DiveCust Customer No ShipVia Order No Order No Item No Item No Destination Name Destination Species No Site No Destination no Site No Destination no Species No Site No 1 1 1 1 1 1 1/n 1 1 n n n n n n n n 1

43 2005-08-31 - SLIDE 43IS 257 – Fall 2005 Diveshop Additions Over the course of the semester we (mostly me) will be expanding and modifying the Diveshop to include additional data (and entities) Most likely inclusions are charter boat bookings for particular destinations, boat operators (captains) and dive masters

44 2005-08-31 - SLIDE 44IS 257 – Fall 2005 Assignment 1 (also online) How many tons was the sunken ship Delaware? What is customer Karen Ng’s address? At what destinations and sites might you find a Spotted Eagle Ray? Where (what destination) is the site Palancar Reef? What sites might Lorraine Vega dive on her trip? Keith Lucas wants to see a shipwreck on his trip. Is he going to the right place? What equipment is Richard Denning getting? What is the cost of the equipment rental for Louis Jazdzewski

45 2005-08-31 - SLIDE 45IS 257 – Fall 2005 Assignment 1: cont. The Database is available on the course web site Download your own copy For each of the questions create a query in Access. Create a document (Word, etc.) containing –The query being answered –The results of your query cut and pasted from Access Due date Sept. 14


Download ppt "2005-08-31 - SLIDE 1IS 257 – Fall 2005 Database Life Cycle and Introduction to Access University of California, Berkeley School of Information Management."

Similar presentations


Ads by Google