SDK reference / Models / Databases

PostgresUsage

Kind: class

Namespace: Egulu.Sdk.Models.Databases

What a cluster is doing now, read from PostgreSQL's own statistics. Counters are totals since statsResetAt.

Properties

NameTypeJSON nameDescription
CacheHitPercentdouble?cacheHitPercentShare of block reads served from memory, 0 to 100.
Connectionsint?connectionsConnections at the moment, and the cluster's limit.
DatabasesList<Models.Databases.PostgresDatabaseSize>?databasesSizes of the databases, largest first.
Deadlockslong?deadlocksThe deadlocks property
LongestRunningSecondsdouble?longestRunningSecondsThe age in seconds of the oldest statement that still runs.
MaxConnectionsint?maxConnectionsThe maxConnections property
ObservedAtDateTimeOffset?observedAtWhen the figures were read.
StatsResetAtDateTimeOffset?statsResetAtWhen PostgreSQL last reset its statistics.
StorageProvisionedGibint?storageProvisionedGibThe provisioned storage in GiB.
StorageUsedByteslong?storageUsedBytesThe bytes of storage in use.
TempByteslong?tempBytesThe tempBytes property
TransactionsCommittedlong?transactionsCommittedThe transactionsCommitted property
TransactionsRolledBacklong?transactionsRolledBackThe transactionsRolledBack property
UptimeSecondslong?uptimeSecondsSeconds since the server started.