1. Home
  2. Wp-cli
  3. Check database size

Returns sizes of all database tables in a human friendly format.

#wordpress#cli#db
wp db size --human-readable --tables
copy
Full Wp-cli cheatsheet