Just to calrify - we do not optimize on the slaves at all. We only optimize
on the master.

hossman wrote:
> 
> 
> : We do optimize the index before updates but we get tehse performance
> issues
> : even when we pull an empty snapshot. Thus even when our update is tiny,
> the
> : performance issues still happen.
> 
> FWIW: this behavior doesn't make a lot of sense -- optimizing just 
> before you are about to make updates/additions ot your data, is a complete 
> waste.  the main value in optimizing your index is that you have one 
> segment, as soon as you add a docment that changes.
> 
> the other thing to keep in mind is that an optimized index is a completley 
> new segment as a new file with a new name, so there is going to be added 
> overhead on the slave machines as the OS purges the old index files and 
> replaces them with the new optimized index files -- more overhead then if 
> you had just done your additions w/o optimizing first.
> 
> 
> 
> -Hoss
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Query-Performance-while-updating-the-index-tp20452835p21678265.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to