[
https://issues.apache.org/jira/browse/JAMES-2498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16561551#comment-16561551
]
ASF GitHub Bot commented on JAMES-2498:
---------------------------------------
Github user nstdio closed the pull request at:
https://github.com/apache/james-project/pull/132
> 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: [email protected]
For additional commands, e-mail: [email protected]