wp db size
Displays the database name and size
Options
Name | Description |
---|---|
--size_format <format> | Display the database size only, as a bare number |
--tables | Display each table name and size instead of the database size |
--human-readable | Display database sizes in human readable formats |
--format <options> | Render output in a particular format |
--scope <scope> | Can be all, global, ms_global, blog, or old tables. Defaults to all |
--network | List all the tables in a multisite install |
--all-tables-with-prefix | List all tables that match the table prefix even if not registered on $wpdb. Overrides –network |
--all-tables | List all tables in the database, regardless of the prefix, and even if not registered on $wpdb. Overrides –all-tables-with-prefix |