Weekly optimization (Pro) runs database optimization automatically. It is in Aegisify Shield → DB Tools → Optimize → Optimization Settings.
What it does
When enabled, Shield runs OPTIMIZE TABLE on core WordPress tables at most once per week during its regular maintenance. It uses safe, non-aggressive routines and does not perform dangerous changes.
Why it is off by default
Depending on the database engine, optimization can lock or rebuild tables while it runs. Enable it only after:
- You have regular backups.
- You understand how your hosting handles database maintenance.
Turning it on
Tick Weekly optimization and click Save Optimization Settings.
Is weekly optimization necessary?
For many sites, occasional manual optimization after big cleanups is enough. Weekly optimization helps busy sites with frequent deletions, such as stores with many expired sessions or sites with heavy comment moderation.
Scheduling note
Maintenance tasks use WP-Cron. If your site has little traffic or WP-Cron is disabled without a server cron, runs may be delayed.
Requirements
Requires an active Aegisify subscription.
Related: Manual optimize, Database table overview.
