Note that there are some explanatory texts on larger screens.

plurals
  1. POPerformance of Solr Shared is worse than Solr Unsharded
    primarykey
    data
    text
    <p>I have been tasked with building a test index of about 100million small records using Solr. I have been running this on my laptop since some time yesterday, incrementing it by 10million records at a time and running queries at the major "milestones" (10m, 20m... etc). I have reached about 70million records, and all is going well... The laptop specs are as follows:</p> <ul> <li>Quad Core i7</li> <li>8Gb RAM</li> <li>Windows 7</li> <li>Tomcat 7 + latest version of Solr. </li> </ul> <p>As a test, I decided to see what happens when i run a simular workload on my home workstation (Dual Proc, Quad Core Xeon, 12Gb RAM, 2x10K RPM Disks in RAID 0 for index, Windows 2008 R2, same software). Only difference is now i am using Multi Cores... using the same schema and conf directory from the laptop, modified the solr.xml...</p> <p>Anyway, on the laptop, at about 70 million records, i am getting results of less than 500ms. thats 150 queries, 100 of which are one word, 50 are 2 word queries. only one field is queried (name field). all good... On my workstation, using multi cores and the following querystring, i am getting times in excess of 4-5 seconds! </p> <pre><code>http://localhost:8080/solr/core0/select?shards=localhost:8080/solr/core0,localhost:8080/solr/core1,localhost:8080/solr/core2,localhost:8080/solr/core3&amp;q=Name:Test Name </code></pre> <p>This is a new Index i have generated: i am doing a loop, from 0 to 100,000,000 and every time i hit i % 10000 == 0 i add the documents to a solr core. Each time I hit that loop, I incrememt a commitID, and when commitID %4 == 0, go to core0, when 1 go to core1, etc...</p> <p>I am pretty sure its a config issue somewhere... but i just want to make sure... Should I be expecting this to be a lot faster? both processors (Laptop and Workstation) are in around the 2.2Gz range. Both are new enough architectures (Nehalem on the Workstation, i7 from 2010 on the laptop). So, any ideas what i should be looking at?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload