1. Home
  2. Wp-cli
  3. Optimize database

Runs MySQL optimizer on the connected database.

#wordpress#cli#db
wp db optimize
copy
Full Wp-cli cheatsheet