You are on page 1of 4

4.4.2.

3 Capacity Plan
The capacity plan shows the estimated number of records that are inserted into the
BRYCEC database. The proceeding tables individually show in details the capacity plan for each
entity of BRYCEC: patient, assessment, test result, image, doctor, medical record. A summary of
the capacity plan is also shown in Table 4.10.

Table 4.5 Capacity Plan for PatientRecord Entity

Attributes Data Type Size (Bytes)


patientRecordID Serial 4
dateStored Date 8
filename Character varying 20
patientID Integer 4
testTypeID Integer 4
doctorID Integer 4
staffID Integer 4
48

Table 4.6 Capacity Plan for TestType Entity

Attributes Data Type Size (Bytes)


testTypeID Serial 4
testTypeName Character varying 20
24

Table 4.7 Capacity Plan for Patient Entity

Attributes Data Type Size (Bytes)


patientID Serial 4
f_name Character varying 20
m_name Character varying 20
l_name Character varying 20

1
month Character varying 10
date Integer 4
year Integer 4
age Integer 2
height Character varying 4
weight Character varying 3
civilstatus Character varying 10
homeadd Character varying 30
telno Character varying 10
officeadd Character varying 30
telno2 Character varying 10
occupation Character varying 15
referredby Character varying 15
history Character varying 100
pertinentPE Character varying 100
findings Character varying 50
461

Table 4.8 Capacity Plan for Account Entity

Attributes Data Type Size (Bytes)


accountID Serial 4
f_name Character varying 20
m_name Character varying 20
l_name Character varying 20
username Character varying 20
password Character varying 20
104

Table 4.9 Capacity Plan for Doctor Entity

Attributes Data Type Size (Bytes)


doctorID Serial 4
specialization Character varying 20
accountID Integer 4
28
Table 4.10 Capacity Plan for Department Entity

Attributes Data Type Size (Bytes)


deptID Serial 4
deptName Character varying 20
24

Table 4.11 Capacity Plan for Staff Entity

Attributes Data Type Size (Bytes)


staffID Serial 4
deptID Integer 4
accountID Integer 4
12

Table 4.12 Capacity Plan for SystemAdmin Entity

Attributes Data Type Size (Bytes)


id Serial 4
accountID Integer 4
8

Table 4.13 Capacity Plan Summary


Entity Recorded Size Existing Data Frequency of Existing
(bytes) (entries) Input computed data
(bytes/entries)
PatientRecord 48 50 50 entries/qtr 3950
TestType 24 100 20 entries/qtr 24700
Patient 461 58 0 entries/qtr 7192
Account 104 10 10 entries/qtr 5540
Doctor 28 5 10 entries/qtr 105
Department 24 150 50 entries/qtr 8100
Staff 12
SystemAdmin 8

You might also like