Last updated: · By Asael Dreyer
Short answer: HPOS (High-Performance Order Storage) is a WooCommerce mechanism that stores orders in four dedicated tables instead of WordPress’s general posts tables. Since WooCommerce 8.2 (October 2023) it is the default on new stores. On an older store you enable it at WooCommerce > Settings > Advanced > Features: first compatibility mode and sync, and only then the switch.
⏱ Time needed: 30–90 minutes (depends on the number of orders) · Difficulty: intermediate · Last checked against the official documentation: 7 Nov 2026
At a glance: HPOS in WooCommerce (as of 7 Nov 2026)
| What it is | Order storage in dedicated tables with their own indexes |
|---|---|
| The tables | wc_orders, wc_order_addresses, wc_order_operational_data, wc_orders_meta |
| Default | On new installs from WooCommerce 8.2 (October 2023) |
| Existing store | Does not switch by itself. Enabling is manual (opt-in) |
| Sync rate | 25 orders per scheduled action, or all at once with WP-CLI |
| Rolling back | Possible, as long as compatibility mode keeps both tables in sync |
| Server requirements | No special requirement. Any server that runs WooCommerce runs HPOS |
What is HPOS in WooCommerce, and why does it matter?
HPOS is a change to the structure of the store’s database, not a plugin and not a cache layer. Up to version 8.2, WooCommerce saved each order as a post in the wp_posts table, and all of its details (address, amount, payment method) as separate rows in the wp_postmeta table.
The problem is that the same tables also hold pages, posts, products and the meta of every plugin. On a store with tens of thousands of orders, every order search or report in the admin scans a huge, busy table. According to the WooCommerce documentation, the dedicated tables and their indexes reduce the number of read and write operations and the load on “busy” tables.
There is also a reliability benefit: it is easier to back up and restore just the order data, and easier to avoid a situation where two operations update the same order at the same time (a race condition). The database itself is explained in the Cloudways database guide.
How do you know whether your store is already on HPOS?
It takes two minutes. If the store was set up after October 2023, it is probably already on HPOS. If it is older, probably not.
- In the WordPress dashboard go to WooCommerce > Settings > Advanced > Features.
- Under Order data storage you will see what is selected: High-performance order storage or WordPress posts storage (legacy).
- Also check whether Enable compatibility mode is ticked. That means the data is saved in both places.
If you are connected over SSH, you can check from the terminal. On Cloudways (Cloudways) WP-CLI is installed on the server, and the WP-CLI guide explains how to connect and run commands from the application folder:
wp wc hpos status
wp wc hpos count_unmigrated
The first command shows the HPOS and sync status. The second counts how many orders have not been migrated yet. The commands are listed in the WooCommerce CLI documentation, which also notes that the old commands under wp wc cot were replaced by wp wc hpos.
What should you check before enabling HPOS?
Most problems in the switch come from one plugin that is not ready. That is why the pre-check matters more than the enabling itself.
- A full backup: before any change to the database structure. See backup and restore on Cloudways.
- Staging: do the switch on a copy of the store first. On Cloudways that is a few clicks, per the Staging environment guide.
- Incompatible plugins: WooCommerce flags them itself. If there are any, the option to switch to HPOS is locked, and next to the setting you get a View and manage link to the list.
- Payment and invoicing plugins: payment gateways and invoicing plugins store data on the order. Make sure your version declares HPOS compatibility. The list of gateways is in the WooCommerce payment gateways guide.
- Plugins with their own content types: according to the documentation, plugins such as Woo Subscriptions and WooCommerce Bookings must be active during the switch. Deactivating them before the migration can create gaps in the data.
You can also see the list of incompatible plugins directly at /wp-admin/plugins.php?plugin_status=incompatible_with_feature&feature_id=custom_order_tables on your site.
How do you enable HPOS on an existing store, step by step?
The process has two stages: first you sync the orders to the new tables, and only then you switch the “authoritative” table. That way there is always a way back.
- Go to WooCommerce > Settings > Advanced > Features.
- Tick Enable compatibility mode (synchronizes orders to the posts table) and save. WooCommerce schedules background actions that copy the orders.
- Wait for the sync. You can follow it at WooCommerce > Status > Scheduled Actions, under the
wc_schedule_pending_batch_processandwc_run_batch_processactions. Each action migrates 25 orders. - On a large store, run the sync all at once over SSH with
wp wc hpos sync. It is faster than waiting for the background actions. - Make sure there are no gaps:
wp wc hpos count_unmigratedshould return 0, andwp wc hpos verify_datacompares the two tables. - Go back to the settings, choose High-performance order storage (recommended) and save. Leave compatibility mode ticked.
- Run like this for a few days to a week or two. Test a new order, a refund, an invoice and an email to the customer.
- When everything is stable, untick Enable compatibility mode. From now on, orders are written only to the HPOS tables.
My time estimate: a store with a few hundred orders syncs in minutes. With tens of thousands of orders, the background actions can run for hours, and that is where WP-CLI saves a lot of time. It depends on the server size and the amount of meta on each order, so the numbers are only an estimate.
What is the difference between the storage modes?
There are four combinations of the two settings. Each suits a different stage of the switch.
| Order data storage | Compatibility mode | Where orders are stored | When to use it |
|---|---|---|---|
| WordPress posts storage | Off | Only in posts and postmeta | The old mode. A critical plugin is not compatible |
| WordPress posts storage | On | In both places, posts is authoritative | The first sync stage |
| High-performance order storage | On | In both places, HPOS is authoritative | The trial period after the switch |
| High-performance order storage | Off | Only in the HPOS tables | The final and fastest mode |
Why does HPOS speed up a large store in particular?
Because the problem HPOS solves grows with the number of orders. On a store with 200 orders a year you will not feel a difference. On a store with hundreds of orders a day, the orders screen, search and reports get lighter, because the database reads a small, focused table.
Let me be honest: WooCommerce does not publish a single “times faster” number in its documentation. Anyone who promises you a specific percentage is guessing. What you can say is that database load is one of the common reasons for a slow checkout, as explained in the slow WooCommerce checkout guide.
HPOS does not replace an object cache. On Cloudways you can add Redis or Object Cache Pro on top of it, which keep the results of repeated queries in memory. The combination of both, on a suitably sized server, is what holds a store under load.
The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.
The offer ends on December 4, 2026 at 23:59 (UTC+2).
Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.
After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator
Start a free trial server, no credit card. When you move to a paid plan, the code ASAEL takes 30% off your bill for the first three months.
The link fills in the code on the signup form. Just make sure it shows up.
How do you roll back if something breaks?
As long as compatibility mode is active, going back takes a few clicks. According to the documentation, this is the order:
- In Features, make sure Enable compatibility mode is ticked, and wait for the sync to finish.
- Choose WordPress posts storage (legacy) and save.
- Contact the developer of the problematic plugin and ask for HPOS support. WooCommerce states that this is the plugin developer’s responsibility.
To check a specific order that looks different between the tables, use wp wc hpos diff <order_id>. The command shows the differences but does not fix them; for fixing there is wp wc hpos backfill.
What are the common mistakes when switching to HPOS?
Switching directly on the live site: if a payment plugin is not compatible, the next orders can fail. Always Staging first.
Turning off compatibility mode too early: without sync, going back to posts requires copying all the orders again. Keep it on for at least a few days.
The sync is “stuck”: usually WordPress Cron is not running, so the scheduled actions do not advance. Run wp wc hpos sync, or set up a real Cron following the scheduled tasks guide.
Custom code that reads directly from wp_postmeta: manual SQL queries on orders will stop returning current data. The code needs to move to WooCommerce functions, such as wc_get_orders().
Frequently asked questions
HPOS (High-Performance Order Storage) is a WooCommerce storage structure that keeps orders in four dedicated tables instead of the WordPress posts tables. The dedicated tables and their indexes reduce the load on the database. Since version 8.2 it is the default on new stores.
No. On an existing store, enabling it is your choice, and WooCommerce does not switch it by itself. If a critical plugin does not support HPOS, you can stay on the old storage for now and ask the developer for an update.
No. Orders are copied to the new tables, and in compatibility mode they are kept in both places. Only after you turn off compatibility mode are new orders written to the HPOS tables alone.
WooCommerce checks this itself. At WooCommerce › Settings › Advanced › Features, a message with a View and manage link appears if there are incompatible plugins, and the switch to HPOS stays locked until you deal with them.
On a small store, minutes. The background actions migrate 25 orders per run, so on a store with tens of thousands of orders it can take hours. With the wp wc hpos sync command over SSH it is much faster.
No. According to WooCommerce, any server that runs WordPress and WooCommerce runs HPOS too. What does affect a large store is the server size, an object cache such as Redis, and the server location relative to your buyers.
Yes, as long as compatibility mode keeps both tables in sync. Tick Enable compatibility mode, wait for the sync to finish, choose WordPress posts storage and save.
Related guides
- WooCommerce hosting on Cloudways
- Slow WooCommerce checkout: causes and fixes
- Safe updates for a WooCommerce store
- WooCommerce server requirements
- All guides on this topic: WordPress and WooCommerce guides
Sources
- High-Performance Order Storage – WooCommerce Docs (enabling, sync, incompatible plugins, rolling back)
- HPOS – WooCommerce Developer Docs (tables, authoritative table, default from 8.2)
- HPOS CLI Tools – WooCommerce Developer Docs (wp wc hpos)
Official source: High-Performance Order Storage (WooCommerce Docs). Written and tested by Asael Dreyer · Updated: 7 Nov 2026
Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details