TABLE_NAME,
CONCAT(
TRUNCATE (DATA_LENGTH / 1024 / 1024, 2),
' MB'
) AS DATA_SIZE,
CONCAT(
TRUNCATE (INDEX_LENGTH / 1024 / 1024, 2),
' MB'
) AS INDEX_SIZE
FROM
INFORMATION_SCHEMA. TABLES
WHERE
TABLE_SCHEMA = 'BFIP'
GROUP BY
TABLE_NAME
ORDER BY
DATA_LENGTH DESC;