Orçun Candan

SpeedUp Meta Tables

Engineering work by Orçun Candan.

META SQL · 39 SCREENS99 → 0.66 msWHOLE PAGE · 43422 → 267 msSynthetic WooCommerce labMethod + raw results linked
Recorded lab medians / SQL and whole page are different measures
Lab-measured plugin

The problem

Meta-table joins, numeric sorts and missing-field queries can make everyday store administration slow. Improve reads while preserving existing writes and result semantics.

What I built

A WordPress plugin that learns meta-query shapes and builds narrow indexed tables for matching reads. Existing writes still go to WordPress tables; a dirty-object queue refreshes copies before reads. Unsupported query shapes remain with WordPress.

Built with Software Factory: a shared product-development workflow, with checks and owner decisions.

Results and notes

Recorded WooCommerce lab: median meta SQL fell from 99 to 0.66 ms across 39 screens; whole-page median fell from 422 to 267 ms across 43 screens. Recorded checks cover 154 SQL queries and 855 WordPress-level comparisons with no differences. Eight screens had different tied-row ordering, documented separately. Live-site, MariaDB and persistent-cache validation remain outstanding. Rewritten-query errors are not retried against original SQL.

Built with

  • PHP
  • WordPress
  • WooCommerce
  • MySQL
  • Query optimization

Links