diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-05-20 09:26:59 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-05-20 09:32:26 +0300 |
commit | 479876a594515446158102ed64d1f00c83c4e03f (patch) | |
tree | a31bc81e036cb342ed9db5972187d4ad561a0606 /appinfo/info.xml | |
parent | d957e7273e6368823afada70b8574edac930e717 (diff) |
Add messages table index for mailbox id + uid search
The message update query looks up rows by the mailbox id and the uid.
There was only an index for the mailbox id, so the database still had to
scan data for the matching UID.
On a dev env with ~700k messages this brought down UPDATE queries from
200ms to 5ms. On a production system running v1.13.0 Beta 1 deadlocks
happened before and are now gone.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'appinfo/info.xml')
-rw-r--r-- | appinfo/info.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml index 1b993e858..7ff678d6a 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -12,7 +12,7 @@ - **🙈 We’re not reinventing the wheel!** Based on the great [Horde](https://horde.org) libraries. - **📬 Want to host your own mail server?** We don’t have to reimplement this as you could set up [Mail-in-a-Box](https://mailinabox.email)! ]]></description> - <version>1.13.0-beta1</version> + <version>1.13.0-beta.2</version> <licence>agpl</licence> <author>Greta Doçi</author> <author homepage="https://github.com/nextcloud/groupware">Nextcloud Groupware Team</author> |