Database Lifecycle
Database Lifecycle
Figure 6.3
Figure 6.4
What is the organizations general operating environment, and what is its mission within that environment? What is the organizations structure?
Define Problems and Constraints
How does the existing system function? What input does the system require? What documents does the system generate? How is the system output used? By Whom? What are the operational relationships among business units? What are the limits and constraints imposed on the system?
Budget
Hardware and software
Figure 6.6
Four Steps:
Data analysis and requirements Entity relationship modeling and normalization Data model verification Distributed database design
Developing and gathering end user data views Direct observation of the current system: existing and desired output Interface with the systems design group
The designer must identify the companys business rules and analyze their impacts.
A Composite Entity
Figure 6.7
Figure 6.8
Figure 6.9
Unless the entity details are precisely defined, it is difficult to evaluate the extent of the designs normalization.
Table 6.3
Figure 6.10
If the database process is to be distributed across the system, the designer must also develop the data distribution and allocation strategies for the database.
Figure 6.11
PROF_ID
Is a valid professor identification number. Type: numeric Range: low value = 1,000 high value =2,000 Display format: 9999 Length: 4 Is a valid professor last name. Type: character Display format: XXXXXXXXXXXXXXX Length: 15 Is a valid phone number. Type: character Display format: 999-999-9999 Length: 12 Is a valid class code. Type: numeric Range: low value = 1,000 Display format: 9999 Length: 4
PROF_LNAME
PROF_PHONE
CLASS_CODE
CLASS_SECTION
Is a valid is a valid class section number. Type: numeric Range: low value = 10 high value = 99 Display format: 99 Length: 2 Is a valid day code. Type: character Valid entries: MWF, TTh, M, T, W, Th, F Display format: XXX Length: 3 Is a valid time. Type: character Display format: 99:99 (24-hour clock) Display range: 00:01 to 24:00 Length: 5
CLASS_DAYS
CLASS_TIME
Table 6.4
Assign access rights to the table spaces and the tables within specified table spaces.
Load the data.
Figure 6.12
Figure 6.13
Table 6.5
Programmers use database tools (e.g., report generators, screen painters, and menu generators) to prototype the applications during the coding of the programs.
Options to enhance the system if the implementation fails.
Figure 6.14
Figure 6.16
Figure 6.17