WooCommerce HPOS stores key order fields such as status and customer ID in own order tables. This allows certain queries to bypass the previous detour through WordPress metadata. This is particularly useful for large online stores where the support team regularly retrieves a small portion of a long order history. This doesn’t guarantee a faster checkout: what matters is how much time the process actually spends interacting with the order database. Before making the switch, you should therefore test both the response times and the workflows with your ERP system in the staging environment.
How WooCommerce HPOS Changes the Order Storage
In the current storage model, WooCommerce stores orders as entries in the WordPress posts table. There, they are stored alongside other content types. WooCommerce stores additional order fields, such as the customer ID, in post meta as key-value pairs. A query that requires both order fields from the Posts table and this additional data must therefore combine information from both tables.
High-Performance Order Storage (HPOS) stores key order fields in own order tables ... The advantage becomes apparent when, for example, the service team retrieves all orders with a specific status for a specific customer. In the old model, the status is already listed in its own column; it is only the additional filter by customer that requires access to postmeta there. With HPOS, both fields are located in the same order table.
Appropriate indexes allow the database to access relevant entries efficiently during such queries. This is particularly useful when dealing with a long order history, especially when a query requires only a small portion of the data. However, the extent of the benefit depends on which filters are applied and what additional data the view requests. A query for a specific custom field may still require metadata access.
For extensions, the WooCommerce Order API access to the relevant database table. For example, when reading and modifying orders via the `order_object`, WooCommerce determines which database table to use. Code that instead reads directly from the `posts` table makes this choice itself and may see outdated data after the switch. The mere existence of an entry in this table does not indicate which storage location is the authoritative one.
HPOS thus optimizes a specific part of the WooCommerce database: the storage and retrieval of orders. It is not a general optimization of the database. If a slow store page is primarily waiting for product queries or a response from an external service, the new order schema does not address this bottleneck.
The Four Key HPOS Tables
The HPOS Data Model Separates the fields used to identify or filter an order from addresses, processing information, and additional metadata. This way, an order overview can focus on the key fields, while the detailed view can also retrieve the billing and shipping addresses as needed. Which tables are actually required depends on the data requested by the specific transaction.
| Table | Content | Examples |
|---|---|---|
| wp_wc_orders | Key order fields in separate columns | Order Status, Order Type, Customer ID, Creation Date |
| wp_wc_order_addresses | Structured Billing and Shipping Addresses | Address type, street, ZIP code, country |
| wp_wc_order_operational_data | Company Information Regarding Order Processing | A field indicating whether the inventory level has already been reduced for the order |
| wp_wc_orders_meta | Additional order metadata without its own column | Extension fields that are stored as order metadata |
The prefix wp_ is an example. If you're looking for the tables in a specific installation, the WordPress table prefix configured there applies. Furthermore, these four tables describe the core of the order database, not all the tables that WooCommerce uses during an order process. Order items, for example, still have their own tables; therefore, the row containing the core order fields is not equivalent to the complete contents of an order.
The conversion creates a separate column only for fields for which the HPOS schema provides a column. If, for example, an extension uses an internal approval number as Order Metadata Date If you save it, the number won't automatically appear next to the status and customer ID. This is important for performance: A filter on a built-in order field isn't a reliable measure of how quickly you can search for that approval number.
How HPOS Can Improve WooCommerce Performance
If your service team searches through a long history of orders every day, start with a filter that they actually use—such as a specific status and a specific time period. Compare the process in the staging environment under “Legacy” and “HPOS” using the same dataset, the same sorting criteria, and the same set of results. Check not only whether the view loads faster, but also whether both queries return the same orders.
Track searches for individual metadata fields separately. For example, if your team frequently searches for a reference stored by an extension, that query deserves its own set of metrics. A quick filter by status and time period shows that this common scenario benefits from this approach. However, it does not indicate how resource-intensive the search is for a field that remains within the metadata.
To compare checkout processes under load, keep the shopping carts, payment methods, load profile, and cache conditions constant. Record the Database time separate from the total response time of the checkout process. If the order is saved locally faster, while the payment service accounts for most of the wait time, the overall improvement in the process is correspondingly smaller. Faster order saving is therefore not the same as a checkout process that is equally faster.
For the March 2023 WooCommerce benchmark, a development version from the branch was used cot-main was used. The measurements were run in the WP-Shell with a single worker. Both the WordPress query cache and the synchronization between HPOS and the posts table were disabled. The test database contained approximately 600,000 rows in wp_posts and 1.4 million lines in wp_postmeta. These are table rows, not order numbers.
At Checkout Benchmark For each storage model, ten checkout calls were run consecutively in WP-Shell, each with one product and cash on delivery. The measurement was the cumulative runtime of the server-side checkout function. This was neither a load test with parallel requests nor an end-to-end measurement from the browser to the response from an external payment service.
The benchmark does not show what response times a stable version of WooCommerce achieves in your store or how an active compatibility mode affects performance there. Use the test as an example of how individual processes can be compared, not as a prediction for your installation with its own extensions and cache settings.
If product or category pages, in particular, are loading slowly, analyze their load times separately instead of applying the checkout comparison to the entire store. For this broader perspective on technology and load times, see the guide to SEO for Online Stores Key considerations regarding hosting, caching, and images. For the HPOS evaluation, however, the specific processes involving order data remain the decisive factor.
Test the store and interfaces in the staging environment
Before you WooCommerce HPOS When you enable this, it not only tracks the installed plugins but also the paths through which order data leaves the store or is modified from outside. For example, a nightly export might access the database directly without appearing in the plugin list. For each interface, document which system reads from or writes to the database and who is authorized to review the results.
- Document the WooCommerce version and order-related extensions. Check your own code, planned exports, and external interfaces for direct access to the existing order tables.
- Schedule a recent backup and test the recovery process in advance in a separate environment. Document who will initiate the recovery in the event of an emergency.
- Prepare a staging copy with a representative order history: include not only current orders but also older transactions, refunds, and orders with integration-specific fields. Separate production payment and shipping actions from the test environment.
In the staging environment, run a Complete Order Process Procedure: Create a test order, change its status, and initiate a refund using an appropriate test payment method. Don’t just check the display in the WooCommerce backend. If an inventory management system or a fulfillment service is involved, also compare order line items, amounts, and the status or shipping data relevant to the process there.
A Compatibility Information This is an indication, but not proof, that multiple extensions and your own code are working together. Therefore, define in advance what constitutes a successful test: If a refund is visible in WooCommerce but the next export does not reflect it, the process has not yet been approved.
Also clarify who at the hosting provider has access to backups and the staging environment and will be responsible for the subsequent synchronization. An overview of the WooCommerce Hosting Classifies backups and server resources as selection criteria. You'll need to determine for your specific environment whether you can actually restore a backup and test the interfaces in isolation.
A Comparison of Leading Storage and Synchronization Solutions
The leading storage systems Specifies which database the WooCommerce Order API reads the current state from and where it writes changes. Compatibility mode answers a different question: Should WooCommerce keep the second database up to date? Even when synchronization is enabled, there is only one primary database. The second database may lag behind as long as changes have not yet been synchronized.
| Primary Storage | Status of the second filing | Consequences of Switching to Legacy |
|---|---|---|
| Legacy with Synchronization | The HPOS tables are populated and updated using posts and post meta. | No need to switch back: Legacy is already the leader. |
| HPOS with Synchronization | Posts and post meta are being updated from the HPOS database. Changes may still be pending. | You can switch back once the synchronization is complete. |
| HPOS Without Synchronization | The legacy file is not kept up to date. New orders or subsequent changes may be missing from it. | Re-enable synchronization, retrieve any missing data, and verify the synchronization before making the switch. |
A Placeholder The Posts table does not contain a complete legacy copy. Even without an active synchronization, WooCommerce can create an entry there for an order created in HPOS in order to reserve the order ID. If an Altexport finds this ID, it does not prove that the corresponding order data is present in Posts and Postmeta, nor that it is up to date.
For your migration plan, switching the primary storage and disabling synchronization are therefore two separate steps. If you continue syncing immediately after the switch, the process of reverting back will be quicker, provided the second storage location is up to date. Without synchronization, a later switch back may be delayed because WooCommerce must first reconcile any differences that have arisen in the meantime.
Synchronize orders and switch to HPOS
Open WooCommerce → Einstellungen → Erweitert → Funktionen. First, leave "Legacy" selected as the primary order database and enable compatibility mode. This ensures that the existing database remains the primary source while WooCommerce transfers the current inventory to the HPOS tables. Do not schedule a specific switchover time for the live migration until you have tested the process using a representative copy.
For background synchronization, the scheduled actions must run reliably. Monitor whether the number of pending orders is decreasing, rather than assuming progress is being made solely based on the activated compatibility mode. If you have a large inventory, you can alternatively initiate and monitor the synchronization specifically via WP-CLI. Allow time not only for the copying process but also for the subsequent data comparison.
For the Diagnosis and Staging You need a working WP-CLI environment and must run the commands for the correct WooCommerce installation. The following three commands display, in order, the HPOS status, the number of orders still to be synchronized, and the result of a comparison of the order data in both databases. According to the documentation, the data comparison using `wp wc hpos verify_data` is intended for use with compatibility mode enabled and checks all orders. If synchronization has been intentionally disabled, differences between the databases do not in themselves constitute a migration error. If there is a large amount of historical data, the data comparison in particular can take some time.
If you want to intentionally run the sync on the staging environment using WP-CLI, use the following command in the same environment: write command. It synchronizes order data from the primary storage to the secondary storage and is not a status query. Therefore, before starting, check which installation and which primary storage are active.
Do not select HPOS as the primary storage until all pending synchronizations are complete and you have resolved any discrepancies identified during the data comparison. If the selection remains locked despite the comparison being complete, check under „Functions“ to see which extensions WooCommerce reports as incompatible. Resolve these issues before switching over, rather than bypassing the lock.
After the migration, repeat the technical tests. Matching data in both systems does not necessarily prove that an export or the inventory management system is processing the changes correctly. To verify this, check the actual workflow all the way to the target system.
Check Exports and Inventory Management After the Switch
An Altexport run may complete without any error messages but still omit orders. If it reads directly from posts and post meta, it will only see the status of the legacy database when WooCommerce HPOS is the primary system. Depending on the synchronization status, new orders or subsequent changes may be missing from that storage. Therefore, the fact that the export file exists and contains known order numbers says little about whether the inventory management system will receive the current status.
After the switchover, track two specific cases all the way to the target system: Create a new test order and modify an order that has already been transferred—for example, by changing its status in a way that affects inventory management. During the next regular run, check whether the new order arrives in full and whether the change updates the existing data record. Compare the order ID, the status, and the fields required for the respective process with what is displayed in WooCommerce.
Also check the opposite direction when an interface modifies orders. Direct Legacy Write Accesses are a different problem than outdated exports: For example, an interface can successfully write shipping information to Postmeta without updating the corresponding HPOS order. Therefore, after receiving a test response, check whether the information is also visible in WooCommerce and in the downstream processes that actually need it.
Upload your own code WooCommerce Order Objects and CRUD Instead: Read and modify order data using the provided methods, and save changes via the order object. For order queries, use the WooCommerce Order API instead of hard-coded table access. This way, WooCommerce determines which database the code accesses. Synchronization, on the other hand, can provide an old reader with data during the transition phase, but it neither eliminates its dependency on legacy tables nor corrects direct write accesses.
Identifying Causes of Blocked Switching and Data Discrepancies
If WooCommerce is blocking the selection of the new order storage, first check the Pending synchronization. If the number of orders still to be reconciled decreases, the process continues and may simply take longer. If it remains unchanged, check during background processing to see whether the scheduled actions are being executed or whether errors are being reported.
Incompatible extensions can also block the HPOS selection. If there are no more orders pending reconciliation, check the WooCommerce settings to see which extensions are reported as incompatible. For each affected extension, determine whether a compatible version is available or whether you need to postpone the switch. Test the updated version on the staging environment first.
If order data differs, start by determining which database was the primary source at the time of the change. Take an affected order ID and compare the expected business value with the data in WooCommerce and in the target system. Next, check where the relevant extension reads from and where it writes to. A comparison of the two storage locations may reveal a discrepancy, but it alone cannot explain which data state an interface actually processed.
Compatibility mode maintains a second copy of the main memory. Sync on read In contrast, this refers to an additional mechanism that, under certain conditions, can directly transfer changes from the legacy memory to HPOS during a read operation. If an integration works only because a subsequent read operation triggers a change, you do not have a reliable write path. Correct the access at the point where the change occurs.
On February 16, 2026, WooCommerce announced that it would disable "Sync on read" by default in version 10.7. The change was released with WooCommerce 10.7.0 on April 14, 2026. The release note refers to the associated code change No. 63175. In the released version 10.7.0, the HPOS read path passes the filter woocommerce_hpos_enable_sync_on_read the default value false.
When data synchronization is enabled, an extension or custom code can override the default value using this filter. In the tested read path of WooCommerce 10.7.0, the filter is not called at all when synchronization is disabled. Therefore, the filter alone does not activate the read mechanism when compatibility mode is disabled. You should therefore check the behavior of the specific store instead of assuming—based on the version number or the active compatibility mode—that a subsequent read operation will take over direct legacy write operations. The normal synchronization of the second database is separate from the read mechanism.
When You Should Turn Off Synchronization
Delay the switch if a business-critical legacy dependency remains unresolved. This applies, for example, when the merchandise management system writes order changes directly to Postmeta and you cannot verify that the process works correctly with the leading HPOS. In this case, leave “Legacy” as the default for now, correct the access permissions, and repeat the affected process in the staging environment. A successful checkout alone does not approve such an interface.
Once the core processes have been tested, you can initially run HPOS with compatibility mode enabled. This makes it easier to switch back, as long as the legacy data has been fully synchronized. Use this phase to also monitor processes that don’t occur with every order, such as a refund or a periodic export. Before switching back, however, be sure to check the actual synchronization status: An activated mode does not mean that no synchronization is pending.
Deal with that Turning Off Synchronization as a separate operational step. Don’t make this decision until the required processes can function without a current legacy copy and your team knows how to revert back in case of problems. Test this in a staging copy with synchronization disabled and using newly created or modified orders. Otherwise, an updated legacy database might mask the fact during testing that an export is still reading from the old tables.
If you plan to switch back to Legacy later, enable synchronization while HPOS is still the primary system. Make sure to update any missing orders and changes, check for outstanding entries, and compare the order data before switching storage systems. Set aside time for this: After a period without synchronization, the process of switching back involves not only the switchover itself but also first updating and verifying the data in the second storage system.
Sources and Current State of Knowledge
Status of the research:
Research date: November 20, 2026. WooCommerce 10.7.0 is the verified release version for the default setting of "Sync on read." The version number does not indicate either the latest available version or the setting currently in effect in a specific store.
https://developer.woocommerce.com/docs/features/orders/high-performance-order-storage/
https://developer.woocommerce.com/2023/03/17/performance-benchmarking-for-woocommerce-hpos/
https://developer.woocommerce.com/docs/features/orders/high-performance-order-storage/guide-large-store/
https://developer.woocommerce.com/docs/features/orders/high-performance-order-storage/recipe-book/
https://developer.woocommerce.com/docs/features/orders/high-performance-order-storage/enable-hpos/
https://developer.woocommerce.com/docs/features/orders/high-performance-order-storage/cli-tools/
https://developer.woocommerce.com/2026/02/16/hpos-sync-on-read-to-be-disabled-by-default-in-woocommerce-10-7/
https://developer.woocommerce.com/2026/04/15/woocommerce-10-7/
https://raw.githubusercontent.com/woocommerce/woocommerce/10.7.0/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php




