Navigation überspringen

[Geschlossen] Filter query slow

This support ticket is created vor 4 Jahren, 6 Monaten. 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)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Nigel vor 4 Jahren, 6 Monaten.

Assistiert von: Nigel.

Author
Artikel
#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

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: 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: versteckter Link

Das Thema „[Geschlossen] Filter query slow“ ist für neue Antworten geschlossen.