Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
postgresql_createadatabase [2019/05/20 10:35] – andonovj | postgresql_createadatabase [2019/10/18 20:04] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 48: | Line 48: | ||
P.S. Do not forget to update the pg_hba.conf and reload the profile so the user(ROLE) can connect to it :) | P.S. Do not forget to update the pg_hba.conf and reload the profile so the user(ROLE) can connect to it :) | ||
- | ===Get the size of all databases=== | + | ====Get the size of all databases==== |
+ | ---- | ||
Easy way to get the size of databases is to execute the following query: | Easy way to get the size of databases is to execute the following query: | ||
Line 62: | Line 63: | ||
| | ||
---------------------------+---------------- | ---------------------------+---------------- | ||
- | newsitoweb | + | DB1 | 18 GB |
- | cruscotti | + | DB2 | 9826 MB |
- | vis | 8508 MB | + | DB3 | 6969 MB |
- | | + | (3 rows) |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | (31 rows) | + | |
</ | </ |