Purging MDW data¶
This operation allows you to delete all or part of the data in the data warehouse. The progress and completion of this operation can be tracked on the "Monitoring Messages" page.
The execution of this operation can be requested by opening an Incident Request to Siemens Support Services.
A purge procedure is also available to remove old time-based data in a past period (for example the last 100 days) from the manufacturing data warehouse entity schema (bm20 tables) or from smart views. Typical examples of time-based data are: equipment states, production counters, equipment speed (equipment capacity), process variables (tags). Time-based data typically creates a high volume in the data warehouse and therefore a purge procedure may be necessary to keep the database size (and related cost) under control.
Target Users¶
The command is enabled only if the current user has the "Analytical solution authoring" role.
Prerequisites¶
- You have executed a deploy of the Environment.
- You must stop the Flows that load data from the sites for which you want to execute the purge.
Important recommendations¶
- Before you launch a purge operation, you must check that no other operation, such as a deploy or an initial or incremental flow, is running at the same time. If that is the case, wait for this operation to end before starting the purge.
- If you have scheduled any incremental flows, it it strongly recommended that you disable them in Opcenter Intelligence Connect Cloud before launching the purge, because their execution might overlap.
- If you want to purge data for the Insights Hub OEE and Insights Hub IoT data sources, after the purge operation you have to perform a deploy of the Environment.
Procedure¶
- On the "Environments" page, select the Environment.
- Click "Purge Database".
- Select the site for which you want to clean data or select "All Sites".
- (Optional) If you have mapped Insights Hub data, select "Purge equipment mapping" if you want to delete the information configured on the "Equipment Mapping" page.
- Click "Start".