High Performance Order Storage

High-Performance Order Storage (HPOS) is a new database storage for orders to allow effortless scaling for large and high growth stores.

Timeframe

Originally shipped in November 2022, there are still ongoing efforts to make HPOS more optimal in terms of performance. We are targeting August 2023 (WooCommerce v 8.0) to make HPOS the default experience for new stores.

Summary

High-Performance Order Storage (HPOS) also previously known as “Custom Order Tables” is a solution that provides an easy-to-understand and solid database structure – specifically designed for eCommerce needs. It uses the WooCommerce CRUD design to store order data in custom tables – optimized for WooCommerce queries with minimal impact on the store’s performance. 

Background

Bringing High-Performance Order Storage (HPOS) to WooCommerce improves these three essential properties for eCommerce stores. 

  1. Scalability

The rise in the number of customers and customer orders increases the load on your store’s database – making it difficult to handle customer order requests and deliver a seamless user experience.

With High-Performance Order Storage, you get dedicated tables for data like orders and order addresses and thus dedicated indexes which results in fewer read/write operations and fewer busy tables. This feature enables eCommerce stores of all shapes and sizes to scale their business to their maximum potential – without expert intervention. 

  1. Reliability 

High-Performance Order Storage makes implementing and restoring targeted data backup easier. You’ll no longer need to worry about losing orders, inventory numbers, or client information with reliable backup in these custom order tables. It’ll also facilitate implementing read/write locks and prevent race conditions.

  1. Simplicity 

You no longer have to go through a single huge database to locate underlying data and WooCommerce entries. 

With High-Performance Order Storage, you can easily browse through the separate tables and easy-to-handle entries, independent of the table wp_posts, to find data or understand the table structure. It also lets you easily develop new plugins, implement designs for shops and products, and modify WooCommerce with more flexibility.

Resources