Common Field Types: Customer Id Lastname Firstname Address City State Zipcode
Common Field Types: Customer Id Lastname Firstname Address City State Zipcode
Customer ID
LastName
FirstName
Primary Key
Address
City
Foreign Key
Order ID
Customer ID
State
Zipcode
Descriptive
Fields
OrderDate
Referential Integrity
Field Sequencing
Customer ID
State
Address
LastName
Zipcode
City
FirstName
FirstName
Address
City
State
Zipcode
WRONG
RIGHT
Customer ID LastName
Product ID
Description
Qty On Hand
Qty On Order
Reorder Qty
Vendor ID
Vendor ID
10
11
12
Vendor ID
13
14
Potentially
Wasted
Storage
Space
Product ID
Description
Qty On Hand
Qty On Order
Reorder Qty
Vendor ID
10
11
Indicator for
number of
Vendor Fields
Blocking Factor
Sector
Without
Blocking
Record
1
512 bytes
Sector
With
Blocking
Record
1
Record
2
Record
3
Record
4
Record
5
Record Spanning
Sector 1
Record
1
Record
2
Record
Record
Record
Unused
Storage
Space
4
3
5
Record
6
Part 1
512 bytes
Sector 2
Record
6
Part 2
Record
7
Record
8
Record
9
Record
10
Record
11
Part 1
Record 1
Record 2
Record 3
Record 4
Record 5
Record 6
432751
472982
475631
599874
763216
76327
Track Index
500
127
1000
275
1500
500
Master Index
Track 1
Track 2
661
703
717
1500
1800
583
2501
2200
729
722
3317
2501
1000
726
719
723
727
729
2873
1179
3161
1320
3317
1500
Track 3
Assume a PRODUCT file with 4, 500 unique records. The storage allocation for this
file is equal to the number of records, therefore 4,500 storage slots will be needed on
the media.
The primary key for records in this file is the PRODUCT_ID field.
The location for PRODUCT_ID 734171 can be computed as follows:
Relative slot address = 1 + Remainder of
ORDER
ORDER
FILE
FILE
ORDERED_ITEM
ORDERED_ITEM
FILE
FILE
PRODUCT
PRODUCT
FILE
FILE
ACADEMIC
ACADEMIC
ACTIVITY
ACTIVITY
FILE
FILE
CURRENT
CURRENT
COURSE
COURSE
FILE
FILE
FINANCIAL
FINANCIAL
ACTIVITY
ACTIVITY
FILE
FILE
Field 2
Field 3
Field 4
Field 5
Record 1
Record 2
Record 3
Record 4
Record 5
Record 6
Record 7
Record 8
Field 6
Object Class A
Object Class C
Object Attributes
Object Attributes
Object Class B
Object Attributes
Methods
Methods
Methods
Description
CHAR(n)
DECIMAL(m,n)
VARCHAR
Signed numerical data with a total number of digits, m, and n number of digits
to the right of the decimal point.
Alphanumeric character array of variable length.
INTEGER
SMALLINT
DATE
Date and time including appropriate validity checks (i.e. 4-31 not allowed).
NUMBER
Real number
FLOAT(m,n)
LOGICAL
LONG
LONGRAW
Description
Field Name
Formal name for the field that uniquely identifies it from all others.
Data Type
Units
Maintenance
Missing Data
Check Digit
Algorithm for calculate and verifying any check digits used in this field.
Formula
Coding
Domain/Range
Referential Integrity
Data Owner
Description
Default Value
Range Control
Picture Control
Explanation
NO RESTRICTION
DELETE:CASCADE
DELETE:RESTRICT
DELETE:SET NULL
Transaction File
Document File
Table Look-Up File
Audit File
Archive File
Work File
Description
Contains records related to business data that is relatively permanent.
Once a record is entered, it tends to remain indefinitely. Data values may
change (i.e. CUSTOMERS, PRODUCTS, INVOICES, SUPPLIERS).
Contains records that describe business events which can occur on a dayto-day basis. Data tends to have a limited useful life and are usually moved
to an archival file after a predetermined period.
Contains stored copies of historical data in document form such that the
overhead associated with recreated or reprocessing the document is
eliminated.
Contains reference data used to validate field values and to maintain
consistency throughout the database (INCOME TAX TABLES, POSTAL
CODE TABLES).
Contains records of updates to other files in the database in case production
files are damaged and require reconstruction. Data can be used with
records in archival files to recover or restore damaged files or lost data.
Contains records that have been deleted from active transaction files but
require retention for an indefinite period.
Volumetric Analysis
FIELD
SIZE (bytes)
Invoice_ID
Invoice_Date
Customer_ID
Product_ID
Quantity
Unit_Price
Salesman_ID
7
8
6
9
3
6
4
Record Size
Record Overhead
Total Record Size
43
25%
53.75
67,000
3,601,250
16%
5,621,176