[UA] Low hanging fruit to improve reindexing performance #201605
Labels
Feature:Upgrade Assistant
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Today when upgrading indices through reindexing we make the following requests to (1) create an index and (2) request a reindex:
Index creation request
Regardless of current index settings, create indices with:
number_of_replicas: 0
(docs)refresh_interval: -1
(docs) turn off refresh since we don't expect to be servicing search on the new index at this timeAfter reindexing is done, before creating aliases, we can use the index update API to make the settings the same as the original index (or default)
Reindexing request
slices: auto
- (docs) possibly less low hanging fruit but could speed up reindexing by handling (more) shards in parallel. "Indexing performance scales linearly across available resources with the number of slices"This has a few potential issues we should consider:
Resources
The text was updated successfully, but these errors were encountered: