Get table sizes from a database

If you need to check whether a table size changed after a process or just to monitor the table sizes of any database, the following query will help you:

Sizes in MB:

Sizes in Bytes:


In addition, if you want to do it from CLI and get an exported file, you can do the following from your terminal: