Impossible to update beyond version 13.5
-
I was on version 12.8.1 and decided to finally update.
First it couldn’t go through because of ALTER on link table, which took about 30min before I stopped it. Then I decided to truncate that table.
Update went through and then my database got flooded with
SELECT post_id, meta_value FROM wp_postmeta WHERE meta_key = '_wp_attached_file' AND meta_value = '?'
queries to the point it hit my connection limit.
I was doing it at night and even when my site is least busy it was impossible to access site. When I test that query it takes about 7 seconds. I have over 1m posts and my postmeta table has over 12m rows.
I had to reverse to version 13.5, any update beyond that version is probably impossible for me.Is there any way to update for me? Can I disable lazy indexing (I guess that’s the issue) and just index through CLI(probably bad idea anyway because it will take ages)?
- The topic ‘Impossible to update beyond version 13.5’ is closed to new replies.