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
..
README.md Added documentation on adding database indexes 2016-08-11 14:22:50 +02:00
adding_database_indexes.md Added documentation on adding database indexes 2016-08-11 14:22:50 +02:00
architecture.md
ci_setup.md
code_review.md
db_dump.md
doc_styleguide.md
gitlab_architecture_diagram.png
gitlab_diagram_overview.odg
gotchas.md
instrumentation.md
licensing.md
migration_style_guide.md
newlines_styleguide.md
omnibus.md
performance.md Corrected links/usernames in performance guide 2016-08-11 14:31:19 +02:00
profiling.md
rake_tasks.md
scss_styleguide.md
shared_files.md
shell_commands.md
sidekiq_debugging.md
sql.md
testing.md
ui_guide.md
what_requires_downtime.md

README.md

Development

Outside of docs

Styleguides

Process

Backend howtos

Databases

Compliance