Store map¶
Every object of the feature store, for architects and DBAs: the catalogs (metadata) and the storage tables (data).
| Where | Govern |
| Who sees it | Data engineer and Admin. |
| Writes to the store | Nothing. |
| Valid-time banner | Follows the date for the catalogs. Table existence and physical counts are read now. |
What you see¶
Views over a dropped storage table appear in an Orphans box (the app never drops them; the button copies the DROP VIEW statements for you to review). Long groups are tables split by name prefix, and the search box filters every row.
The page shows two planes.
- Metadata plane: the catalogs that describe, govern and drive the data. They are grouped as: feature catalog; process catalog; run history and run drivers (the FilterManager / TimeManager objects the processes use); dataset catalog; business dictionary and documentation; lineage graph. Each hidden table (T) is shown with the public view (V) it is read through, with its row count and perm size.
- Data plane: the storage tables
FS_T_*, grouped by entity (the key column set). There is one table per data domain, entity and value type. Each entity group shows three lanes:- the process views that write its tables;
- the tables themselves;
- the datasets that read them.
Each table card shows:
- the number of features and the number of rows (with a bar relative to the largest table);
- the value type, perm size and AMP skew (
1 − avg/maxof per-AMP perm); - the primary index and the partitioning expression;
- its companion
FS_V_*view; - which processes write it and which datasets read it.
A table listed in the feature catalog but absent from the database is flagged TABLE MISSING.
Row counts come from the table-level statistics by default. This is cheap, but
the count is as of the last collection and current and history rows are
counted together. Count rows exactly runs COUNT(*) in CURRENT and
NONSEQUENCED VALIDTIME, one query per 25 tables, and shows current and
history separately.
Rows per feature on a table card plots its rows per feature (current and
history, one bar per feature and process version). A FEATURE_ID that is not
in the catalog for that table is shown in red. Export HTML downloads the
map as one standalone file.
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 map as one HTML file (tdfs4ds.write_efs_map; exact=True counts rows with COUNT(*)).