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 "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/07/30 06:59:00 UTC
[jira] [Resolved] (JAMES-2498) JDBCMailRepository should not
materialize entities for counting them.
[ https://issues.apache.org/jira/browse/JAMES-2498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tellier Benoit resolved JAMES-2498.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.2.0
Edgar Asatryan solved this with https://github.com/apache/james-project/pull/132
Many thanks to him.
> JDBCMailRepository should not materialize entities for counting them.
> ---------------------------------------------------------------------
>
> Key: JAMES-2498
> URL: https://issues.apache.org/jira/browse/JAMES-2498
> Project: James Server
> Issue Type: Improvement
> Components: JDBC, MailStore & MailRepository
> Affects Versions: master, 3.2.0
> Reporter: Edgar Asatryan
> Priority: Major
> Labels: performance
> Fix For: 3.2.0
>
>
> *JDBCMailRepository* can significantly save time and memory when *JDBCMailRepository#size()* is invoked by executing SQL query.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org