These are the configurations for each Gold instance. They are used by various Gold services, built into the container, and passed as arguments in the yaml files in the k8s-config repo.
These are SQL files that need to be executed manually to apply data retention policies on certain tables. We use Row-Level TTL to automatically delete expired data.
Data retention policies are implemented as configurations in the data layer rather than part of the application schema because:
expire_at
).Guidelines when defining policies for a specific instance.
ValuesAtHead
table is a “caching” table that requires a policy similar to LRU cache; the Expectations
table is a “core entity” that should retain all triaged records indefinitely and only delete overdue un-triaged ones.