Database Design Process
description
Transcript of Database Design Process
![Page 1: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/1.jpg)
IST 210
Database Design Process
IST 210, Section 1Todd S. Bacastow
January 2004
![Page 2: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/2.jpg)
2
IST 210
Welcome to Your New Home!
![Page 3: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/3.jpg)
3
IST 210 Key points Database design must reflect the information system
of which the database is a part 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 Database Life Cycle (DBLC)
There are two general design strategies exist: top-down vs. bottom-up design centralized vs. decentralized design
![Page 4: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/4.jpg)
4
IST 210
Data Raw facts stored in databases Need additional processing to
become useful Information
Required by decision maker Data processed and presented in a
meaningful form Transformation
Changing Data into Information
![Page 5: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/5.jpg)
5
IST 210
Database Carefully designed and constructed
repository of facts Part of an information system
Information System Provides data collection, storage, and
retrieval Facilitates data transformation Includes people, hardware, and software
Software: Database(s), Application programs, and Procedures
The Information System
![Page 6: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/6.jpg)
6
IST 210
System Analysis Establishes need and extent of an information
system Refer to Recommended Requirements Gathering Practices
We are NOT DOING A SYSTEM REQ’T ANALYSIS!! Systems development
Process of creating information system Database development
Process of database design and implementation Creation of database models Implementation
Creating storage structure Loading data into database Providing for data management
The Information System (Con’t.)
![Page 7: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/7.jpg)
7
IST 210
Systems Development Life Cycle
System Analysis
DatabaseOrganization
(IST 210)
![Page 8: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/8.jpg)
8
IST 210
Phase 2
Phase 1
Phase 3
Phase 4
Phase 5
Phase 6
Database Lifecycle (DBLC)
DatabaseOrganization
(IST 210)
![Page 9: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/9.jpg)
9
IST 210
Phase 1: Database Initial Study Purposes
Analyze company situation Operating environment Organizational structure
Define problems and constraints Define objectives Define scope and boundaries
![Page 10: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/10.jpg)
10
IST 210 Initial Study Activities
![Page 11: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/11.jpg)
11
IST 210 Phase 2: Database Design Most Critical DBLC phase Makes sure final product meets
requirements Focus on data requirements Subphases
I. Create conceptual design II. DBMS software selection III. Create logical design IV. Create physical design
![Page 12: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/12.jpg)
12
IST 210 Two Views of Data
![Page 13: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/13.jpg)
13
IST 210 I. Conceptual Design Data modeling creates abstract data
structure to represent real-world items High level of abstraction Four steps
Data analysis and requirements *Entity relationship modeling and
normalization* *Data model verification*
![Page 14: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/14.jpg)
14
IST 210
Data analysis and Requirements Focus on:
Information needs Information users Information sources
Data sources Developing and gathering end-user data
views Direct observation of current system Interfacing with systems design group
Business rules
![Page 15: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/15.jpg)
15
IST 210 Entity Relationship Modeling and Normalization
![Page 16: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/16.jpg)
16
IST 210 E-R Modeling is Iterative
![Page 17: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/17.jpg)
17
IST 210
Concept Design: Tools and Sources
![Page 18: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/18.jpg)
18
IST 210 Data Model Verification E-R model is verified against proposed
system processes End user views and required transactions Access paths, security, concurrency control Business-imposed data requirements and
constraints Reveals additional entity and attribute
details
![Page 19: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/19.jpg)
19
IST 210
E-R Model Verification Process
![Page 20: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/20.jpg)
20
IST 210
Iterative Process of Verification
![Page 21: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/21.jpg)
21
IST 210 II. DBMS Software Selection DBMS software selection is critical Advantages and disadvantages need
study Factors affecting purchasing decision
Cost DBMS features and tools Underlying model Portability DBMS hardware requirements
![Page 22: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/22.jpg)
22
IST 210 III. Logical Design Translates conceptual design into internal
model Maps objects in model to specific DBMS
constructs Design components
Tables Indexes Views Transactions Access authorities Others
![Page 23: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/23.jpg)
23
IST 210 IV. Physical Design Selection of data storage and access
characteristics Very technical More important in older hierarchical and network
models Becomes more complex for distributed systems Designers favor software that hides physical
details
![Page 24: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/24.jpg)
24
IST 210 Phase 3: Implementation and Loading
Creation of special storage-related constructs to house end-user tables Data loaded into tables Other issues
Performance Security Backup and recovery Integrity Company standards Concurrency controls
![Page 25: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/25.jpg)
25
IST 210
Phase 4: Testing and Evaluation
Database is tested and fine-tuned for performance, integrity, concurrent access, and security constraints
Done in parallel with application programming
Actions taken if tests fail Fine-tuning based on reference manuals Modification of physical design Modification of logical design Upgrade or change DBMS software or hardware
![Page 26: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/26.jpg)
26
IST 210 Phase 5: Operation Database considered operational Starts process of system evaluation Unforeseen problems may surface Demand for change is constant
![Page 27: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/27.jpg)
27
IST 210 Phase 6: Maintenance and Evaluation Preventative maintenance Corrective maintenance Adaptive maintenance Assignment of access permissions Generation of database access
statistics to monitor performance Periodic security audits based on
system-generated statistics Periodic system usage-summaries
![Page 28: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/28.jpg)
28
IST 210 DB Design Strategy Notes Top-down
1) Identify data sets 2) Define data elements
Bottom-up 1) Identify data elements 2) Group them into data sets
![Page 29: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/29.jpg)
29
IST 210 Top-Down vs. Bottom-Up
![Page 30: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/30.jpg)
30
IST 210
Centralized vs. Decentralized Design
Centralized design Typical of simple databases Conducted by single person or small team
Decentralized design Larger numbers of entities and complex
relations Spread across multiple sites Developed by teams
![Page 31: Database Design Process](https://reader036.fdocuments.us/reader036/viewer/2022062501/568167d5550346895ddd2c3c/html5/thumbnails/31.jpg)
31
IST 210 Decentralized Design