After delete rows in wp_postmeta, size of table increased
-
Hi all.
I tried to remove old orders from my site with mysql queries. All was fine except that wp_postmeta increased size and added more rows. Rows from queries removed but not sure what is added.
I used this mysql query
DELETE FROM wp_postmeta WHERE post_id IN (SELECT ID FROM wp_posts WHERE post_type = ‘shop_order’ and post_date < NOW() – INTERVAL 1 YEAR);
Any idea?
thanks
Darko
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.