I have a script that updates 3,000 WordPress posts nightly (Real Estate CMS). When the script is running, the website won’t load at all.
Does WordPress lock tables during the update or is it just a performance issue?
Any recomendations on how to improve this process?
The script uses the following functions:
wp_insert_post
get_post_custom
update_post_meta
delete_post_meta
wp_set_object_terms
get_object_taxonomies
The issue wasn’t with WordPress, but that I has PHP Sessions enabled and once I turned off sessions the problem was solved.