Skip to content
Snippets Groups Projects
Commit 03417456 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Revamp finding projects by namespaces

By using a JOIN we can remove the need for using 2 separate queries to
find a project by its namespace. Combined with an index (only needed for
PostgreSQL) this reduces the query time from ~245 ms (~520 ms for the
first call) down to roughly 10 ms (~15 ms for the first call).
parent 1190d0ab
No related branches found
No related tags found
1 merge request!1531Improve performance of Project.find_with_namespace
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment