Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3213A9164 for ; Mon, 7 May 2012 16:43:11 +0000 (UTC) Received: (qmail 82924 invoked by uid 500); 7 May 2012 16:43:09 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 82859 invoked by uid 500); 7 May 2012 16:43:09 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 82843 invoked by uid 99); 7 May 2012 16:43:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 16:43:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 16:43:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7878B43706C for ; Mon, 7 May 2012 16:42:48 +0000 (UTC) Date: Mon, 7 May 2012 16:42:48 +0000 (UTC) From: "Mikhail Khludnev (JIRA)" To: dev@lucene.apache.org Message-ID: <1011175154.35060.1336408968494.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <76973248.28785.1334589378651.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3360) Problem with DataImportHandler multi-threaded MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-3360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269758#comment-13269758 ] Mikhail Khludnev commented on SOLR-3360: ---------------------------------------- James, I'm looking into but how /where="xid=x.id"/ is possible with processor="SqlEntityProcessor" ? It seems to me that your version of ternary operator is not so restrictive as mine. > Problem with DataImportHandler multi-threaded > --------------------------------------------- > > Key: SOLR-3360 > URL: https://issues.apache.org/jira/browse/SOLR-3360 > Project: Solr > Issue Type: Bug > Affects Versions: 3.6 > Environment: Solr 3.6.0, Apache Tomcat 6.0.20, jdk1.6.0_15, Windows XP > Reporter: Claudio R > Assignee: James Dyer > Fix For: 3.6.1 > > Attachments: SOLR-3360-test.patch, SOLR-3360-test.patch, SOLR-3360-test.patch, SOLR-3360-test.patch, SOLR-3360.patch > > > Hi, > If I use dataimport with 1 thread, I got: > > 5001 > 1000 > 0 > 2012-04-16 11:21:57 > Indexing completed. Added/Updated: 1000 documents. Deleted 0 documents. > 2012-04-16 11:23:19 > 1000 > 0:1:22.390 > > If I use datamport with 10 threads, I got: > > 0 > 10000 > 0 > 2012-04-16 11:31:43 > Indexing completed. Added/Updated: 10000 documents. Deleted 0 documents. > 2012-04-16 11:41:50 > 10000 > 0:10:7.586 > > The configuration of 10 threads consumed 10 times longer than the configuration with 1 thread. > I have 1000 records in the database. > My db-data-config.xml is shown below: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org