postgresql_createadatabase

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
postgresql_createadatabase [2019/05/20 10:35] andonovjpostgresql_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:
        database_name       | pg_size_pretty        database_name       | pg_size_pretty
 ---------------------------+---------------- ---------------------------+----------------
- newsitoweb                | 18 GB + DB1                       | 18 GB 
- cruscotti                 | 9826 MB + DB2                       | 9826 MB 
- vis                       | 8508 MB + DB3                       | 6969 MB 
- ania_ltc_db               | 3231 MB +(rows)
- sca                       | 358 MB +
- gdpr                      | 245 MB +
- portalestatisticonew      | 210 MB +
- isec                      | 161 MB +
- infobila                  | 156 MB +
- ania_circolari_db3        | 109 MB +
- ania_sportelloauto_db     | 52 MB +
- ania_circolari_db         | 39 MB +
- ania_circolari_db2        | 39 MB +
- ania_circolari_stag_db    | 32 MB +
- dirdir                    | 16 MB +
- ania_periti_db            | 13 MB +
- ania_documentaledirettori | 11 MB +
- ania_gestione_attivita_db | 9081 kB +
- prenotazioni              | 7625 kB +
- autorizzazioni            | 7401 kB +
- consumatori_auto          | 7393 kB +
- schedulatore              | 7209 kB +
- attivitasi                | 6473 kB +
- postgres                  | 6321 kB +
- template0                 | 6081 kB +
- ania_comu_personale       | 5425 kB +
- ania_app                  | 5297 kB +
- ania_comu_dirigenti       | 5297 kB +
- sicweb                    | 5209 kB +
- Questionario              | 5065 kB +
- template1                 | 5033 kB +
-(31 rows)+
 </sxh> </sxh>
  • postgresql_createadatabase.1558348554.txt.gz
  • Last modified: 2019/10/18 20:04
  • (external edit)