[SDK reference](../../index.md) / [Models](../index.md) / [Databases](index.md)

# 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

| Name | Type | JSON name | Description |
|---|---|---|---|
| `CacheHitPercent` | `double?` | `cacheHitPercent` | Share of block reads served from memory, 0 to 100. |
| `Connections` | `int?` | `connections` | Connections at the moment, and the cluster's limit. |
| `Databases` | `List<Models.Databases.PostgresDatabaseSize>?` | `databases` | Sizes of the databases, largest first. |
| `Deadlocks` | `long?` | `deadlocks` | The deadlocks property |
| `LongestRunningSeconds` | `double?` | `longestRunningSeconds` | The age in seconds of the oldest statement that still runs. |
| `MaxConnections` | `int?` | `maxConnections` | The maxConnections property |
| `ObservedAt` | `DateTimeOffset?` | `observedAt` | When the figures were read. |
| `StatsResetAt` | `DateTimeOffset?` | `statsResetAt` | When PostgreSQL last reset its statistics. |
| `StorageProvisionedGib` | `int?` | `storageProvisionedGib` | The provisioned storage in GiB. |
| `StorageUsedBytes` | `long?` | `storageUsedBytes` | The bytes of storage in use. |
| `TempBytes` | `long?` | `tempBytes` | The tempBytes property |
| `TransactionsCommitted` | `long?` | `transactionsCommitted` | The transactionsCommitted property |
| `TransactionsRolledBack` | `long?` | `transactionsRolledBack` | The transactionsRolledBack property |
| `UptimeSeconds` | `long?` | `uptimeSeconds` | Seconds since the server started. |
