I have a scenario where every user has been allocated 2 MB of database space.
Now I have to show Percenatge usage of their allocated space, to do so I need to know the size of s
The data is saved on disk in directories named for the database. That includes everything, including what you're not measuring (indices, etc.). Measure that.