Close #510 Hopefully this will solve performance with MySQL/MariaDB. There is no way to prove this though. See #510 Signed-off-by: Marc Cousin <marc.cousin@people-doc.com>