cluster-info

Follow
dbvcli cluster-info {-d|--name} CONFIGURATION_NAME [--OPTIONS]

Display information about a PostgreSQL cluster

Option

Type

Description

--role

string

cluster to display info for (primary or standby)

Example
-bash-4.2$ ./dbvcli -d PG5432 cluster-info
Connecting to the Control Center at centlin72.oraclekiwi.co.nz:4433 ✓

Checking available actions for this configuration ✓

Configuration PG5432 (centlin72.oraclekiwi.co.nz -> centlin71.oraclekiwi.co.nz)

┌───────────────┐┌───────────────┐
│               ││               │
│    Primary    ││    Standby    │
│               ││               │
│    ONLINE     ││  HOT STANDBY  │
│               ││               │
└───────────────┘└───────────────┘

Database
Select whether to display information for the primary or standby cluster.

Database:

(•) Primary (centlin72.oraclekiwi.co.nz)
( ) Standby (centlin71.oraclekiwi.co.nz)

Getting cluster information ✓

CLUSTER INFO
Cluster Status            ONLINE
Host Name                 centlin72.oraclekiwi.co.nz
Port                      5432
Data Directory            /u01/PG5432
Configuration Directory   /u01/PG5432

DATABASES
-------------------   ---------
Database Name         Size
-------------------   ---------
postgres              7.42 MB
track                 895.41 MB
template1             7.34 MB
template0             7.27 MB

Number of Databases   4
Total Size            917.44 MB

TABLESPACES
---------------   --------   ---------
Tablespace Name   Location   Size
---------------   --------   ---------
pg_default                   917.45 MB
pg_global                    531.34 KB
Have more questions? Submit a request

Comments