Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -
- 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 1 reply, has 2 voices.

Last updated by Subash Chandra Poudel 1 year, 4 months ago.

Assisted by: Subash Chandra Poudel.

Author Posts
August 14, 2023 at 2:20 pm #14197753

witoldW

Tell us what you are trying to do? Duplicate, delete, edit and add new woocommerce products.

Now that I translated all my 3500 products into the third language (german), I started experiencing huge lag spikes (up to a full minute) when managing my woocommerce products. Interesting as frontend performace has not suffered much.

I went to my hosting and the database has grown from 700MB to over 3.5GB, most of which being generic post_meta.

Has something gone very wrong? Is this a common problem? Is there anything I can do? Turning WPML off solves the problem, but then all my products appear duplicated in all 3 languages.

I have already provided access info in the previous ticket. As this is a performance issue, providing a staging site on a subdomain is not helpful because from my experience the performance there is generally worse, lacks SSL, etc. Feel free to switch WPML on and off.

August 17, 2023 at 3:33 am #14241935

Subash Chandra Poudel

Hi there,

Database size growing as you add/translate posts is normal as when you translate contents translated posts and its meta fields need to be stored as well.

I see you are using WPML 4.6.4, we now have WPML 4.6.5 which solves many issues can you please update WPML to it's latest version and see if it makes any difference?

Also, please follow the following tutorial on using Qurty Monitor to analyze performance issues on a site and see if it helps you find the issue and if it points to WPML, and if yes to what code/query exactly.

https://wpml.org/tutorials/2019/10/analyze-performance-issues-with-query-monitor/

Furthermore, also check if adding indexes to the database as explained in the workaround of the following erratum ( although the erratum might not be related exactly ) helps, this might help sometimes in case the database is too large for the server to process.

https://wpml.org/errata/performance-considerations-for-the-wpml-media-setup-on-large-sites/

Looking forward to hear on how it goes.

Regards,
Subash

The topic ‘[Closed] Massive lag spikes when using product editor.’ is closed to new replies.