jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: RowIterator loop is slow?
Date Mon, 04 Dec 2006 08:52:45 GMT
dan wrote:
> And here is the result (Extracted from the Log4j output):
> - Query.execute(): 9375-7484 = 1891ms

do you see an improvement here when you execute the query again. Initial queries 
can be quite slow because the hierarchy structure is resolved from the index but 
later cached which speeds up queries significantly.

> - QueryResult.getRows(): less than 1 ms
> - RowIterator.nextRow(): 13234-9375 = 3859ms

that indicates that most of the time is spent in retrieving the values from 
persistent storage. Does your application really require to read all 2000 documents?

regards
  marcel

Mime
View raw message