Saltar navegación

[Cerrado] Filter query slow

This support ticket is created hace 4 años, 6 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Nigel hace 4 años, 6 meses.

Asistido por: Nigel.

Autor
Mensajes
#1730541
slow-query.jpg
filter.jpg

Hello,

I noticed when I put search filters in a view that it becomes slow.

thank you

#1730781

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Is this a large site with lots of data?

Post meta (custom fields) are ill-suited to custom searches, it is a known problem with WordPress that getting a custom field value for some post is optimised and very quick, whereas querying for posts based upon custom field filters is not optimised and very slow.

Taxonomies are optimised for speed when filtering posts, and wherever possible you should use taxonomies if they are going to be used in custom searches.

See this article for more by way of explanation: enlace oculto

El debate ‘[Cerrado] Filter query slow’ está cerrado y no admite más respuestas.