This guide describes how to configure data retention on BigQuery
tables.
Depending on the Manufacturing Data Engine (MDE) operations log level a lot of data
may be stored in theoperations-logBigQuery table. Since MDE is using partitioned
tables you can manage retention as described in theManaging partitioned tablesguide.
Update the partition expiration example
You can use theALTER TABLESET OPTIONSstatement to update the expiration as
the following example shows:
ALTERTABLEmde_system.operations-logSETOPTIONS(-- Sets partition expiration to 30 dayspartition_expiration_days=30);
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-11 UTC."],[],[]]