Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Monitoring Elasticsearch

You're reading from   Monitoring Elasticsearch

Arrow left icon
Product type Paperback
Published in Jul 2016
Publisher Packt
ISBN-13 9781784397807
Length 180 pages
Edition 1st Edition
Arrow right icon
Authors (3):
Arrow left icon
Dan Noble Dan Noble
Author Profile Icon Dan Noble
Dan Noble
 Agrawal Agrawal
Author Profile Icon Agrawal
Agrawal
 Lababidi Lababidi
Author Profile Icon Lababidi
Lababidi
Arrow right icon
View More author details
Toc

Summary


This chapter addressed some common performance and reliability issues that come up when using Elasticsearch. To reiterate some of the major points in this chapter:

  • Always double-check your Elasticsearch cluster's configuration for errors

  • Set the fielddata cache size, especially if you see OutOfMemoryError exceptions

  • Use the slow log to find what queries run slow on your cluster

  • Avoid aggregations on high-cardinality fields (such as millisecond timestamps)

  • Be cognizant of your data indexing strategy so that no one index grows too large

  • Use index warmers or enable eager_global_ordinals to ensure queries that use the fielddata cache are fast the first time we run them

  • If possible, use SSDs on nodes that index data, and avoid storing Elasticsearch indices on network storage

Most importantly, when diagnosing Elasticsearch issues, be meticulous about testing at each stage. For example, don't try to optimize a query by making changes to elasticsearch.yml, modifying the query criteria, and enabling...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images