Why does WordPress need MySQL?

A WordPress website consists of two main elements:

  1. The WordPress files (this includes core installation files and themes, as well as plugins and uploads, which reside in the wp-content directory).
  2. The MySQL database, where the actual content is stored.
The database also holds most of your site's configuration options. 
Whenever WordPress loads a page or a post for a visitor, it will request the content to the database. Without the MySQL database, the visitor wouldn't see any of your content -- so, it's pretty important!
At Performance Foundry we take several steps to ensure the fastest database processing:
  • An object cache (faster read operations).
  • A MySQL drop-in called Aurora, where possible (several times faster than standard MySQL).
  • Database spring cleaning to remove built-up grime.
  • A separate, scalable database environment to ensure suitable resources.