Below query can be used to get database data and log size details in SQL Server.

Output:

Read the rest