Skip to content

Add wp db tables --size command for listing tables with individual sizes #305

@mehrabmorshed

Description

@mehrabmorshed

I would like to suggest a new WP-CLI command: wp db tables --size

It will help to identify bloated tables and will be helpful for performance audits.

Proposed Command:
wp db tables --size

Output Example:

wp_posts        12 MB
wp_postmeta     14 MB
wp_options      1 MB

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions