gitlab-org--gitlab-foss/doc/development
Achilleas Pipinellis 07d5759408 Merge branch 'document-when-to-add-indexes' into 'master'
Added documentation on adding database indexes

## What does this MR do?

This MR adds a guide on when to add database indexes, how to approach this problem, etc

## Are there points in the code the reviewer needs to double check?

Spelling, grammar, etc

## Why was this MR needed?

Blindly adding indexes can be harmful to the database, and I recently had to remove 48-something unused indexes.

## What are the relevant issue numbers?

#20767

## Does this MR meet the acceptance criteria?

- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- Tests
  - [x] All builds are passing
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !5771
2016-08-16 17:03:22 +00:00
..
adding_database_indexes.md Added documentation on adding database indexes 2016-08-11 14:22:50 +02:00
architecture.md Add "GitLab team members only" to diagram link 2016-06-28 03:12:26 +00:00
ci_setup.md Fix dead links in the docs 2016-06-26 12:43:10 +09:00
code_review.md Re-add a note about sarcasm to the Code Review guide 2016-04-10 22:54:44 -04:00
db_dump.md Fix typos in all docs [skip ci] 2015-11-24 02:19:17 +03:00
doc_styleguide.md use long options for curl examples in API documentation (!5703) 2016-08-09 01:42:50 +02:00
gitlab_architecture_diagram.png optimize png images losslessly using zopflipng 2016-06-29 19:22:15 +08:00
gitlab_diagram_overview.odg Updated the picture based on comments. 2014-07-10 23:34:29 +02:00
gotchas.md Remove CHANGELOG and fix typo 2016-08-04 12:30:27 +02:00
instrumentation.md Track method call times/counts as a single metric 2016-06-17 13:09:55 -04:00
licensing.md Add relevant commands to the licensing document, resolve some feedback. 2016-06-06 13:39:36 -06:00
migration_style_guide.md Added checks for migration downtime 2016-07-20 12:41:56 +02:00
newlines_styleguide.md Add newlines styleguide for Ruby code 2016-08-05 12:19:19 +03:00
omnibus.md Document fun facts about omnibus-gitlab 2015-02-19 11:20:58 +01:00
performance.md Corrected links/usernames in performance guide 2016-08-11 14:31:19 +02:00
profiling.md Updated profiling guides for Sherlock 2015-11-09 14:29:10 +01:00
rake_tasks.md Add 'run tests' docs from GDK 2016-08-05 17:19:37 +02:00
README.md Added documentation on adding database indexes 2016-08-11 14:22:50 +02:00
scss_styleguide.md SCSS Style Guide fixes. 2016-03-23 14:39:12 -06:00
shared_files.md Clarify puppies 2015-10-26 14:28:31 +01:00
shell_commands.md Update Shell Commands doc for configurable git binary path 2015-11-03 17:10:17 -05:00
sidekiq_debugging.md Move sidekiq debug docs to development folder 2014-12-07 01:24:03 +01:00
sql.md Added basic SQL guidelines 2016-03-08 11:28:50 +01:00
testing.md Enable RSpec/NotToNot cop and auto-correct offenses 2016-05-24 15:40:29 -04:00
ui_guide.md Add reference to product map. 2016-08-11 10:11:17 +00:00
what_requires_downtime.md Mention add_column_with_default in downtime guide 2016-08-10 11:09:53 +02:00

Development

Outside of docs

Styleguides

Process

Backend howtos

Databases

Compliance