Use below query to get the size of a database.