You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Lance Norskog (JIRA)" <ji...@apache.org> on 2010/07/20 01:39:51 UTC
[jira] Created: (SOLR-2006) DataImportHandler creates multiple DB
connections during a delta update
DataImportHandler creates multiple DB connections during a delta update
-----------------------------------------------------------------------
Key: SOLR-2006
URL: https://issues.apache.org/jira/browse/SOLR-2006
Project: Solr
Issue Type: Improvement
Components: contrib - DataImportHandler
Affects Versions: 1.4.1, 1.4, 3.1, 4.0
Reporter: Lance Norskog
The DataImportHandler code for delta updates creates a separate copy of each datasource for each entity in the document. This creates a separate JDBC connection for each entity. In some relational databases, connections are a heavyweight resource and their use should be limited.
A JDBC pool would help avoid this problem, and also assist in doing multi-threaded DIH indexing jobs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org