gitlab-org--gitlab-foss/app/controllers/projects
Stan Hu aada01030c Improve issue load time performance by avoiding ORDER BY in find_by call
The Sortable concern has a default scope that adds ORDER BY to all
queries. EXPLAIN ANALYZE shows that this additional ORDER BY statement
causes the SQL optimizer to use the wrong index, which leads to a load
time of 2.9 s vs 0.073 ms just for the SELECT call. The minimal
change here is to re-implement find_by using where and reorder to
remove the ORDER BY clause in IssuesController#index.

Closes #23075
2016-10-06 12:13:03 -07:00
..
boards Add service to create a new issue in a board list 2016-10-06 11:00:01 +01:00
application_controller.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
artifacts_controller.rb Extract ref_name and path in before_action, feedback: 2016-08-26 13:10:03 +08:00
avatars_controller.rb Display project icon from default branch 2016-08-25 14:52:14 +02:00
badges_controller.rb Add method for coverage badge in badges controller 2016-08-15 14:39:46 +02:00
blame_controller.rb
blob_controller.rb fixes distinction between renaming a file and updating its content and 2016-09-09 23:05:30 -04:00
board_lists_controller.rb Returns label priority in JSON when listing lists/issues 2016-08-17 17:17:39 +01:00
boards_controller.rb Fixed boards filters 2016-08-30 14:50:46 +01:00
branches_controller.rb Fix tests. 2016-08-17 09:23:43 -06:00
builds_controller.rb Merge branch 'master' into per-build-token 2016-09-19 13:31:42 +02:00
commit_controller.rb Add Pipelines for Commit 2016-09-27 22:11:13 +01:00
commits_controller.rb API support for the 'since' and 'until' operators on commit requests 2016-04-29 09:26:52 +02:00
compare_controller.rb Make Compare#diffs diff_options a regular argument 2016-08-03 09:32:01 -07:00
container_registry_controller.rb Verify if registry is enabled in registry 2016-05-18 12:28:48 -05:00
cycle_analytics_controller.rb Implement fourth round of comments from @DouweM. 2016-09-21 09:57:14 +05:30
deploy_keys_controller.rb Namespace EnableDeployKeyService under Projects 2016-08-08 20:59:51 +02:00
discussions_controller.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
environments_controller.rb Minor fixes in the Env API endpoints 2016-08-01 08:42:09 +02:00
find_file_controller.rb Enable Style/EndOfLine Rubocop style cop 2016-05-30 10:35:37 +02:00
forks_controller.rb
git_http_client_controller.rb Post-merge improve of CI permissions 2016-09-20 15:41:41 +02:00
git_http_controller.rb Rename capabilities to authentication_abilities 2016-09-16 11:12:21 +02:00
graphs_controller.rb API support for the 'since' and 'until' operators on commit requests 2016-04-29 09:26:52 +02:00
group_links_controller.rb fix group links 404 2016-10-05 09:57:54 +01:00
hooks_controller.rb Add option to confidential issues events to trigger Webhooks 2016-08-31 18:34:23 -03:00
imports_controller.rb removed transaction stuff 2016-05-13 13:12:21 +02:00
issues_controller.rb Improve issue load time performance by avoiding ORDER BY in find_by call 2016-10-06 12:13:03 -07:00
labels_controller.rb Convert label creation from API to controller endpoint 2016-09-23 12:21:47 +01:00
lfs_api_controller.rb Rename lfs_enabled helper method 2016-08-10 16:48:21 +02:00
lfs_storage_controller.rb Verify JWT messages from gitlab-workhorse 2016-09-05 15:05:31 +02:00
merge_requests_controller.rb MergeRequest new form load diff asynchronously 2016-10-06 11:19:14 +02:00
milestones_controller.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
network_controller.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
notes_controller.rb Merge branch 'diff-line-comment-vuejs' into 'master' 2016-08-19 02:24:34 +00:00
pipelines_controller.rb Use PipelinesFinder in Pipelines API 2016-09-07 15:38:03 +02:00
pipelines_settings_controller.rb Expose coverage report badge in pipeline settings 2016-08-15 14:39:46 +02:00
project_members_controller.rb Fix a few things after the initial improvment to Members::DestroyService 2016-10-03 16:57:48 +02:00
protected_branches_controller.rb Backport changes from gitlab-org/gitlab-ee!581 to CE. 2016-08-16 11:05:14 +05:30
raw_controller.rb Add workhorse controller and API helpers 2016-06-06 13:16:30 +02:00
refs_controller.rb Create PipelinesSettingsController for showing settings page 2016-07-20 14:39:06 +02:00
releases_controller.rb
repositories_controller.rb Add workhorse controller and API helpers 2016-06-06 13:16:30 +02:00
runner_projects_controller.rb Use Ability to check pre-requisite. Change back to 403 because: 2016-06-29 19:04:06 +08:00
runners_controller.rb Rename according to: 2016-06-20 16:52:05 +08:00
services_controller.rb Fix missing flash messages on service edit page 2016-09-05 14:13:15 +03:00
snippets_controller.rb Start Frontend work, fix routing problem 2016-09-19 19:50:40 +03:00
tags_controller.rb add specs for tags finder 2016-08-31 19:16:47 +01:00
templates_controller.rb Load issues and merge requests templates from repository 2016-08-16 15:50:17 -03:00
todos_controller.rb Cache todos pending/done dashboard query counts 2016-07-12 18:57:52 +02:00
tree_controller.rb
triggers_controller.rb
uploads_controller.rb First support of videos in issues, MRs and notes 2016-07-19 18:51:09 +02:00
variables_controller.rb Project variables UI 2016-05-16 10:21:51 +01:00
wikis_controller.rb Rename markdown_preview routes to preview_markdown 2016-08-11 15:54:18 +02:00