Menu

Why the WooCommerce orders page gets slow with 100K orders (and what actually fixes it)
📰

Why the WooCommerce orders page gets slow with 100K orders (and what actually fixes it)

DEV Community: mysql·Nico Salinas·2 days ago
#wIFIOQdr
#devtomysql#devto#dev#order#orders
Long article (487 words) — no AI summary yet.
Reading 0:00
15s threshold

Your storefront is fast, but WooCommerce > Orders takes ages to open, and searching an order by the customer's email never finishes. That pattern almost always points at the size of the order tables, not your theme or your hosting plan. The storefront is cached; the admin is not.

I measured this on a test store with 100,000 orders and 20,000 refunds . Here is what I found.

First, time three screens

The order list (first page, no filters).

A search by customer email.

Opening a single order.

Slow Fast Likely cause

List and search Single order Legacy order storage (orders in wp_posts / wp_postmeta )

Search only List, single order Order volume

Every admin screen Storefront A plugin running heavy queries in the admin

Cause 1: legacy order storage

Before WooCommerce 8.2, every order was a post and every field was a row in wp_postmeta . Switching to High-Performance Order Storage (HPOS) moves orders into proper tables with indexes: WooCommerce > Settings > Advanced > Features .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.