Projet

Général

Profil

Development #56439

améliorer les performances de la recherche par email dans le manager

Ajouté par Benjamin Dauvergne il y a plus de 2 ans. Mis à jour il y a plus de 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
27 août 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Thomas m'a fait utiliser un icontains au lieu d'un iexact, le souci est qu'on utilise plus l'index sur UPPER(email) dans ce cas, mais on peut retrouver de bonne performance en utilisant l'index trigramme sur LOWER(email).


Fichiers

Révisions associées

Révision d67ff3b2 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 2 ans

misc: use trigram index in free_text_search() for emails (#56439)

Trigram indexes can improve performance of the LIKE operator but the
left hand side must match the index expression (here it's
LOWER(email)).

Historique

#1

Mis à jour par Benjamin Dauvergne il y a plus de 2 ans

#2

Mis à jour par Valentin Deniaud il y a plus de 2 ans

  • Statut changé de Solution proposée à Solution validée
#3

Mis à jour par Benjamin Dauvergne il y a plus de 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit d67ff3b2fa4cbdaf03c4d4e59f0625d50a546a37
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Fri Aug 27 14:32:54 2021 +0200

    misc: use trigram index in free_text_search() for emails (#56439)

    Trigram indexes can improve performance of the LIKE operator but the
    left hand side must match the index expression (here it's
    @LOWER(email)@).
#4

Mis à jour par Frédéric Péters il y a plus de 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF