Skip to content

Overview

One self-contained interactive report of the store, exportable as a single HTML file.

Where Find & understand (the page was called Report)
Who sees it All four profiles (Business analyst, Data scientist, Data engineer, Admin).
Writes to the store Nothing. Findings name the command that fixes them.
Valid-time banner Follows the date for the catalogs. Table existence and physical counts are read now.

What you see

One self-contained interactive report of the store, exportable as a single HTML file: inventory tree with entity keys tagged PI or P, remarkable facts, storage treemap, orphans, run history timeline and calendar, freshness alerts, lineage counts, time drivers and consistency findings. A window selector bounds the run history. Build storage counts reads the sizes; Scan storage for orphans reads every storage table once. The counting rules follow below.

  • The window selector bounds the run history to the last N days.
  • Build storage counts reads the table sizes (streamed). Scan storage for orphans reads every storage table once.
  • Export HTML downloads the report as one standalone file. What you see on screen is what the file holds.

Counts, valid time and orphans in detail

What is counted as a feature. A feature is the triplet (data domain, entity, feature name). The same name registered under two entities, or in two data domains, is two features. The Overview, the Store map and the consumer agent all count features this way.

The Documentation coverage card is the exception: it is labelled Features (process outputs). It counts one row per name a current process lists, because documentation is stored on the process view's columns. A line under that card reconciles it with the catalog, in the form <n> in the catalog · <m> without a current producer · <k> listed by several processes.

Catalog valid time. The catalogs are valid-time tables, so a count is only meaningful at a given instant.

  • The Overview and the Store map each have a Catalog valid time (UTC) input. Blank means the current valid time. A date-time reads the catalogs as they were at that instant (primary store only).
  • The time used is printed next to the counts.
  • Whether a table or view exists, and the physical row counts, are always read from the database as it is now.

Entity keys. In the Overview's inventory tree, each entity column is tagged PI when it is in the primary index of the entity's storage tables and P when the tables are partitioned on it; an unmarked column is neither. PI* / P* means only some of the entity's tables agree (the tooltip says how many).

Consistency & orphans. This Overview section lists, with the command that fixes each finding (nothing on the page writes):

  • Features
    • registered with no current producer;
    • listed by several processes;
    • retired from the catalog;
    • whose storage table is missing.
  • Processes
    • whose view is gone;
    • whose features are not registered (declared, never run);
    • that never ran;
    • whose features no dataset reads.
  • Storage tables: FS_T_* tables that no catalog row points to, or that only retired features point to.
  • Datasets: those that read features the catalog no longer has, or whose view is gone.

A line at the top reconciles every feature number shown by the panels.

Scan storage for orphans. This button reads every storage table once (FEATURE_ID, COUNT(*), all versions and at the valid time). It adds two kinds of finding:

  • FEATURE_IDs stored without a catalog row, either known in the catalog history or never registered;
  • registered features that have no value at that valid time.

Run it when convenient: on a large store it reads every storage table. Its result also adds orphan badges to the Store map's table cards. The Store map lists Unreferenced storage tables in its data plane.

Process counts. A process is a distinct PROCESS_ID; every panel and the consumer agent count them that way (store_consistency.catalog_counts), with the same notes (never run, not registered).

Time drivers. This Overview section lists, per process, the TimeManager it declares and the one its view reads (from the lineage graph), with a status (OK, UNDECLARED, MISMATCH, DECLARED_UNUSED, NONE, UNKNOWN), the manager's current date and the last business date the process computed, and the synchronisation groups: one manager view, soft clones, hard clones, independent. See TimeManager. The Store map shows the same section, between its metadata and data planes; at a past catalog date it reads the lineage at that date and the managers' current cursors, and says so.

Datasets missing from the lineage graph. A registered dataset whose view is not in FS_LINEAGE_GRAPH is reported (dataset_not_in_lineage) with the rebuild_lineage_graph(objects=[...]) call that adds it. Every path that builds a dataset records its lineage, restore_dataset_catalog records it for the datasets it registers or repairs, and drop_dataset closes the dropped dataset's edges (their history stays, for the lineage at a past date).

Do the same in Python

The (?) button in the top bar opens a standalone script for this page. It asks for the password with getpass, never writes to the store, and can be copied or downloaded.

The script writes the same standalone HTML file (tdfs4ds.write_store_report).

Go further