Corentin
Corentin

Reputation: 323

How can I reduce Qtime?

I would like to know which parameters I need to change (if exist) to decrease the Qtime.

 Qtime : The elapsed time (in milliseconds) between the arrival of the request (when the SolrQueryRequest object is created) and the completion of the request handler. It does not include time spent in the response writer formatting/streaming the response to the client.

I have logged curl responses when I update my documents and I have noticed that QTime increase during the time.

For example, my first response (corresponding to my first doc indexed) is 6293 ms. And after a large quantity of indexed documents, my QTime becomes longer : 1560781 ms so around 26 min !


Edit

First measure : 1 CSV file with 10000 solr docs -> QTime :6293ms

Second measure : 1 CSV file with 10000 solr docs -> Qtime : 1560781 ms

Delay between those measures = 32min 19s

Number documents indexed during this interval : 26720000 documents


I guess that is possible to improve that but I don't know witch settings modify to have better performances.

Informations related to my system

Questions

Any tips to help me to do the completion of my updates faster, would be appreciated.

Thanks.

Upvotes: 0

Views: 3379

Answers (2)

Hanumant Pratap
Hanumant Pratap

Reputation: 1

Firstly improve SQl Queries used in Delta Imports that will improve a lots especially data types and then use solr REST services for instant updates in solr.

Upvotes: 0

BitByter GS
BitByter GS

Reputation: 999

Have a look into following link. This may be helpful for you..

http://wiki.apache.org/solr/SolrPerformanceFactors

Upvotes: 1

Related Questions