Tag: MySQL performance

Database OptimizationSettings & ConfigurationWordPress

Views: 2

WordPress Database Connection: SSL, Charset, Collation, and Repair Constants

Master the wp-config.php database block: DB_CHARSET, DB_COLLATE, WP_ALLOW_REPAIR, MYSQL_CLIENT_FLAGS, a custom db.php drop-in for TLS pinning, and WP-CLI checks to verify encoding and SSL on every connection.

Read More

Performance

Views: 18

How to Find and Fix Slow Database Queries in WordPress

Slow database queries hide inside plugin loops and poorly-written WP_Query calls. This guide covers SAVEQUERIES, Query Monitor, fixing N+1 loops, update_post_meta_cache, MySQL EXPLAIN, adding wp_postmeta indexes, and transient caching.

Read More