Woocommerce DB Optimizer Documentation
Website Get PRO · $59/yr

PRO features

Order Cleanup

Delete old trashed, cancelled, and failed orders — with HPOS support, dry-run preview, and automatic backup.

PRO · Flagship feature

What it deletes

Order Cleanup permanently removes disposable orders and all related data:

  • Order record (legacy post or HPOS table)
  • Order items and item meta
  • Order meta, addresses, operational data

Filters

  • Status — Trashed, Cancelled, Failed (select any combination)
  • Age — only orders older than X days

HPOS compatible

The plugin auto-detects whether your store uses legacy post-based orders or High-Performance Order Storage (HPOS) and runs the correct cleanup path.

Dry-run preview

Always run Preview first. It counts matching orders and estimates recoverable MB without deleting anything.

Backup

Automatic backup is enabled by default. Every deleted row is snapshotted before removal. See Backups & Restore.

Irreversible without backup

Order deletion is destructive. Use Preview, keep backup enabled, and test on staging for high-volume stores.