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 "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/06/18 17:57:27 UTC
[jira] Created: (IMAP-156) Get the count of all messages and the
count of all recent messages is very slow
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
[jira] Resolved: (IMAP-156) Get the count of all messages and the
count of all recent messages is very slow
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved IMAP-156.
--------------------------------
Resolution: Invalid
With the last fixes this is not needed anymore. So just mark it as invalid
> 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