An error occurred while fetching the assigned milestone of the selected merge_request.
Create partitioned CI component usage table
2 unresolved threads
2 unresolved threads
Compare changes
Files
23- Leaminn Ma authored
Adds a new partitioned table p_catalog_resource_component_usages. This table will track when a CI component is included in a project's pipeline. Only unique records of component-project-used_date are inserted. This data will be used to display component usage popularity aggregated by component or catalog_resource per 30 day rolling window. This table creates a new partition every 30 days. For now, the table will drop partitions with data older than 1 year. This duration will likely be reduced in a follow up issue. Changelog: added
+ 65
− 0