docs/features/high-performance-order-storage/enable-hpos.md
From WooCommerce 8.2, released on October 2023, HPOS is enabled by default for new installations. Existing stores can switch to the "High-Performance Order Storage" from "WordPress Posts Storage" by following the below steps.
To activate High-Performance Order Storage, existing stores will first need to get both the posts and orders table in sync, which can be done by turning on the setting "Enable compatibility mode (synchronizes orders to the posts table)".
Navigate to WooCommerce > Settings > Advanced > Features
Turn on the "Enable compatibility mode (synchronizes orders to the posts table)" setting.
Once this setting is activated, background actions will be scheduled.
wc_schedule_pending_batch_process checks whether there are orders that need to be backfilled.wc_run_batch_process that actually backfills the orders to post storage.
After both tables are successfully synchronized, you'll be able to select the option to switch to High-Performance Order Storage (HPOS).