最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

database - Better ads plugin has 500.000 entries in wp_postmeta

programmeradmin1浏览0评论

My wp_postmeta table is huge, around 1.2 million entries, about half of those are caused by bs entries (_bs_via_rel_2, _bs_review_verdict, _bs_source_url_2, _bs_source_url_3... etc). From what little I could see 99% of these entries are empty. Also while I do have the better adds plugin I'm currently running only one Ad on my frontpage and nothing else.

How could I clean up my wp_postmeta table from these empty entries, is this expected behavior for better ads? Also for reference I have 20.000 posts on the page.

My wp_postmeta table is huge, around 1.2 million entries, about half of those are caused by bs entries (_bs_via_rel_2, _bs_review_verdict, _bs_source_url_2, _bs_source_url_3... etc). From what little I could see 99% of these entries are empty. Also while I do have the better adds plugin I'm currently running only one Ad on my frontpage and nothing else.

How could I clean up my wp_postmeta table from these empty entries, is this expected behavior for better ads? Also for reference I have 20.000 posts on the page.

Share Improve this question asked Mar 29, 2020 at 9:43 AdiliciousAdilicious 1193 bronze badges 1
  • The plugin is likely just poorly written. I suggest bringing the issue up with the plugin author. 3rd-party plugins are off-topic here, after all. – Jacob Peattie Commented Mar 29, 2020 at 13:33
Add a comment  | 

1 Answer 1

Reset to default -1

Try it like this: 1. Create backup. 2. Export the table to a sql file, open it in a text editor, select and delete unnecessary records (ex. by regexp), then import it back.

发布评论

评论列表(0)

  1. 暂无评论