ddrager
Member
- Affected version
- 2.2.3
When trying to locate a user by email (used for GDPR removal requests), search takes a very, very long time and sometimes times out.
We have a large 12M+ member database.
It seems like the cause is that email search is using
Is it possible to refactor user search, so that if there is a single search parameter, such as username or email, that it uses an exact search instead of a LIKE? Or perhaps a switch like "Search exact username" to force that? I know this can get complicated so some thought would have to go into how to make the UI experience optimal.
Let me know if I can provide any further information.
We have a large 12M+ member database.
It seems like the cause is that email search is using
Code:
LIKE '%email%'
Is it possible to refactor user search, so that if there is a single search parameter, such as username or email, that it uses an exact search instead of a LIKE? Or perhaps a switch like "Search exact username" to force that? I know this can get complicated so some thought would have to go into how to make the UI experience optimal.
Let me know if I can provide any further information.