What changes
Orders move from wp_posts and wp_postmeta to dedicated order tables. Plugins that use WooCommerce’s CRUD functions keep working; plugins that query posts directly do not see new orders, or write data that nothing reads.
| Storage | Orders live in | Risk |
|---|---|---|
| WordPress posts storage | wp_posts, wp_postmeta | Slow order queries on large stores |
| HPOS | wc_orders, wc_order_addresses, wc_orders_meta, wc_order_operational_data | Plugins that read posts directly miss orders |
| HPOS with compatibility mode | Both, kept in sync | Safe rollback while it is on |
WooCommerce shows incompatible plugins under WooCommerce → Settings → Advanced → Features. The HPOS documentation explains the modes.
Migrate with sync on
- Test on staging. The routine in updating WooCommerce plugins safely applies here too.
- Enable compatibility mode. Orders are written to both storages and synced in the background.
- Let the sync finish.
count_unmigratedmust reach zero. - Switch the authoritative storage to HPOS. Keep sync on for a few weeks.
- Verify, then turn sync off. Only when every integration has been checked.
wp wc hpos status
wp wc hpos count_unmigrated
# Sync in batches from the command line instead of waiting for cron
wp wc hpos sync --batch-size=500
# Compare the two storages for differences
wp wc hpos verify_data --verboseWhat to check
After switching, place orders with each payment method and confirm they appear correctly in the admin, in emails, in your ERP or fulfilment integration, and in reports. Confirm payment confirmations still update order status.
An ERP or shipping plugin that reads wp_posts sees no new orders after the switch. Nothing errors; orders just stop arriving downstream.
A checkout check with real order placement enabled confirms the order was created with the right total, the part of the flow HPOS actually touches.
How to check whether HPOS is on
Go to WooCommerce → Settings → Advanced → Features. Under Order data storage, “High-performance order storage” selected means HPOS is the authoritative storage; “WordPress posts storage” means it is not. The compatibility mode checkbox shows whether both storages are kept in sync. With WP-CLI, wp wc hpos status reports the same.
Rolling back
While compatibility mode is on, switching back is a setting: choose WordPress posts storage again and WooCommerce keeps reading orders from the posts tables. Without sync, orders created after the switch exist only in the HPOS tables, so turn sync back on and let it finish before switching.
Can WooCommerce run on PostgreSQL?
No. HPOS changes which tables hold orders, not the database engine: the new tables live in the same MySQL or MariaDB database as the rest of WordPress, and WordPress core supports only MySQL and MariaDB. Reporting copies are usually made by exporting or replicating to a separate warehouse.
Check your own store now with the free WooCommerce checkout checker: it walks the checkout in a real browser, stops before payment, and shows the step where it breaks.
Find out your checkout broke before your customers do.
Real checkout checks for Magento and WooCommerce · free plan · no card requiredWooCommerce checkout monitoring →