Class RedbStorageStats

Assembly: redb.Tsak.Contracts.dll

Everything one instance reports in a single read: the counter window, its tables and its indexes.

public sealed record RedbStorageStats : IEquatable<RedbStorageStats>

Inheritance

Object→RedbStorageStats

Implements

Properties

ContextName

Context of that instance; null for the host's own storage.

public string? ContextName { get; init; }

CountersSince

Since when the usage counters have been counting: a statistics reset, or the server start. Null when

public DateTimeOffset? CountersSince { get; init; }

Indexes

Indexes of those tables.

public IReadOnlyList<RedbIndexInfo> Indexes { get; init; }

Instance

Instance the numbers came from; empty for the host's own storage.

public string Instance { get; init; }

IsReplica

Whether this node is a replica, so the counters describe reads served here and nowhere else.

public bool? IsReplica { get; init; }

Tables

Tables of the database, redb's own and everyone else's.

public IReadOnlyList<RedbTableInfo> Tables { get; init; }