You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple tables can specified with a comma separated list --tables t1,t2,t3
--tables-without-pk: only output the list of tables without PKs
--tables-near-pk-limit: only output the list of tables where PK is within threshold of the maximum integer size
--tables-with-composite-pk: only output the list of tables with composite PKs that also have additional indexes
This tool should do the following:
Find tables without PKs.
Output:
Tables without primary keys:
----------------------------
schema1.table1
schema2.table2
Tables where PK is close to maximum capacity. Re-use options and default thresholds from st-int-capacity-checker.
Output:
Tables with integer PK close to size limit:
-------------------------------------------
schema1.table1.column1: 90%
schema2.table2.column2: 91%
InnoDB tables with composite primary keys that also have any secondary indexes
InnoDB tables with composite primary keys *that also have secondary indexes*
----------------------------------------------------------------------------
schema1.table1
schema2.table2
The text was updated successfully, but these errors were encountered:
Parameters:
--tables t1,t2,t3
--tables-without-pk
: only output the list of tables without PKs--tables-near-pk-limit
: only output the list of tables where PK is within threshold of the maximum integer size--tables-with-composite-pk
: only output the list of tables with composite PKs that also have additional indexesThis tool should do the following:
Output:
st-int-capacity-checker.
Output:
The text was updated successfully, but these errors were encountered: