Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4aedca6a
Commit
4aedca6a
authored
Aug 12, 2020
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch '230437-usage-data-optimize-counts-terraform_reports' into 'master'"
This reverts merge request !37498
parent
f3dfa4f2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
26 deletions
+0
-26
changelogs/unreleased/230437-usage-data-optimize-counts-terraform_reports.yml
...d/230437-usage-data-optimize-counts-terraform_reports.yml
+0
-5
db/post_migrate/20200811211536_add_index_to_ci_job_artifacts_for_terraform_reports_id.rb
...add_index_to_ci_job_artifacts_for_terraform_reports_id.rb
+0
-18
db/schema_migrations/20200811211536
db/schema_migrations/20200811211536
+0
-1
db/structure.sql
db/structure.sql
+0
-2
No files found.
changelogs/unreleased/230437-usage-data-optimize-counts-terraform_reports.yml
deleted
100644 → 0
View file @
f3dfa4f2
---
title
:
Optimize counts.terraform_reports usage ping counter
merge_request
:
37498
author
:
type
:
performance
db/post_migrate/20200811211536_add_index_to_ci_job_artifacts_for_terraform_reports_id.rb
deleted
100644 → 0
View file @
f3dfa4f2
# frozen_string_literal: true
class
AddIndexToCiJobArtifactsForTerraformReportsId
<
ActiveRecord
::
Migration
[
6.0
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
INDEX_NAME
=
'index_ci_job_artifacts_id_for_terraform_reports'
disable_ddl_transaction!
def
up
add_concurrent_index
:ci_job_artifacts
,
:id
,
where:
'file_type = 18'
,
name:
INDEX_NAME
end
def
down
remove_concurrent_index_by_name
:ci_job_artifacts
,
INDEX_NAME
end
end
db/schema_migrations/20200811211536
deleted
100644 → 0
View file @
f3dfa4f2
d4ea24092289f6dba294c502b8ce89748165973fb2d7989fa7615433599a0c0c
\ No newline at end of file
db/structure.sql
View file @
4aedca6a
...
...
@@ -19198,8 +19198,6 @@ CREATE UNIQUE INDEX index_ci_instance_variables_on_key ON public.ci_instance_var
CREATE
INDEX
index_ci_job_artifacts_for_terraform_reports
ON
public
.
ci_job_artifacts
USING
btree
(
project_id
,
id
)
WHERE
(
file_type
=
18
);
CREATE
INDEX
index_ci_job_artifacts_id_for_terraform_reports
ON
public
.
ci_job_artifacts
USING
btree
(
id
)
WHERE
(
file_type
=
18
);
CREATE
INDEX
index_ci_job_artifacts_on_expire_at_and_job_id
ON
public
.
ci_job_artifacts
USING
btree
(
expire_at
,
job_id
);
CREATE
INDEX
index_ci_job_artifacts_on_file_store
ON
public
.
ci_job_artifacts
USING
btree
(
file_store
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment