Debug Slow Query?


(phobos182) #1

are there any options for debugging slow queries in ElasticSearch? I am having some queries take 3 seconds to repsond on 8 shards, and want to know where the slowdown is occurring.

Ex.

{
took: 3972
timed_out: false
_shards: {
total: 8
successful: 8
failed: 0
}
hits: {
total: 589537
max_score: 119.84013
...
}


(Shay Banon) #2

Can you gist your query / search request? One way, if you have a complex
query / search request, is to trim down on the complexity and see what adds
most to the time it takes.

On Mon, Sep 12, 2011 at 7:40 PM, phobos182 phobos182@gmail.com wrote:

are there any options for debugging slow queries in ElasticSearch? I am
having some queries take 3 seconds to repsond on 8 shards, and want to know
where the slowdown is occurring.

Ex.

{
took: 3972
timed_out: false
_shards: {
total: 8
successful: 8
failed: 0
}
hits: {
total: 589537
max_score: 119.84013
...
}

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Debug-Slow-Query-tp3330170p3330170.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(system) #3