Normalizing a Wide Well and Pipeline Telemetry Table Without Re-Ingesting History
An oilfield SCADA migration guide: reshape a wide sensor table into a narrow hypertable plus a metadata table, in place, with your dashboards still running.
Every new instrument the field commissions turns into a schema change for you. A casing-pressure transmitter goes on a pad, a flow computer lands on a gathering line, and your wide telemetry table gets another indexed column on top of years of readings. You already know the shape is wrong. What has kept you from fixing it is the cost of the fix: reshaping a table that size looks like re-ingesting all of that history, and the dashboards on top of it cannot go dark while you do.
This guide walks through that migration: moving a wide time-series table to a narrow schema in place, with history intact and dashboards still running. It leaves out the harder case of tags whose descriptors change over time,...
Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE