Dokumentation · Arkitektur og beslutninger
The measurement at 80 roots: 2026-11-23, commit caa240e
Written by python -m elo_devtools.scale (B73); the ADR is docs/adr/ADR-004-scale-at-500.md.
Seconds through HTTP as elo_api, warm: the median and the slowest of five after a first.
Database: 95 metering points, 95 series, 7,519,512 readings, 208,145 day rows, 315,504 factor rows; frontier 2026-11-22. Matrix lead; the run took 1227 s; cells not reached: 0.
What else ran on the VM (4 CPUs): load average 0.70 0.77 0.98 before, 1.91 1.80 1.54 after; containers: elo-api-1, elo-b16b-api-1, elo-b16b-caddy-1, elo-b16b-postgres-1, elo-b16b-worker, elo-b77-api-1, elo-b77-caddy-1, elo-b77-postgres-1, elo-b77-testdb-postgres-1, elo-caddy-1, elo-postgres-1, elo-worker
The default views (ytd, all roots, py, the budget on)
| Query | State | Median s | Slowest s | Rows the budget counts |
|---|---|---|---|---|
meta.context | ok | 0.03 | 0.03 | – |
overview.cards | too_large_for_grain | 0.03 | 0.03 | 1,674,336 |
overview.months E01 | ok | 0.12 | 0.12 | – |
overview.months E03 | ok | 0.04 | 0.04 | – |
overview.months ENET | ok | 0.14 | 0.15 | – |
overview.months G01 | ok | 19.74 | 19.77 | 1,674,336 |
overview.mp_variance | ok | 17.34 | 17.39 | 1,674,336 |
development.series E01 | ok | 0.14 | 0.15 | – |
development.series E03 | ok | 0.06 | 0.07 | – |
development.series ENET | ok | 0.18 | 0.18 | – |
development.series G01 | ok | 19.66 | 19.79 | 1,674,336 |
consumption.weekday_hours | ok | 2.18 | 2.20 | 837,168 |
mp.master | ok | 0.01 | 0.01 | – |
mp.tree | ok | 0.00 | 0.00 | – |
mp.series | ok | 0.06 | 0.08 | – |
mp.emission_intervals | ok | 0.18 | 0.19 | – |
mp.changes | empty | 0.01 | 0.01 | – |
mp.ingestion | ok | 0.01 | 0.01 | – |
report.footprint | ok | 7.21 | 7.26 | 837,168 |
Every cell
| Query | Period | Selection | cmp | Budget | State | Requests | Median s | Slowest s | Rows |
|---|---|---|---|---|---|---|---|---|---|
meta.context | – | all | – | on | ok | 5 | 0.03 | 0.03 | – |
overview.cards | ytd | all | py | on | too_large_for_grain | 5 | 0.03 | 0.03 | 1,674,336 |
overview.months E01 | ytd | all | py | on | ok | 5 | 0.12 | 0.12 | – |
overview.months E03 | ytd | all | py | on | ok | 5 | 0.04 | 0.04 | – |
overview.months ENET | ytd | all | py | on | ok | 5 | 0.14 | 0.15 | – |
overview.months G01 | ytd | all | py | on | ok | 5 | 19.74 | 19.77 | 1,674,336 |
overview.mp_variance | ytd | all | py | on | ok | 5 | 17.34 | 17.39 | 1,674,336 |
development.series E01 | ytd | all | py | on | ok | 5 | 0.14 | 0.15 | – |
development.series E03 | ytd | all | py | on | ok | 5 | 0.06 | 0.07 | – |
development.series ENET | ytd | all | py | on | ok | 5 | 0.18 | 0.18 | – |
development.series G01 | ytd | all | py | on | ok | 5 | 19.66 | 19.79 | 1,674,336 |
consumption.weekday_hours | ytd | all | – | on | ok | 5 | 2.18 | 2.20 | 837,168 |
mp.master | – | one_root | – | on | ok | 5 | 0.01 | 0.01 | – |
mp.tree | – | one_root | – | on | ok | 5 | 0.00 | 0.00 | – |
mp.series | 30d | one_root | – | on | ok | 5 | 0.06 | 0.08 | – |
mp.emission_intervals | 30d | one_root | – | on | ok | 5 | 0.18 | 0.19 | – |
mp.changes | 30d | one_root | – | on | empty | 5 | 0.01 | 0.01 | – |
mp.ingestion | – | one_root | – | on | ok | 5 | 0.01 | 0.01 | – |
report.footprint | ytd | all | – | on | ok | 5 | 7.21 | 7.26 | 837,168 |
overview.cards | ytd | price_area | py | on | ok | 1 | 19.84 | 19.84 | 1,126,656 |
overview.months E01 | ytd | price_area | py | on | ok | 1 | 0.09 | 0.09 | – |
overview.months E03 | ytd | price_area | py | on | ok | 1 | 0.04 | 0.04 | – |
overview.months ENET | ytd | price_area | py | on | ok | 1 | 0.12 | 0.12 | – |
overview.months G01 | ytd | price_area | py | on | ok | 1 | 13.57 | 13.57 | 1,126,656 |
overview.mp_variance | ytd | price_area | py | on | ok | 1 | 9.79 | 9.79 | 1,126,656 |
development.series E01 | ytd | price_area | py | on | ok | 1 | 0.11 | 0.11 | – |
development.series E03 | ytd | price_area | py | on | ok | 1 | 0.06 | 0.06 | – |
development.series ENET | ytd | price_area | py | on | ok | 1 | 0.15 | 0.15 | – |
development.series G01 | ytd | price_area | py | on | ok | 1 | 14.02 | 14.02 | 1,126,656 |
consumption.weekday_hours | ytd | price_area | – | on | ok | 1 | 1.49 | 1.49 | 563,328 |
overview.cards | ytd | all | py | off | ok | 1 | 27.99 | 27.99 | 1,674,336 |
overview.cards | 12m | all | py | off | ok | 1 | 30.99 | 30.99 | 1,874,640 |
overview.months G01 | ytd | all | py | off | ok | 1 | 19.76 | 19.76 | 1,674,336 |
overview.months G01 | 12m | all | py | off | ok | 1 | 22.09 | 22.09 | 1,874,640 |
overview.mp_variance | ytd | all | py | off | ok | 1 | 17.21 | 17.21 | 1,674,336 |
overview.mp_variance | 12m | all | py | off | ok | 1 | 19.45 | 19.45 | 1,874,640 |
development.series G01 | ytd | all | py | off | ok | 1 | 19.80 | 19.80 | 1,674,336 |
development.series G01 | 12m | all | py | off | ok | 1 | 22.03 | 22.03 | 1,874,640 |
consumption.weekday_hours | ytd | all | – | off | ok | 1 | 2.20 | 2.20 | 837,168 |
consumption.weekday_hours | 12m | all | – | off | ok | 1 | 2.45 | 2.45 | 937,320 |
report.footprint | ytd | all | – | off | ok | 1 | 7.16 | 7.16 | 837,168 |
report.footprint | 12m | all | – | off | ok | 1 | 8.02 | 8.02 | 937,320 |
meta.context | – | one_root | – | on | ok | 1 | 0.03 | 0.03 | – |
overview.cards | ytd | all | none | on | ok | 1 | 6.80 | 6.80 | 837,168 |
overview.cards | 30d | all | py | on | ok | 1 | 2.73 | 2.73 | 154,294 |
overview.cards | 12m | all | py | on | too_large_for_grain | 1 | 0.03 | 0.03 | 1,874,640 |
overview.cards | 6y | all | py | on | too_large_for_grain | 1 | 0.03 | 0.03 | 5,626,488 |
overview.cards | 30d | one_root | py | on | ok | 1 | 0.18 | 0.18 | 1,442 |
overview.cards | ytd | one_root | py | on | ok | 1 | 0.53 | 0.53 | 15,648 |
overview.cards | 12m | one_root | py | on | ok | 1 | 0.55 | 0.55 | 17,520 |
overview.cards | 6y | one_root | py | on | ok | 1 | 2.16 | 2.16 | 52,584 |
overview.months E01 | ytd | all | none | on | ok | 1 | 0.11 | 0.11 | – |
overview.months E01 | 30d | all | py | on | ok | 1 | 0.04 | 0.04 | – |
overview.months E01 | 12m | all | py | on | ok | 1 | 0.13 | 0.13 | – |
overview.months E01 | 6y | all | py | on | ok | 1 | 0.35 | 0.35 | – |
overview.months E01 | 30d | one_root | py | on | ok | 1 | 0.03 | 0.03 | – |
overview.months E01 | ytd | one_root | py | on | ok | 1 | 0.03 | 0.03 | – |
overview.months E01 | 12m | one_root | py | on | ok | 1 | 0.03 | 0.03 | – |
overview.months E01 | 6y | one_root | py | on | ok | 1 | 0.08 | 0.08 | – |
overview.months E03 | ytd | all | none | on | ok | 1 | 0.04 | 0.04 | – |
overview.months E03 | 30d | all | py | on | ok | 1 | 0.03 | 0.03 | – |
overview.months E03 | 12m | all | py | on | ok | 1 | 0.05 | 0.05 | – |
overview.months E03 | 6y | all | py | on | ok | 1 | 0.11 | 0.11 | – |
overview.months E03 | 30d | one_root | py | on | ok | 1 | 0.03 | 0.03 | – |
overview.months E03 | ytd | one_root | py | on | ok | 1 | 0.03 | 0.03 | – |
overview.months E03 | 12m | one_root | py | on | ok | 1 | 0.03 | 0.03 | – |
overview.months E03 | 6y | one_root | py | on | ok | 1 | 0.08 | 0.08 | – |
overview.months ENET | ytd | all | none | on | ok | 1 | 0.15 | 0.15 | – |
overview.months ENET | 30d | all | py | on | ok | 1 | 0.07 | 0.07 | – |
overview.months ENET | 12m | all | py | on | ok | 1 | 0.16 | 0.16 | – |
overview.months ENET | 6y | all | py | on | ok | 1 | 0.45 | 0.45 | – |
overview.months ENET | 30d | one_root | py | on | ok | 1 | 0.05 | 0.05 | – |
overview.months ENET | ytd | one_root | py | on | ok | 1 | 0.05 | 0.05 | – |
overview.months ENET | 12m | one_root | py | on | ok | 1 | 0.06 | 0.06 | – |
overview.months ENET | 6y | one_root | py | on | ok | 1 | 0.15 | 0.15 | – |
overview.months G01 | ytd | all | none | on | ok | 1 | 7.83 | 7.83 | 837,168 |
overview.months G01 | 30d | all | py | on | ok | 1 | 2.00 | 2.00 | 154,294 |
overview.months G01 | 12m | all | py | on | ok | 1 | 22.07 | 22.07 | 1,874,640 |
overview.months G01 | 6y | all | py | on | too_large_for_grain | 1 | 0.03 | 0.03 | 5,626,488 |
overview.months G01 | 30d | one_root | py | on | ok | 1 | 0.12 | 0.12 | 1,442 |
overview.months G01 | ytd | one_root | py | on | ok | 1 | 0.40 | 0.40 | 15,648 |
overview.months G01 | 12m | one_root | py | on | ok | 1 | 0.44 | 0.44 | 17,520 |
overview.months G01 | 6y | one_root | py | on | ok | 1 | 1.52 | 1.52 | 52,584 |
overview.mp_variance | ytd | all | none | on | unavailable:no_comparison | 1 | 0.01 | 0.01 | 837,168 |
overview.mp_variance | 30d | all | py | on | ok | 1 | 1.52 | 1.52 | 154,294 |
overview.mp_variance | 12m | all | py | on | ok | 1 | 19.54 | 19.54 | 1,874,640 |
overview.mp_variance | 6y | all | py | on | too_large_for_grain | 1 | 0.03 | 0.03 | 5,626,488 |
overview.mp_variance | 30d | one_root | py | on | ok | 1 | 0.04 | 0.04 | 1,442 |
overview.mp_variance | ytd | one_root | py | on | ok | 1 | 0.12 | 0.12 | 15,648 |
overview.mp_variance | 12m | one_root | py | on | ok | 1 | 0.13 | 0.13 | 17,520 |
overview.mp_variance | 6y | one_root | py | on | ok | 1 | 0.65 | 0.65 | 52,584 |
development.series E01 | ytd | all | none | on | ok | 1 | 0.14 | 0.14 | – |
development.series E01 | 30d | all | py | on | ok | 1 | 0.04 | 0.04 | – |
development.series E01 | 12m | all | py | on | ok | 1 | 0.16 | 0.16 | – |
development.series E01 | 6y | all | py | on | ok | 1 | 0.36 | 0.36 | – |
development.series E01 | 30d | one_root | py | on | ok | 1 | 0.03 | 0.03 | – |
development.series E01 | ytd | one_root | py | on | ok | 1 | 0.05 | 0.05 | – |
development.series E01 | 12m | one_root | py | on | ok | 1 | 0.05 | 0.05 | – |
development.series E01 | 6y | one_root | py | on | ok | 1 | 0.09 | 0.09 | – |
development.series E03 | ytd | all | none | on | ok | 1 | 0.06 | 0.06 | – |
development.series E03 | 30d | all | py | on | ok | 1 | 0.04 | 0.04 | – |
development.series E03 | 12m | all | py | on | ok | 1 | 0.07 | 0.07 | – |
development.series E03 | 6y | all | py | on | ok | 1 | 0.10 | 0.10 | – |
development.series E03 | 30d | one_root | py | on | ok | 1 | 0.03 | 0.03 | – |
development.series E03 | ytd | one_root | py | on | ok | 1 | 0.05 | 0.05 | – |
development.series E03 | 12m | one_root | py | on | ok | 1 | 0.05 | 0.05 | – |
development.series E03 | 6y | one_root | py | on | ok | 1 | 0.08 | 0.08 | – |
development.series ENET | ytd | all | none | on | ok | 1 | 0.18 | 0.18 | – |
development.series ENET | 30d | all | py | on | ok | 1 | 0.07 | 0.07 | – |
development.series ENET | 12m | all | py | on | ok | 1 | 0.20 | 0.20 | – |
development.series ENET | 6y | all | py | on | ok | 1 | 0.45 | 0.45 | – |
development.series ENET | 30d | one_root | py | on | ok | 1 | 0.05 | 0.05 | – |
development.series ENET | ytd | one_root | py | on | ok | 1 | 0.07 | 0.07 | – |
development.series ENET | 12m | one_root | py | on | ok | 1 | 0.08 | 0.08 | – |
development.series ENET | 6y | one_root | py | on | ok | 1 | 0.15 | 0.15 | – |
development.series G01 | ytd | all | none | on | ok | 1 | 6.67 | 6.67 | 837,168 |
development.series G01 | 30d | all | py | on | ok | 1 | 2.06 | 2.06 | 154,294 |
development.series G01 | 12m | all | py | on | ok | 1 | 22.89 | 22.89 | 1,874,640 |
development.series G01 | 6y | all | py | on | too_large_for_grain | 1 | 0.03 | 0.03 | 5,626,488 |
development.series G01 | 30d | one_root | py | on | ok | 1 | 0.12 | 0.12 | 1,442 |
development.series G01 | ytd | one_root | py | on | ok | 1 | 0.44 | 0.44 | 15,648 |
development.series G01 | 12m | one_root | py | on | ok | 1 | 0.45 | 0.45 | 17,520 |
development.series G01 | 6y | one_root | py | on | ok | 1 | 1.53 | 1.53 | 52,584 |
consumption.weekday_hours | 30d | all | – | on | ok | 1 | 0.23 | 0.23 | 77,147 |
consumption.weekday_hours | 12m | all | – | on | ok | 1 | 2.48 | 2.48 | 937,320 |
consumption.weekday_hours | 6y | all | – | on | ok | 1 | 14.67 | 14.67 | 5,626,488 |
consumption.weekday_hours | 30d | one_root | – | on | ok | 1 | 0.02 | 0.02 | 721 |
consumption.weekday_hours | ytd | one_root | – | on | ok | 1 | 0.04 | 0.04 | 7,824 |
consumption.weekday_hours | 12m | one_root | – | on | ok | 1 | 0.04 | 0.04 | 8,760 |
consumption.weekday_hours | 6y | one_root | – | on | ok | 1 | 0.20 | 0.20 | 52,584 |
mp.series | ytd | one_root | – | on | http 422 | 1 | 0.01 | 0.01 | – |
mp.series | 12m | one_root | – | on | http 422 | 1 | 0.00 | 0.00 | – |
mp.series | 6y | one_root | – | on | http 422 | 1 | 0.01 | 0.01 | – |
mp.emission_intervals | ytd | one_root | – | on | http 422 | 1 | 0.00 | 0.00 | – |
mp.emission_intervals | 12m | one_root | – | on | http 422 | 1 | 0.00 | 0.00 | – |
mp.emission_intervals | 6y | one_root | – | on | http 422 | 1 | 0.01 | 0.01 | – |
mp.changes | ytd | one_root | – | on | empty | 1 | 0.01 | 0.01 | – |
mp.changes | 12m | one_root | – | on | empty | 1 | 0.01 | 0.01 | – |
mp.changes | 6y | one_root | – | on | empty | 1 | 0.01 | 0.01 | – |
report.footprint | 30d | all | – | on | ok | 1 | 1.38 | 1.38 | 77,147 |
report.footprint | 12m | all | – | on | ok | 1 | 8.01 | 8.01 | 937,320 |
report.footprint | 6y | all | – | on | over 30 s | 0 | – | – | 5,626,488 |
report.footprint | 30d | one_root | – | on | ok | 1 | 0.75 | 0.75 | 721 |
report.footprint | ytd | one_root | – | on | ok | 1 | 0.84 | 0.84 | 7,824 |
report.footprint | 12m | one_root | – | on | ok | 1 | 0.84 | 0.84 | 8,760 |
report.footprint | 6y | one_root | – | on | ok | 1 | 1.21 | 1.21 | 52,584 |
The daily run, make status, the loads
The daily run over 2026-11-09..2026-11-22: ts.apply_day results {'confirmed': 1330}, ts.day_load {'updated': 1330, 'inserted': 0, 'deleted': 0}, ts.reading_change {'updated': 0, 'inserted': 0, 'deleted': 0}, reading rows touched 0, 2.1 s (in one transaction, rolled back).
make status (the worker's program in a one-off container): 1.34 s, of which 0.34 s is the container's start; exit 3, 325 lines.
| Load | Roots | Series | Readings | Seconds | Readings/s |
|---|---|---|---|---|---|
| 2026-11-23T08:41:46Z | 50 | 61 | 4,942,896 | 85.8 | 57636 |
| 2026-11-23T10:00:42Z | 80 | 34 | 2,576,616 | 34.2 | 75239 |
Sizes
| Relation | Kind | MiB | Rows (estimate) |
|---|---|---|---|
ts.reading | table | 487.1 | 7,516,915 |
ts.reading_pkey | index | 228.1 | |
fx.factor_hour | table | 37.5 | 315,504 |
ts.day_load | table | 30.4 | 206,134 |
fx.factor_hour_pkey | index | 9.5 | |
ts.day_load_pkey | index | 4.5 | |
ref.calendar_day | table | 0.7 | 9,497 |
ref.calendar_day_end_utc_key | index | 0.2 | |
ref.calendar_day_pkey | index | 0.2 | |
ref.calendar_day_start_utc_key | index | 0.2 | |
core.mp_version | table | 0.1 | 95 |
core.metering_point | table | 0.0 | 95 |
ref.code | table | 0.0 | 97 |
core.metering_point_gsrn_key | index | 0.0 | |
core.metering_point_parent | index | 0.0 | |
core.metering_point_pkey | index | 0.0 | |
core.metering_point_root | index | 0.0 | |
core.mp_geo_pkey | index | 0.0 | |
core.mp_version_current | index | 0.0 | |
core.mp_version_pkey | index | 0.0 | |
ingest.mp_state_pkey | index | 0.0 | |
ingest.pace_setting_pkey | index | 0.0 | |
ingest.pacer_pkey | index | 0.0 | |
ingest.source_account_pkey | index | 0.0 | |
ingest.source_account | table | 0.0 | 1 |
migration.alembic_version_pkc | index | 0.0 | |
ops.data_version_pkey | index | 0.0 | |
raw.fetch_pkey | index | 0.0 | |
raw.fetch_requested | index | 0.0 | |
raw.fetch | table | 0.0 | 2 |
ref.code_pkey | index | 0.0 | |
ref.grid_area_pkey | index | 0.0 | |
ref.grid_area | table | 0.0 | 45 |
ref.gwp_set_pkey | index | 0.0 | |
ref.gwp_set | table | 0.0 | 2 |
ref.method_code_key | index | 0.0 | |
ref.method_pkey | index | 0.0 | |
ref.method | table | 0.0 | 2 |
ref.mp_type_pkey | index | 0.0 | |
ref.mp_type | table | 0.0 | 23 |
ref.price_area_pkey | index | 0.0 | |
ref.price_area | table | 0.0 | 2 |
ts.series_mp_id_business_type_key | index | 0.0 | |
ts.series_pkey | index | 0.0 | |
ts.series | table | 0.0 | 95 |
core.mp_geo | table | 0.0 | 95 |
fx.factor_hour_history_pkey | index | 0.0 | |
fx.factor_hour_history | table | 0.0 | 0 |
ingest.analyze_owed_pkey | index | 0.0 | |
ingest.capture_held_back_pkey | index | 0.0 | |
ingest.capture_held_back | table | 0.0 | 0 |
ingest.capture_import_pkey | index | 0.0 | |
ingest.capture_import | table | 0.0 | 0 |
ingest.chunk_due | index | 0.0 | |
ingest.chunk_lineage | index | 0.0 | |
ingest.chunk_open_no_overlap | index | 0.0 | |
ingest.chunk_pkey | index | 0.0 | |
ingest.dataset_state_pkey | index | 0.0 | |
ingest.dataset_state | table | 0.0 | 0 |
ingest.mp_state | table | 0.0 | 80 |
ingest.pace_setting | table | 0.0 | 1 |
ingest.pacer | table | 0.0 | 1 |
ingest.unknown_field_pkey | index | 0.0 | |
ingest.unknown_field | table | 0.0 | 0 |
migration.alembic_version | table | 0.0 | 1 |
ops.data_version | table | 0.0 | 1 |
ops.job_one_queued | index | 0.0 | |
ops.job_pkey | index | 0.0 | |
ops.job_queue | index | 0.0 | |
ops.job_run_job_id_attempt_key | index | 0.0 | |
ops.job_run_pkey | index | 0.0 | |
ops.job_run | table | 0.0 | 0 |
ops.job | table | 0.0 | 0 |
raw.fetch_item_mp | index | 0.0 | |
raw.fetch_item_pkey | index | 0.0 | |
raw.fetch_item | table | 0.0 | 0 |
raw.payload_pkey | index | 0.0 | |
raw.payload | table | 0.0 | 0 |
ts.reading_change_interval | index | 0.0 | |
ts.reading_change_pkey | index | 0.0 |
All relations: 0.78 GiB.
Kilde: docs/adr/ADR-004/2026-11-23-caa240e-80-roots.md i løsningens
repository.