[Kde-pim] Excessive amount of queries

Martin Steigerwald Martin at lichtvoll.de
Thu Dec 4 18:58:34 GMT 2014


Am Donnerstag, 4. Dezember 2014, 12:38:16 schrieb Pablo Sanchez:
> [ Comments below, in-line ]
> 
> On 12/04/2014 12:32 PM, Daniel Vrátil wrote:
> 
> Hi Daniel,
> 
> > Just FYI: I just wrote a global cache for collection statistics,
> > [ trimmed ]
> > 
> > Marking a single email as read causes around 8 queries to collection
> > statistics (KMail + various resources that listen to all
> > changes). Reducing 8 queries to one is pretty good in my books :)
> 
> Excellent!  7 * .93 = 651ms which of course is very noticeable to the
> end user.  Also, I'd expect to see less /drag/ on the DBMS too.  A
> good win.

Wonderful. Thanks Daniel!

I really would like to see and test this in Akonadi 1.13 branch :)

As I wrote: I do have quite some mails to throw at it.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list