Sizing¶
What one refresh of a data domain costs, how its storage grows, a forecast, and whether a refresh fits in the clock.
| Where | Run & monitor |
| Who sees it | Admin only. |
| Writes to the store | Nothing. A build reads the store with two grouped requests. |
| Valid-time banner | Not followed: the page shows the current state, and the banner says so. |
What you do¶
Pick a data domain, a horizon (month, quarter, semester or year) and a window in days, then Run. The report shows:
- Refresh cost per clock step: elapsed time, CPU, I/O and peak spool. Elapsed time is given three ways: sequential (what a plain
roll_outcosts), by waves (the floor when independent processes run together, from the lineage graph) and measured (first start to last end in the logs). - Does a refresh fit in the clock? The p90 refresh against the time between two steps of the domain's clock, and the date from which it no longer fits.
- Storage growth: rows and bytes added per step, estimated from the
ValidStartof the stored values (no new table). The first step of a process is its initial load and is shown apart. Include storage reads each storage table of the domain once; untick it for a quick look at run times. - Forecast over the horizon, with a band, for each series (none under 6 usable steps), and a table of the processes with their share of a refresh.
Durations are measured on this platform's AMPs; the same domain on another platform will not take the same time (CPU and I/O travel better). A build reads the store with two grouped requests and writes nothing. One build runs at a time; the last build is shown again when you return, and HTML, Markdown and CSV (steps or processes) download it. Clicking a process name opens its object menu. Python equivalent: tdfs4ds.write_domain_sizing_report('<domain>'). Writes: nothing. Banner: current state.
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 sizes the first data domain it finds and writes the report (tdfs4ds.write_domain_sizing_report).