james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (IMAP-156) Get the count of all messages and the count of all recent messages is very slow
Date Fri, 18 Jun 2010 15:57:27 GMT
Get the count of all messages and the count of all recent messages is very slow
-------------------------------------------------------------------------------

                 Key: IMAP-156
                 URL: https://issues.apache.org/jira/browse/IMAP-156
             Project: JAMES Imap
          Issue Type: Improvement
          Components: Mailbox
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 0.1


1) When selecting a Mailbox (a select INBOX) the count of all messages and the count of all
recent messages get calculated on the fly. That
works well on small mailboxes, but as more messages you have as slower it get.

I would like to store the messageCount and recentMessageCount in the Mailbox and just update
these on append/setFlags/expunge operations.
To be sure we don't get corrupted data somehow, we should create some kind of backgroundprocess
which recalculate these counts every X
hours.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message