Compatibility Mode
Compatibility Mode
BSc in BS i MIS
Handout 2 : Database Design Life Cycle, Database Architecture and Database Types rch tecture ypes *The lecture slides are slides of Dr Prasad Wimalaratne with minor The Dr.Prasad modifications.
Overview
Database design must reflect the information system of which the database is a part y p Information systems undergo evaluation and revision within a framework known as the Systems Development Life Cycle (SDLC) Databases also undergo evaluation and revision within a framework known as the h f kk h Database Life Cycle (DBLC) T Two general design strategies exist ld i t t i i t
top-down vs. bottom-up design centralized vs. d t li d decentralized d i t li d design
2
User
(Someone doing real work )
Management (Organization)
4
American Airlines
American Airlines settled a lawsuit with Budget RentA-Car, Marriott Corp. and Hilton Hotels after the $165 million CONFIRM car rental and hotel illi t l dh t l reservation system project collapsed into chaos.
31% 30%
53% of all automation proj cts are more than 50% 5 a automat on projects ar mor 5 over budget 23% of all automation projects are more than 100% over b d t budget
7
22%
54% of all automation projects deliver less than half of the promised functionality
9
10
Information
Required by decision maker Data processed and presented in a meaningful form Transformation
12
Information System f
Provides data collection, storage, and retrieval Facilitates data transformation F ilit t d t t f ti Includes people, hardware, and software Software: Database(s), Application programs, and Database(s) programs Procedures
13
14
Data Warehouse
Serve
Data Marts Data Sources Data Storage OLAP Engine Front-End Tools
15
17
18
19
Systems Development
Process of creating information system
Database Development
Process of database design and implementation Creation of data models Implementation Creating storage structure Loading data into database Providing for data management
20
E t External Schemas lS h
Allow the same data to be used for multiple applications with each application having its own view of the data
21
22
23
Outputs? O
24
Goals
25
Feasibility Analysis
Design of Database System Design of programs that use and process the database
26
Implementation
27
Database Organization
28
Database Organization O i i
Specifying conceptual, external and internal database definitions Creating empty database files Implementing software applications
30
Application conversion
Converting applications to the new system l h
D fi problems and constraints Define bl d i Define objectives Define scope and boundaries
32
33
34
35
I. Conceptual Design
Data modeling creates abstract data structure to represent real-world items p High level of abstraction p Steps
Data analysis and requirements *Entity relationship modeling and normalization* *Data model verification*
36
Identify Relationships
Identify Attributes
BOTTOM-UP
Identify Relationships
Identify Dependencies
DATA
Collect Data
37
Serves as a stable description of the database contents Good understanding crucial for the users and designers g Diagrammatic description serves as an excellent communication tool
38
Data Sources
Developing and gathering end-user data views Direct observation of current system Interfacing with systems design group
B i Business R l Rules
39
40
41
Transaction Design
Design characteristics of known database transactions in a DBMS Types of Transactions
Retrieval Transactions Update Transactions Mixed Transactions
Update data Used to retrieve data
42
43
44
45
46
47
48
Start with a schema containing g basics abstractions and then combine or add to these abstractions
49
Mixed Strategy
U a combination of t d Use bi ti f top-down and b tt d bottom-up strategies
50
Schema Integration
Identifying correspondence and conflict among different schemas
Naming Conflicts
Synonyms: The same concept but different names Homonyms: Different concepts but same name
e.g. entity types CUSTOMER and CLIENT e.g. entity type PART as computer parts and furniture parts
Domain Conflicts: Attribute has different domains Conflict Among Constraints: Two schemas impose different constraints
Small number of distinct basic concepts f p Diagrammatic notation for representing conceptual schema h Formal unambiguous specification of data
52
53
E Economic Factors i F
Organizational Factors
54
2.ER to RELATIONAL MAPPING & APPLY THE RULES OF NORMALIZATION Logical Data Model
56
Becomes more complex for distributed systems Designers favor software that hides physical details
57
58
Transaction throughput
Result
I i i ld Initial determination of storage structures and i i f d access paths for database files
59
61
Phase 5: Operation
Database considered operational Starts process of system evaluation Unforeseen problems may surface Demand for change is constant
62
Bottom up Bottom-up
1) Identify data elements 2) Group them into d t sets G th i t data t
64
65
Decentralized design g
Larger numbers of entities and complex relations Spread across multiple sites Developed by teams
66
Decentralized Design
67
68
following lists. (List up the necessary entities ) DATA ITEMS, ITEMS set up ENTITIES and their ATTRIBUTES, and ATTRIBUTES identify the relationship among
List 1
Track No: 1 Participant code Track name: Managing information using Database Participant name Age Position Country Address
69
Country code
Country name
Track code
Track name
Participant code
70
71
References
72