Database Schema Check and Repair: FAQ

WP Statistics can check its own database tables and fix most problems for you. This page answers the common questions about the Check & Repair Database Schema tool.

Where is the tool?

Go to Statistics → Optimization → Plugin Maintenance and find the Database Schema box. See Optimization: Plugin Maintenance.

When should I use it?

What does it check?

It checks that every WP Statistics table and column exists and that each table can be read. Problems show in a red Detected Schema Issues box, for example a missing table, a missing column, or a damaged table.

How do I repair the issues?

Back up your database first. Then click Repair Schema Issues. When everything is fine, the box says “Database schema is healthy” and shows a Re-check Schema button you can use to run the check again.

Will repairing delete my statistics?

The repair adds what is missing and fixes damaged tables. It is not meant to remove your data, but a damaged table may already have lost some rows. Always keep a recent backup.

It says a table cannot be read. What now?

WP Statistics cannot fix this one by itself. Ask your host to check and repair that table, then click Re-check Schema.

The problem is still there after a repair

Run Re-check Schema once more. If the same issue comes back, contact support and include the text from the Detected Schema Issues box.

Let’s get started
Take your business to next level

Become part of our growing family of 500,000+ websites and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.