Skip to main content

How do you architect a GMP pharma manufacturing data lakehouse?

A GMP manufacturing data lakehouse organizes OT historian time-series, ISA-⁠88 eBR phase events, LIMS QC assays and raw-material CoAs into immutable Bronze snapshots, batch-contextualized Silver tables and QA-approved Gold CPV datasets. Preserving sensor quality flags, exact UTC phase windows and versioned lot genealogy turns fragmented plant systems into an inspection-ready analytics backbone under 21 CFR 211.68 and FDA Stage 3 CPV.Checked against its sources on 4 December 2026. How these answers are made

1Why generic enterprise data lakes fail GMP manufacturing audits.

Most biopharma sites already own an enterprise data warehouse or cloud data lake, yet MSAT engineers still spend weeks stitching together AVEVA PI Historian exports, Emerson DeltaV event frames, MES/eBR PDFs, LIMS CoAs and ERP material lots in Excel before every Annual Product Quality Review (APQR). Generic IT lakes fail on the plant floor for three reasons: they drop ISA-⁠88 batch-unit-phase context, overwrite mutable source rows without version history, and silently interpolate across bad-quality OT sensor gaps.

Under 21 CFR 211.68(b) and EU GMP Annex 11, computerized data transfers must preserve accuracy, audit lineage and verified completeness,1,2 while FDA’s Stage 3 Continued Process Verification guidance expects manufacturers to evaluate intra-batch and inter-batch variation across raw materials, process parameters and product quality attributes continuously.3

2The three-layer GMP Medallion lakehouse architecture.

Borrowing ISA-⁠88 (batch/unit/phase hierarchy) and ISA-⁠95 (enterprise-to-control lot genealogy) gives biopharma data engineers a clean schema across every site and CDMO:4,5

Table 1. Medallion lakehouse design tailored to regulated biopharma manufacturing and Stage 3 CPV.
Medallion layerSource systems & storage formatRequired GxP & data-engineering controls
Bronze (Immutable Raw Zone)Read-only extracts from AVEVA PI / DeltaV, eBR/MES APIs, LIMS, CDS (Empower/Chromeleon) and ERP lots stored as append-only Parquet + original source filesKeep raw UTC timestamps, explicit PI Good / Bad / Questionable status flags, source entity IDs, published record versions and SHA-⁠256 ingest manifests; never overwrite historical snapshots6
Silver (Contextualized Batch & Genealogy Zone)Harmonized tables keyed by site_id, product_code, batch_id, unit_id, isa88_phase_occurrence_id, material_lot_id and canonical UCUM engineering unitsResolve batch-to-equipment UTC bounds from eBR/DCS phase events, align offline LIMS/BioProfile timestamps to bioreactor elapsed hours and enforce explicit usable-duration coverage metrics alongside every phase summary
Gold (Curated CPV, APQR & ML Feature Zone)Validated wide tables for Stage 3 CPV control charts, Golden Batch MVDA trajectories, APQR capability summaries and read-only ML feature viewsPin transformation code via Git commit SHA + dbt/SQL tests, expose Released vs Invalidated batch status explicitly, log every Gold table build for reproducibility and separate exploratory sandboxes from QA-approved reporting views

3Solving the four hardest pharma data-engineering joins.

  1. Joining continuous OT tags to discrete ISA-⁠88 batch phases. A temperature tag (BR201_TEMP_PV) has no meaning without knowing which batch and phase occupied Bioreactor 201 between 2026-09-14T08:12:00Z and 2026-09-28T14:40:00Z. Always materialize an explicit phase_occupancy bridge table from closed eBR or DeltaV batch events before slicing historian curves (see linking DeltaV and PI Historian to GMP batch records).
  2. Multi-tier raw material and seed-train genealogy. One commercial biologic drug-substance batch often consumes three media powder lots, two resin cycles, four single-use bags and an N-⁠1 seed train that split across two production vessels. Represent parent-child lot links as a directed acyclic graph (DAG) in Silver rather than flat wide columns so MSAT can run one-click upstream supplier-lot impact queries.
  3. Unifying sponsor and CDMO data without PDF re-typing. When commercial or clinical manufacturing runs at external CDMOs, ingest structured batch/CoA extracts (CSV, JSON, ASM or API payloads) into the same Silver contract rather than waiting for 400-page scanned PDFs at campaign end.
  4. Preventing silent unit and OOS/invalidation drift. Store raw analytical units verbatim alongside normalized SI/UCUM values, and keep invalidated lab injections flagged (status = Invalidated, linked to OOS investigation ID) rather than deleting rows, preserving full ALCOA+ traceability.6

4Build vs buy: lakehouse, CPV tools or unified GxP platform.

Teams evaluating Skyland PIMS, Seeq, BIOVIA Discoverant or a custom Databricks/Snowflake lakehouse face a classic trade-off: pure analytics layers still require fragile ETL pipelines from disconnected paper/legacy eBR, LIMS and QMS silos, whereas unifying batch execution, lab data and quality events on an API-first GxP platform delivers structured Silver-ready records at the moment of manufacture. Compare options across our bioprocess data analytics and CPV software guide and test deterministic Stage 3 SPC rules in the CPV Control Chart Calculator.

5How it runs in Seal.

Most pharma data lakehouse projects burn a year trying to scrape clean batch context out of legacy MES PDFs and disconnected LIMS tables. Seal captures electronic batch records, QC LIMS results, raw-material genealogy and historian phase summaries as typed, versioned entities from day one, streaming directly into your warehouse or Python/SQL CPV pipeline via Seal’s v3 API and Python SDK.

Batch record B-041 in Seal, post-mix hold and transfer: the instruction to keep the product at 2 to 8 °C and transfer it within 45 minutes of the mix, three process readings recorded at 10:12, 10:42 and 11:04, and the linked sample IPC-041 and investigation DEV-018. Fictional records.Open the whole screen in a new tab
Figure 1. B-⁠041 in Seal: the post-mix hold’s readings at mix, hold check and transfer, against its 45-minute limit.
Watch your own SOP run in Seal

AQuestions and answers

Does a pharma analytics lakehouse need to be 21 CFR Part 11 validated?

If the lakehouse serves solely as a read-only exploratory sandbox for MSAT engineers while validated source systems remain the system of record, focus validation on lineage and access controls. Once Gold tables drive regulated CPV decisions, APQR tables or automated batch release checks, validate those pipelines under risk-based FDA CSA controls.

Why are ISA-88 phase occurrence IDs essential in a biopharma lakehouse?

Time-series historian tags record values by equipment sensor and clock time, not batch number. ISA-⁠88 phase occurrence IDs bind exact UTC start and end windows to each batch step, equipment train and pause/resume interval so downstream SPC and MVDA models slice clean trajectories.

Should raw historian files be deleted once Silver tables are built?

No. Retain immutable Bronze extracts and quality flags so QA or regulatory inspectors can trace any aggregated CPV mean, minimum or coverage metric back to the exact unedited sensor readings.

How does a pharma lakehouse compare to buying Skyland PIMS or Seeq?

Skyland PIMS focuses on turnkey GMP batch-genealogy CPV tables and Seeq focuses on interactive time-series workbench analytics, whereas a cloud lakehouse gives data science teams full SQL/Python flexibility at the cost of owning more schema engineering and validation maintenance.

References6 sources

References

  1. 121 CFR 211.68, Automatic, mechanical, and electronic equipment, eCFR. https://www.ecfr.gov/current/title-21/section-211.68 (read 4 December 2026)
  2. 2EudraLex Volume 4, Annex 11: Computerised Systems, European Commission, January 2011, sections 5 and 7. https://health.ec.europa.eu/system/files/2016-11/annex11_01-2011_en_0.pdf (read 4 December 2026)
  3. 3Process Validation: General Principles and Practices, Guidance for Industry, FDA, January 2011, Stage 3 Continued Process Verification. https://www.fda.gov/media/71021/download (read 4 December 2026)
  4. 4ISA-⁠88 Batch Control Standards, International Society of Automation (ISA). https://www.isa.org/standards-and-publications/isa-standards/isa-standards-committees/isa88 (read 4 December 2026)
  5. 5ISA-⁠95 Enterprise-⁠Control System Integration Standards, International Society of Automation (ISA). https://www.isa.org/standards-and-publications/isa-standards/isa-standards-committees/isa95 (read 4 December 2026)
  6. 6Data Integrity and Compliance With Drug CGMP: Questions and Answers, Guidance for Industry, FDA, December 2018. https://www.fda.gov/media/119267/download (read 4 December 2026)

See your process in Seal.

Bring a procedure or a recurring problem. See how your team configures it with Neil and improves the next run.