Re: search questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Courier IMAP does not have any longterm cache or options are somewhere in
install docs. I think it caches only UIDs.

IMAP SEARCH CHARSET UTF-8 BODY "a" times (uncached search and cached in
memory):
1000  messages - 7592,02/368,79 ms
2500 messages - 25291,5/1116,46 ms
5000 messages - 51136,95/2183,65 ms
10000 messages - 151342,79/6093,71 ms
25K messages - 414510,52/22609,8 ms
50K msgs, 1.5GB of data - my patience is not that good

'IMAP SEARCH CHARSET UTF-8 BODY "a"' is one of the most aggressive searches.
Header search might be more efficient, but courier does not cache message
info on filesystem, so it still has to read heads of all messages in Maildir
and hits I/O and directory with lots of files access issues.

IMAP connection does not timeout in my test setup. Maybe Zend Platform does
something to timeouts or server keeps connection alive by returning some
results before search ends. I think I still can timeout connections with
THREAD.

If your primary searches are in headers, try dovecot. It has larger cache
than courier and can be configured to match Courier namespace, so your users
should not notice IMAP change if folder subscriptions are ported. I think
Cyrus squatter might improve TEXT and BODY search, but I haven't tested it
yet and it's not gonna work in your setup.


Rajesh M-3 wrote:
> 
> Courier imap
> 
> we use qmail toaster
> 
> but not the default squirrelmail installation
> 
> we install it separately
> 
> rajesh
> 
> 
>>
>>
>> Rajesh M-3 wrote:
>>>
>>> hi
>>>
>>> we use the latest stable version of squirrelmail Version: 1.4.19
>>>
>>> we tried it on an account with around 15000 emails and when we login the
>>> inbox lists out the emails very quickly -- excellent performance
>>>
>>> however under search -- it times out and gives imap server error, in
>>> most
>>> cases of search of any kind ie from, to or body.
>>>
>>> Is there a way to paginate search results (probably use database) so
>>> that
>>> the results are displayed page by page
>>>
>>> we checked out on google web interface and the search features is very
>>> quick
>>>
>>
>> And your IMAP server is?
>>
>> mailbox listing might be fast, if it is unsorted. Speed of sorted results
>> and search depends on used IMAP server. Pagination might speed things up
>> only when you have large number of results.
>>
>> --
>> Tomas
> 

-- 
View this message in context: http://old.nabble.com/search-questions-tp26869730p26880341.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux