Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,766
    • Issues 44,766
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,330
    • Merge requests 1,330
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #32565
You need to sign in or sign up before continuing.
Closed
Open
Issue created Sep 23, 2019 by Andreas Brandl@abrandl🌴Contributor

Removal of `ci_build_trace_sections` application code

The table ci_build_trace_sections is currently at about 220 GB including indexes and growing. We don't have a retention strategy expiring data. We are already running into int4 overflow issues in #23924 (comment 220249448), but that is a separate issue.

The table currently grows at about 20 GB per month, including indexes.

The question here is: Can we expire (delete) data from ci_build_trace_sections at some point, e.g. after a year or so?

Chatops is currently the only consumer of that data AFAIS and per #23924 (comment 220342719). Apparently nobody is using this data at the moment.

Screenshot_from_2019-09-23_13-29-33

Proposal

  • Remove the use of parse_trace_sections! in BuildFinishedWorker
  • Remove Ci::ExtractSectionsFromBuildTraceService
  • Remove BuildTraceSection, BuildTraceSectionName and relative associations from project, build, etc.
Edited Jul 29, 2021 by Allison Browne
Assignee
Assign to
Time tracking