经常使用Wordpress,会产生冗余数据,需要定时优化,比如:删除WordPress文章修订版本等。
select * from wp_posts where post_type="revision" delete from wp_posts where post_type="revision" OPTIMIZE TABLE wp_posts; delete from wp_gdpt_posts_views
原创文章,转载请注明:转载自Web开发笔记 | WordPress数据库优化
本文链接地址:https://www.magentonotes.com/wordpress-optimize-db.html
Comments on this entry are closed.