Data Dictionary
A data dictionary is a centralized repository that documents every data element, data flow, data store, and process in a system. It provides detailed definitions that eliminate ambiguity and serve as a reference for analysts, designers, and developers throughout the project.
What a Data Dictionary Contains
| Component | Information Documented |
|---|---|
| Data Element | Name, alias, description, type, length, range, allowed values |
| Data Flow | Name, source, destination,็ปๆ elements |
| Data Store | Name, description, key,็ปๆ elements |
| Process | Number, name, description, input/output flows |
Notation Symbols
Symbol Meaning Example
----- ------- -------
= is composed of Name = First + Last
+ and Name = First + Middle + Last
[ ] or (choice) Gender = [Male | Female | Other]
{ } repetition Phone = 10{Digit}10
( ) optional element Middle = (MiddleName)
-- comment -- max 50 chars
Composite Example:
Customer = CustomerID + Name + Address + Phone
Name = FirstName + (MiddleName) + LastName
Address = Street + City + State + ZipCode
Phone = 1{Digit}10
Data Element Entry
Data Element: CustomerID
Alias: CustNo, Customer Number
Description: Unique identifier for each customer
Data Type: Integer
Length: 6 digits
Range: 100000 - 999999
Allowed Values: Any unique 6-digit number
Source: Auto-generated by system
Used In: Customer record, Order record
Data Flow Entry
Data Flow: OrderData
Description: Complete order information submitted by customer
Source: Customer (External Entity)
Destination: Process 1.0 (Process Order)
็ปๆ Elements:
- CustomerID
- ProductCode
- Quantity
- OrderDate
- ShippingAddress
Benefits of a Data Dictionary
- Ensures consistent naming and definition across the project
- Eliminates ambiguity about what data means
- Serves as a communication tool between team members
- Provides a foundation for database design
- Documents data validation rules
- Aids in impact analysis when requirements change
Automated Data Dictionaries
Many CASE tools and database management systems include automated data dictionary features. These tools maintain the dictionary alongside the actual database schema, ensuring documentation stays synchronized with the implementation.
Summary
The data dictionary is a critical reference document in SAD. By maintaining a complete, accurate, and current data dictionary, development teams ensure consistency, reduce errors, and provide a valuable resource for system maintenance.