Skip to main content
PrestaShopRAM
PrestaShopRAM Partner Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral commission at zero extra cost (Partner Disclosure).
Stack Matrix Hub (8)

ps_facetedsearch Layered Navigation & InnoDB Pool Sizing

Prevent multi-attribute category filter queries from exhausting MariaDB InnoDB and stalling PHP-FPM workers.

256 MB-8 GB InnoDB · 2k-150k SKUs · O_DIRECT

ps_facetedsearch Layered Navigation & InnoDB Pool Sizing
Telemetry verified 2026-11-07 by EuroCart Bench.

Why Multi-Select Facets Multiply Database Working Set Size

PrestaShop ps_facetedsearch joins ps_layered_price_index, ps_layered_product_attribute, and stock tables whenever shoppers toggle size, brand, or price sliders. Across 75,000 to 150,000 SKUs with combinations, the active index working set grows to 3-8 GB.

Avoiding Disk Temp Tables on Shared 256 MB Pools

On shared hosting capped at 128-256 MB InnoDB pools, concurrent ps_facetedsearch requests spill temporary sort buffers to disk, holding PHP-FPM workers open for 3-6 seconds until Nginx returns 502 Bad Gateway.

Measured Thresholds & Configuration

Catalog ScaleLight Facets PoolHeavy Facets PoolBuffer Instances
5,000 SKUs384 MB512 MB1
25,000 SKUs1,408 MB1,792 MB1-2
75,000 SKUs3,584 MB4,608 MB3-4
145,000 SKUs6,656 MB8,192 MB6-8
256 MB-8 GB InnoDB · 2k-150k SKUs · O_DIRECT Launch ChemiCloud ($4.49)Hostinger KVM 4 ($9.99)