Schema Alignment Guide
Step-by-step guide for completing the database schema alignment introduced in Engage 17.2.0, including the rewritten analytics data cleanup system.
Analytics data cleanup changes
New configuration settings
{
"Engage": {
"Analytics": {
"DataCleanup": {
"Enabled": true,
"FirstRunTime": null,
"StartupDelay": "00:05:00",
"Interval": "1.00:00:00",
"CommandTimeout": 1200
}
}
}
}Setting
Description
Default
How the cleanup pipeline works
Database schema alignment
Why this is needed
Post-upgrade steps
1
2
3
4
Monitoring
Downloading the scripts
DeleteAnalyticsDataAfterDays value based on your data.CompleteAlignSchema.sql to clean up orphaned data and verify all foreign key constraints.EnsureDataConsistency.sql to add missing foreign keys, indexes, and constraints.Last updated
Was this helpful?