Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hivemind
Merge requests
!353
Notification API performance optimizations
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Notification API performance optimizations
bw_notification_cache
into
develop
Overview
0
Commits
3
Pipelines
0
Changes
9
Merged
Bartek Wrona
requested to merge
bw_notification_cache
into
develop
4 years ago
Overview
0
Commits
3
Pipelines
0
Changes
9
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
82c0eb71
3 commits,
4 years ago
9 files
+
126
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
hive/db/sql_scripts/upgrade/upgrade_runtime_migration.sql
+
17
−
0
Options
@@ -108,6 +108,23 @@ END
$
BODY
$
;
COMMIT
;
START
TRANSACTION
;
DO
$
BODY
$
BEGIN
IF
EXISTS
(
SELECT
*
FROM
hive_db_data_migration
WHERE
migration
=
'Notification cache initial fill'
)
THEN
RAISE
NOTICE
'Performing notification cache initial fill...'
;
SET
work_mem
=
'2GB'
;
PERFORM
update_notification_cache
(
NULL
,
NULL
,
False
);
DELETE
FROM
hive_db_data_migration
WHERE
migration
=
'Notification cache initial fill'
;
ELSE
RAISE
NOTICE
'Skipping notification cache initial fill...'
;
END
IF
;
END
$
BODY
$
;
COMMIT
;
START
TRANSACTION
;
TRUNCATE
TABLE
hive_db_data_migration
;
Loading