Class RedbTableInfo

Assembly: redb.Tsak.Contracts.dll

One table as the database catalogs report it. Null means the engine does not say.

public sealed record RedbTableInfo : IEquatable<RedbTableInfo>

Inheritance

Object→RedbTableInfo

Implements

Properties

DataSizeBytes

Size of the data, without the indexes.

public long? DataSizeBytes { get; init; }

DeadRows

Dead rows awaiting vacuum (PostgreSQL).

public long? DeadRows { get; init; }

EstimatedRows

Row estimate.

public long? EstimatedRows { get; init; }

HasStatistics

Whether statistics exist at all; the only answer SQLite can give about them.

public bool? HasStatistics { get; init; }

IndexesSizeBytes

Size of every index of this table together.

public long? IndexesSizeBytes { get; init; }

IsRedbOwned

Whether the table belongs to redb itself rather than to the application.

public bool IsRedbOwned { get; init; }

LastAnalyze

When statistics were last refreshed by hand.

public DateTimeOffset? LastAnalyze { get; init; }

LastAutoAnalyze

When the engine last refreshed them on its own.

public DateTimeOffset? LastAutoAnalyze { get; init; }

LastVacuum

When the table was last vacuumed (PostgreSQL).

public DateTimeOffset? LastVacuum { get; init; }

Schema

Schema of the table; null on an engine without schemas.

public string? Schema { get; init; }

Table

Table name.

public string Table { get; init; }