For most of its life, WooCommerce stored orders the same way WordPress stores blog posts: as rows in the wp_posts table, with every order detail spread across wp_postmeta. It worked, but it was never designed for stores with thousands of orders. High-Performance Order Storage (HPOS) fixes that.
What HPOS is
HPOS gives orders their own database tables, built for order data. Instead of dozens of loosely structured meta rows per order, the important fields (status, totals, customer, addresses, dates) live in dedicated columns that the database can index and search efficiently.
WooCommerce made HPOS the default for new stores from version 8.2. Older stores can switch when they are ready.
Why it is faster
- Smaller, focused tables. Order queries no longer compete with posts, pages and every plugin’s data in the same tables.
- Proper indexes. Looking up orders by customer, status or date uses indexes instead of scanning meta rows.
- Fewer database queries. Loading an order no longer means stitching together many meta values.
The gains show up mostly in the admin order screens, order searches, reports and checkout on busy stores. A small shop with a few orders a week will notice little difference.
Is my store ready?
The main risk is plugins that read or write orders directly in wp_posts instead of using WooCommerce’s functions. Check before switching:
- Go to WooCommerce > Settings > Advanced > Features. WooCommerce lists plugins it knows are incompatible.
- Update WooCommerce and all extensions to their latest versions.
- Ask the developers of any custom code or less common plugins whether they support HPOS.
How to switch safely
- Take a full backup and work on a staging copy first.
- On the Features screen, turn on compatibility mode (order data synchronisation). WooCommerce then copies orders into the new tables and keeps both copies in sync.
- Wait for the sync to finish. On large stores this runs in the background through scheduled actions and can take a while.
- Switch order storage to High-performance order storage while keeping sync on.
- Test the whole order journey: place orders, take payments, refund, run your reports, and check every extension that touches orders.
- When everything works, repeat on the live store at a quiet time. Keep sync on for a while so you can switch back if needed, then turn it off.
HPOS and hosting
HPOS reduces database load, but busy stores still depend on their host for uncached work: checkout, cart and the admin. Make sure your plan has enough PHP workers and object caching, and that it can scale during sales. Our WooCommerce hosting guide covers what to look for, and WooCommerce maintenance can handle the switch for you on staging.
