Skip to content
GitLab
Explore
Sign in
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
!282
Something went wrong on our end
Optimization of notification_apis:
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Optimization of notification_apis:
notification_optimizations
into
develop
Overview
0
Commits
4
Pipelines
0
Changes
1
Merged
Bartek Wrona
requested to merge
notification_optimizations
into
develop
4 years ago
Overview
0
Commits
4
Pipelines
0
Changes
1
Expand
introduced reduced notification view, providing raw account and post IDs to eliminate joins to big tables before actual filtering
updated notification API functions to use faster view.
0
0
Merge request reports
Viewing commit
f81ba1b5
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
f81ba1b5
Added conditional drop of existing function
· f81ba1b5
Bartek Wrona
authored
4 years ago
hive/db/sql_scripts/notifications_api.sql
+
1
−
1
Options
@@ -41,7 +41,7 @@ END
$
BODY
$
;
DROP
FUNCTION
account_notifications
;
DROP
FUNCTION
IF
EXISTS
account_notifications
;
CREATE
OR
REPLACE
FUNCTION
public
.
account_notifications
(
_account
character
varying
,
Loading