Repetitive SQL queries being run against configuration table #117

Fermé
créé 2018-10-15 13:56:43 +01:00 par aheathershaw · 1 commentaire
Propriétaire

Whilst analysing SQL queries for a new feature, I've noticed that a large number of select * from configuration where key = ? queries are being run.

We could cache the contents of the table once per request - and use the cache to avoid repeated lookups.

Whilst analysing SQL queries for a new feature, I've noticed that a large number of `select * from configuration where key = ?` queries are being run. We could cache the contents of the table once per request - and use the cache to avoid repeated lookups.
aheathershaw a ajouté ça au jalon Version 2.2.0-beta.1 2018-10-15 13:56:43 +01:00.
aheathershaw s'est assigné ça 2018-10-15 13:56:43 +01:00.
aheathershaw a ajouté les labels
bug
enhancement
2018-10-15 13:56:43 +01:00.
Auteur
Propriétaire

This change has resulted in a dramatic improvement in the perception of the speed of the system.

This change has resulted in a dramatic improvement in the perception of the speed of the system.
Connectez-vous pour rejoindre cette conversation.
Sans assignation
1 participants
Notifications
Échéance
La date d’échéance est invalide ou hors plage. Veuillez utiliser le format 'aaaa-mm-dd'.

Aucune échéance n'a été définie.

Dépendances

Aucune dépendance définie.

Référence : aheathershaw/blue-twilight#117
Sans contenu.