-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow searchspeed and bad search results #10503
Comments
Sounds similar to #10448 |
Dear @Cijay22, Could you please enable mariadb's slow query log with a threshold of ~20 seconds, search again with Mail and look if any slow queries were logged? If so, please provide them. They should not be sensitive because mariadb logs the placeholder, not the bind parameters, but please double check and sanitze the queries if necessary. |
Hi Christoph, thanks for your fast response, the query log is really big when you run a mailsearch. I have extract the data for you maybee it will help to understand the issue. If you need more data please let me know. |
sorry I have pushed the wrong button issue is not closed :) |
Dear @Cijay22, thank you very much for the slow query look. It looks like there are lots of results, or at least the app is loading loads of messages from the database. There is some chunking going on, and I assume this takes a while and also bloats the PHP request with a lot of in-memory data. |
Steps to reproduce
Expected behavior
Actual behavior
Mail app version
4.0.10
Nextcloud version
30.0.4
Mailserver or service
Postfix 3.6.4 and Dovecot 2.3.16
Operating system
Ubuntu 22
PHP engine version
PHP 8.3
Nextcloud memory caching
APCU and REDIS
Web server
Apache (supported)
Database
MariaDB
Additional info
Chrome latest version
Server has SSD-Raid 10 Storage and 80GB RAM for Webserver and Database
Mailserver is running on a seperate server
All Server has a dedicated 1GB Nic / WAN
The text was updated successfully, but these errors were encountered: