@dxos/echo
    Preparing search index...

    Interface DatabaseStats

    Per-space storage metrics returned by Database.stats.

    interface DatabaseStats {
        documents: number;
        feedBlocks: number;
        feeds: number;
        loaded: { client: ClientLoadedStats; host: HostLoadedStats };
        objects: { alive: number; deleted: number };
    }
    Index

    Properties

    documents: number

    Automerge documents owned by the space (root + linked + branch documents).

    feedBlocks: number

    Total feed blocks stored locally for the space.

    feeds: number

    Feeds registered for the space.

    loaded: { client: ClientLoadedStats; host: HostLoadedStats }

    What is resident in memory right now, as opposed to the stored counts above. Split by realm because the client and the host cache independently — a client-side working set that is never released reads as nothing at all in the host's numbers, and vice versa.

    objects: { alive: number; deleted: number }

    Type declaration

    • Readonlyalive: number

      Live (non-deleted) objects across the root and all linked documents.

    • Readonlydeleted: number

      Soft-deleted objects not yet reclaimed by garbage collection.