Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 1: The Database Environment

Similar presentations


Presentation on theme: "Chapter 1: The Database Environment"— Presentation transcript:

1 Chapter 1: The Database Environment

2 DATA Database

3 Database INFORMATION 1258-3696-5571-0014 MasterCard 07/04
Visa Card O1/02 Discover 07/02 Database INFORMATION

4 Metadata Database Field Name: MasterCardNum Field Type: Text
Field Size: 19 Field Description: Unique identifier for each MasterCard Customer Database

5 Entities Database Customer Product Employee Invoice Department
Entities Become Tables Database

6 Enterprise Data Model Database Customer Product Places Has
Is Placed by Order Inventory Contains Is Contained In

7 Customer Database LastName FirstName Address City State Zip
Attributes are field names Database

8 Homework Database Zero Tolerance Policy Lab Assignment
Lecture Assignment Database

9 Chapter 2: Database Development Process

10 Enterprise Data Model Database General Information
Overall Picture of Organization Top-Down Approach Database

11 Information Systems Architecture
Six key components: Data Processes Network People Events / point of time Reasons Database

12 Information Engineering
Four Main Steps: Planning Analysis Design Implementation Database

13 Information Engineering Planning Phases
3 Steps: Identify strategic planning factors Identify corporate planning objects Develop enterprise model Database

14 Identify Strategic Planning Factors
Goals Mission statement Corporate Vision Critical success factors Problem areas Database

15 Identify Corporate Planning Objects
Organizational units Organizational locations Business functions Entity types Information systems Database

16 Develop Enterprise Model
Functional Decomposition Entity-relationship diagram Planning Matrix (traceable information) Database

17 SDLC Database Project Identification & Selection
Project Initiation & Planning Analysis Logical Design Physical Design Implementation Maintenance Database

18 SDLC Pretty Paula Always Lets People Imitate Me Database

19 Chapter 3: Entity-Relationship Model
Database

20 Data Modeling Importance
3 Reasons: Data Integrity Data is central role of Information System Stable information Database

21 Entity Database Name of database table All Caps In rectangle Noun
Singular Database ENTITY

22 Weak Entity Database EMPLOYEE Has DEPENDENT

23 Relationship Database Diamond Verb Shows action
Capital Letter followed by lower case Must connect to Entity Relationship Database

24 Relationship Cardinality
Mandatory One Database Mandatory Many Optional One Optional Many

25 Relationship Degrees Binary Unary Database Ternary

26 Attribute Database Characteristic of entity Oval Shape Singular
Capital Letter followed by lower case Primary Key is underlined Field names of table Database Attribute

27 Attribute Types Database Attribute Multivalued Attribute
Derived Attribute

28 Composite Attribute Address Database EmployeeID EmployeeName EMPLOYEE

29 Cardinality Constraints
Minimum cardinality -smallest amount of relationships between the two entities Maximum cardinality -largest amount of relationships between the two entities Database

30 Chapter 4: Enhanced ER Model
Database

31 Subtypes UNDERGRADUATE Database d FRESHMEN JUNIOR SOPHOMORE SENIOR

32 Generalization Database Bottom-Up Process
Take a general entity with common attributes Define specific attributes for each subtype Database

33 Specialization Database Top-Down Process
Take a very specialized entity with all of its attributes Define distinct attributes for each subtype Database

34 Completeness Constraints
Total Specialization Double line connecting entity to subtype circle Either one subtype or the other subtype Partial Specialization Single line connecting entity to subtype circle Partial overlap but not completely the same subtypes Database

35 Disjointness Constraints
Disjoint Rule Either an entity is one type or another subtype at this point in time Place a “d” in subtype circle Overlap Rule An entity can be both subtypes in one point in time Place a “o” in subtype circle Database

36 Subtype Discriminator
An attribute of an entity which defines which subtype this instance belongs to Place a definition beside subtype circle Place discriminator in quotation marks above each subtype relationship Database

37 Root Database Main entity at the top of a hierarchy For example:
Page 140-PATIENT Page 141-EMPLOYEE Page 142-PART Page 144-PERSON Database

38 Business Rules Database
Unique business rules which apply to a specific organizations’ database Two Types: Structural constraints Operational constraints Database

39 Structural Constraints
Derived Facts Defined in repository Built into the database Example Page 149 ER Diagram similar to your project Database

40 Operational Constraints
Collection of rules inside the repository One relationship constricts the actions of another relationship Database R

41 Database


Download ppt "Chapter 1: The Database Environment"

Similar presentations


Ads by Google