Glossary

database schema

A database schema is the structured definition of how data is organized, related, and constrained within a database used by manufacturing and enterprise systems.

A database schema is the formal description of how data is structured inside a database. It defines the tables or collections, the fields within them, the data types, primary and foreign keys, indexes, and the rules that govern relationships and constraints between data elements.

In industrial and manufacturing environments, a database schema typically underlies systems such as MES, ERP, LIMS, historians, and quality management tools. It determines how production orders, batches, equipment states, parameters, alarms, quality results, and other operational data are stored and related so that applications and reports can retrieve and interpret the data consistently.

Key characteristics

  • Logical structure: Describes entities such as orders, materials, equipment, and events, and how they relate (for example one order to many batches).
  • Data definitions: Specifies field names, types (such as integer, date, varchar), allowed values, and default rules.
  • Constraints and relationships: Includes primary keys, foreign keys, uniqueness, and referential integrity rules that keep data consistent.
  • Physical considerations: May include indexing and partitioning choices that affect performance and storage but not the business meaning of the data.

Use in regulated and integrated environments

In regulated manufacturing, the database schema is a critical part of how systems implement data integrity, traceability, and alignment with reference models or standards. For example, a team might design a schema so that production events and KPIs follow concepts defined in standards such as ISA-95 or ISO 22400, while still fitting the plant architecture and legacy MES/ERP/QMS systems.

Standards that define terms, models, and KPIs generally do not prescribe a specific database schema or physical data model. Implementers must translate those conceptual models into a concrete schema that fits their technology stack, validation approach, and integration requirements.

Common confusion

  • Database schema vs. data model: A data model is the higher-level conceptual design of data and relationships. A database schema is the concrete implementation of that model in a specific database technology.
  • Database schema vs. database instance: The schema defines the structure. The instance is the actual data stored according to that structure.

Operational context

Operational teams encounter the database schema during activities such as integrating MES and ERP, designing reports and dashboards, mapping OT data to IT systems, or validating changes to production or quality systems. Changes to the schema, such as adding a column for a new quality attribute or introducing a new relationship between equipment and recipes, typically require impact assessment, testing, and controlled deployment in regulated settings.

Related FAQ

Let's talk

Ready to See How C-981 Can Accelerate Your Factory’s Digital Transformation?