Page MenuHomePhabricator

`./bin/storage probe` truncate table names
Closed, ResolvedPublic

Description

It seems that ./bin/storage probe truncates table names:

phabricator_differential              1.3 MB    2.9%
    edgedata                          0.0 MB    0.0%
    differential_diffproperty         0.0 MB    0.1%
    differential_draft                0.0 MB    0.1%
    differential_hunk                 0.0 MB    0.1%
    differential_customfieldstor      0.0 MB    0.1%
    differential_commit               0.0 MB    0.1%
    differential_changeset            0.0 MB    0.1%
    differential_hunk_modern          0.0 MB    0.1%
    differential_revisionhash         0.0 MB    0.1%
    differential_transaction          0.0 MB    0.1%
    edge                              0.0 MB    0.1%
    differential_difftransaction      0.0 MB    0.1%
    differential_customfieldstri      0.0 MB    0.1%
    differential_customfieldnume      0.0 MB    0.1%
    differential_hiddencomment        0.0 MB    0.1%
    differential_diff                 0.0 MB    0.1%
    differential_affectedpath         0.0 MB    0.1%
    differential_revision             0.1 MB    0.1%
    differential_transaction_com      0.1 MB    0.2%
    differential_changeset_parse      0.5 MB    1.1%

From a quick look at the code, we aren't using PhutilConsoleTable here, but probably should. The only blocker here is that PhutilConsoleTable can't do the header rows that /.bin/storage probe currently provides:

table.png (744×1 px, 139 KB)