You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2014/11/07 14:53:40 UTC

[Solr Wiki] Update of "SolrPerformanceProblems" by ShawnHeisey

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrPerformanceProblems" page has been changed by ShawnHeisey:
https://wiki.apache.org/solr/SolrPerformanceProblems?action=diff&rev1=35&rev2=36

Comment:
Add a section to "slow startup" about the suggester component.

  
  == Slow startup ==
  
+ There are two main causes for slow startup.  One is related to the transaction log, the other is related to the Suggester component.
+ 
+ === Slow startup due to the transaction log ===
+ 
  Although there could be other causes, the most common reason for this problem is the updateLog feature introduced in [[Solr4.0]].  The problem is not with the feature itself, but depending on how other parts of Solr are configured and used when the feature is turned on, the transaction log can grow out of control.
  
  The updateLog feature adds a transaction log for all updates.  When used correctly, the transaction log is a good thing, and it is required for SolrCloud.  This version also introduced the concept of a soft commit.
@@ -138, +142 @@

  
  You'll want to adjust the maxDocs and maxTime parameters in your autoCommit configuration to fit your requirements.  The values provided (25000 docs or five minutes) are good general-purpose defaults, but they may require adjustment in situations with a very high or very low update volume.
  
+ === Slow startup due to the suggester component ===
+ 
+ If you have a large index and have the suggester component in your solrconfig.xml, this can cause EXTREMELY long startup times.  As of the 4.10.2 version, this component is enabled by default in the main example config.
+ 
+ The issue that describes the problem is [[https://issues.apache.org/jira/browse/SOLR-6679|SOLR-6679]].
+ 
+ The fix involves editing the config to remove or comment the suggester component, as was done in this [[https://github.com/Heliosearch/heliosearch/commit/b43988585f948965a5760bf60314fc76b1c099ff|Heliosearch commit]].
+ 
  == Slow commits ==
  
  The major causes of slow commit times include: