You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Vincenzo Gianferrari Pini <vi...@praxis.it> on 2006/09/01 09:39:11 UTC

Re: [jira] Created: (JAMES-602) Add feature to import and export BayesianAnalyzer data

When you import, you end up inserting/updating a very large amount of 
database rows (for example my corpus has about 260,000 rows). IMHO the 
problem may be there.

Vincenzo

Norman Maurer wrote:

>I did the work here but im not happy with the import. It take ages to
>import the data. The export takes only a few second. 
>
>I used the Xstream libary cause it provide an easy way. Any hints ?
>
>
>Am Donnerstag, den 31.08.2006, 14:47 -0700 schrieb Norman Maurer (JIRA):
>  
>
>>Add feature to import and export BayesianAnalyzer data 
>>-------------------------------------------------------
>>
>>                 Key: JAMES-602
>>                 URL: http://issues.apache.org/jira/browse/JAMES-602
>>             Project: James
>>          Issue Type: New Feature
>>            Reporter: Norman Maurer
>>         Assigned To: Norman Maurer
>>
>>
>>
>>
>>    
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: [jira] Created: (JAMES-602) Add feature to import and export BayesianAnalyzer data

Posted by Bernd Fondermann <be...@googlemail.com>.
Right, it could help to profile the insert algorithm.
Do you open a new db connection for every insert?

It's very probably not in the reading from file but something else.

  Bernd

On 9/1/06, Vincenzo Gianferrari Pini <vi...@praxis.it> wrote:
> When you import, you end up inserting/updating a very large amount of
> database rows (for example my corpus has about 260,000 rows). IMHO the
> problem may be there.
>
> Vincenzo
>
> Norman Maurer wrote:
>
> >I did the work here but im not happy with the import. It take ages to
> >import the data. The export takes only a few second.
> >
> >I used the Xstream libary cause it provide an easy way. Any hints ?
> >
> >
> >Am Donnerstag, den 31.08.2006, 14:47 -0700 schrieb Norman Maurer (JIRA):
> >
> >
> >>Add feature to import and export BayesianAnalyzer data
> >>-------------------------------------------------------
> >>
> >>                 Key: JAMES-602
> >>                 URL: http://issues.apache.org/jira/browse/JAMES-602
> >>             Project: James
> >>          Issue Type: New Feature
> >>            Reporter: Norman Maurer
> >>         Assigned To: Norman Maurer
> >>
> >>
> >>
> >>
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org