Minimize queried data in the FETCH handler

Review Request #111619 - Created July 20, 2013 and submitted

Information
Volker Krause
akonadi
master
Reviewers
akonadi
dvratil
We were querying a bunch of columns that were either never used, or only used with specific command options. Now we are only querying what is actually used.


Git Log:


Remove to unused JOINs.

Speeds up FETCH by another ~10%.


Only query columns we are actually going to use.

Speeds up the KMail folder listing test case by about 10-20%.


Add item query column mapping.


Factor out item query result extraction.

This prepares a more sophisticated column selection in the query, to avoid
loading data we don't need at all.
unit tests, using KMail

also testing the post-review command :)
Daniel Vrátil
Commit Hook
Volker Krause
Review request changed

Status: Closed (submitted)

Loading...