Reference data
Reference data is relatively stable information that provides baseline values, valid categories, or context for an application.
Unit Testing Principles, Practices, and Patterns
Reference data is database data that must be prepopulated for an application to operate and cannot be modified by that application.
- How it is used
- Classifies database contents so essential application data receives schema-level delivery and lifecycle management.
- How deep it goes
- Defines the distinction, demonstrates a foreign-key example, and specifies migration and test-cleanup rules.
- Examples
- Uses CRM user types and a test deletion script that removes regular data while preserving reference data.
- What you can do after
- Operate/configure database delivery by placing reference-data changes in migrations and excluding reference rows from test cleanup.
Read how Unit Testing Principles, Practices, and Patterns explains reference data →
Event Processing in Action
Reference data is information that event-processing agents can consult during processing but that the event-processing system does not maintain.
- How it is used
- Provides external information for enriching or cleansing events during processing.
- How deep it goes
- Defines reference data and traces a keyed lookup from an input event to an enriched output event.
- Examples
- Uses store profiles to add a neighborhood and minimum driver ranking to a delivery request.
- What you can do after
- Evaluate how a reference-data lookup can add missing attributes to an event.
Read how Event Processing in Action explains reference data →
Also covered in
Related concepts
- operational datacontrasts with · Information generated or updated through the routine activities, transactions, events, or changing states of an organization, system, or process.
- schemapart of · A data schema is a formal specification of the structure, fields, types, relationships, and constraints of data.
- specificationincludes · A specification is a description of the requirements, expected behavior, properties, interfaces, or constraints that a system or component is expected to satisfy.
- parameterincludes · A parameter is a value or named input that specifies or influences the behavior, computation, or output of a function, model, or system.
Questions about reference data
What is reference data?
Reference data is relatively stable information that provides baseline values, valid categories, or context for an application.
Which Manning books explain reference data?
Unit Testing Principles, Practices, and Patterns and Event Processing in Action.
What is the difference between reference data and operational data?
Reference data is relatively stable information that provides baseline values, valid categories, or context for an application. Information generated or updated through the routine activities, transactions, events, or changing states of an organization, system, or process.
What kinds of reference data are there?
Kinds of reference data include asset hierarchy, maintenance procedure, specification and parameter.
What is reference data part of?
Reference data is part of schema. A data schema is a formal specification of the structure, fields, types, relationships, and constraints of data.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

