Skip to main content
M4 MATRIXCourseLoad Matrix · WordPress LMS Concurrency & PHP 8.3 Sizing Baseline: 2026-11-03
LearnDashVPS
LearnDashVPS Partner Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral commission at zero added cost (Disclosure).
Stacks & Runtime (9)

MariaDB innodb_buffer_pool_size for LearnDash Activity Tables

Keep wp_learndash_user_activity, wp_learndash_pro_quiz_statistic, and wp_usermeta hot pages resident in RAM to stop disk-bound quiz stalls.

1.25x Active DB Size | innodb_flush_log_at_trx_commit=2

MariaDB innodb_buffer_pool_size for LearnDash Activity Tables
Telemetry baseline verified 2026-11-03 by CourseLoad Matrix.

How Quiz Progress Writes Thrash Small Buffer Pools

Every lesson completion and quiz question answer updates wp_learndash_user_activity and wp_learndash_pro_quiz_statistic. When MariaDB ships with a 128M default innodb_buffer_pool_size, active B-tree indexes constantly evict and force synchronous NVMe reads on every student click.

Safe my.cnf Allocation Without Starving PHP-FPM

Size innodb_buffer_pool_size at 1.25x your active LMS working tables (typically 1 GB to 8 GB), never exceeding 45% of total RAM on a single-node VPS so PHP-FPM retains predictable headroom. Setting innodb_flush_log_at_trx_commit=2 eliminates per-commit fsync latency spikes during simultaneous quiz submissions.

Measured Thresholds & Configuration Targets

Active LMS Database SizeRecommended Buffer PoolRedo Log SizeMin Host RAM
< 1 GB (10k Enrollments)1,024 MB256 MB4 GB+
1 - 3 GB (50k Enrollments)2,048 - 3,072 MB512 MB8 GB+
3 - 8 GB (BuddyBoss + LD)4,096 - 6,144 MB1,024 MB16 GB+
8 - 16 GB (Multi-Cohort)8,192 - 12,288 MB2,048 MB32 GB+
1.25x Active DB Size | innodb_flush_log_at_trx_commit=2 Lock ChemiCloud TurboDeploy UltaHost VDS