gitlab-org--gitlab-foss/changelogs/unreleased/sh-remove-import-columns-from-projects.yml
Stan Hu 6c0bc9abdd Remove import columns from projects table
In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21497, we
migrated all project import data into a separate table,
`project_import_data`.  In addition, we also added:

```
ignore_column :import_status, :import_jid, :import_error
```

In https://gitlab.com/gitlab-com/gl-infra/production/issues/908, we
observed some of these `import_error` columns consumed megabytes of
error backtraces and caused slow loading of projects whenever a `SELECT
* from projects` query loaded the row into memory.

Since we have long migrated away from these columns, we can now drop
these columns entirely.
2019-06-19 13:30:41 -07:00

5 lines
100 B
YAML

---
title: Remove import columns from projects table
merge_request: 29863
author:
type: performance