Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2006

DataImportHandler creates multiple DB connections during a delta update

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.4, 1.4.1, 3.1, 4.0-ALPHA
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lancenorskog Lance Norskog
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: