gp_size_of_database
The gp_toolkit.gp_size_of_database view shows the total size of a database.
This view is accessible to all users.
However, non‑superusers will only be able to see databases that they have permission to access.
| Column | Description |
|---|---|
sodddatname |
The name of the database |
sodddatsize |
The size of the database in bytes |