Dokumentation · Arkitektur og beslutninger
The measurement at 50 roots: 2026-11-23, commit 3f12c2c
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: 61 metering points, 61 series, 4,942,896 readings, 133,651 day rows, 315,504 factor rows; frontier 2026-11-22. Matrix lead; the run took 809 s; cells not reached: 0.
What else ran on the VM (4 CPUs): load average 2.25 2.73 2.67 before, 2.93 2.91 2.80 after; containers: elo-api-1, elo-b16b-api-1, elo-b16b-caddy-1, elo-b16b-postgres-1, elo-b16b-worker, elo-b51-testdb-postgres-1, elo-b66-testdb-postgres-1, elo-b73-api-1, elo-b73-caddy-1, elo-b73-postgres-1, elo-b73-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 | ok | 18.66 | 18.75 | 1,064,064 |
overview.months E01 | ok | 0.08 | 0.08 | – |
overview.months G01 | ok | 13.37 | 13.57 | 1,064,064 |
overview.mp_variance | ok | 6.20 | 6.36 | 1,064,064 |
development.series E01 | ok | 0.10 | 0.10 | – |
development.series G01 | ok | 12.72 | 12.91 | 1,064,064 |
consumption.weekday_hours | ok | 1.45 | 1.51 | 532,032 |
mp.master | ok | 0.01 | 0.01 | – |
mp.tree | ok | 0.00 | 0.00 | – |
mp.series | ok | 0.05 | 0.05 | – |
mp.emission_intervals | ok | 0.33 | 0.34 | – |
mp.changes | empty | 0.01 | 0.01 | – |
mp.ingestion | ok | 0.01 | 0.01 | – |
report.footprint | ok | 4.65 | 4.82 | 532,032 |
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 | ok | 5 | 18.66 | 18.75 | 1,064,064 |
overview.months E01 | ytd | all | py | on | ok | 5 | 0.08 | 0.08 | – |
overview.months G01 | ytd | all | py | on | ok | 5 | 13.37 | 13.57 | 1,064,064 |
overview.mp_variance | ytd | all | py | on | ok | 5 | 6.20 | 6.36 | 1,064,064 |
development.series E01 | ytd | all | py | on | ok | 5 | 0.10 | 0.10 | – |
development.series G01 | ytd | all | py | on | ok | 5 | 12.72 | 12.91 | 1,064,064 |
consumption.weekday_hours | ytd | all | – | on | ok | 5 | 1.45 | 1.51 | 532,032 |
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.05 | 0.05 | – |
mp.emission_intervals | 30d | one_root | – | on | ok | 5 | 0.33 | 0.34 | – |
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 | 4.65 | 4.82 | 532,032 |
overview.cards | ytd | all | py | off | ok | 1 | 18.45 | 18.45 | 1,064,064 |
overview.cards | 12m | all | py | off | ok | 1 | 20.66 | 20.66 | 1,191,360 |
overview.months G01 | ytd | all | py | off | ok | 1 | 12.74 | 12.74 | 1,064,064 |
overview.months G01 | 12m | all | py | off | ok | 1 | 14.03 | 14.03 | 1,191,360 |
overview.mp_variance | ytd | all | py | off | ok | 1 | 9.80 | 9.80 | 1,064,064 |
overview.mp_variance | 12m | all | py | off | ok | 1 | 10.99 | 10.99 | 1,191,360 |
development.series G01 | ytd | all | py | off | ok | 1 | 12.46 | 12.46 | 1,064,064 |
development.series G01 | 12m | all | py | off | ok | 1 | 14.18 | 14.18 | 1,191,360 |
consumption.weekday_hours | ytd | all | – | off | ok | 1 | 1.44 | 1.44 | 532,032 |
consumption.weekday_hours | 12m | all | – | off | ok | 1 | 1.61 | 1.61 | 595,680 |
report.footprint | ytd | all | – | off | ok | 1 | 4.70 | 4.70 | 532,032 |
report.footprint | 12m | all | – | off | ok | 1 | 5.09 | 5.09 | 595,680 |
meta.context | – | one_root | – | on | ok | 1 | 0.03 | 0.03 | – |
overview.cards | ytd | all | none | on | ok | 1 | 4.11 | 4.11 | 532,032 |
overview.cards | 30d | all | py | on | ok | 1 | 1.87 | 1.87 | 98,056 |
overview.cards | 12m | all | py | on | ok | 1 | 20.86 | 20.86 | 1,191,360 |
overview.cards | 6y | all | py | on | too_large_for_grain | 1 | 0.02 | 0.02 | 3,575,712 |
overview.cards | 30d | one_root | py | on | ok | 1 | 0.29 | 0.29 | 1,442 |
overview.cards | ytd | one_root | py | on | ok | 1 | 0.93 | 0.93 | 15,648 |
overview.cards | 12m | one_root | py | on | ok | 1 | 1.00 | 1.00 | 17,520 |
overview.cards | 6y | one_root | py | on | ok | 1 | 4.56 | 4.56 | 52,584 |
overview.months E01 | ytd | all | none | on | ok | 1 | 0.08 | 0.08 | – |
overview.months E01 | 30d | all | py | on | ok | 1 | 0.03 | 0.03 | – |
overview.months E01 | 12m | all | py | on | ok | 1 | 0.08 | 0.08 | – |
overview.months E01 | 6y | all | py | on | ok | 1 | 0.25 | 0.25 | – |
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.02 | 0.02 | – |
overview.months E01 | 12m | one_root | py | on | ok | 1 | 0.02 | 0.02 | – |
overview.months E01 | 6y | one_root | py | on | ok | 1 | 0.07 | 0.07 | – |
overview.months G01 | ytd | all | none | on | ok | 1 | 4.09 | 4.09 | 532,032 |
overview.months G01 | 30d | all | py | on | ok | 1 | 1.36 | 1.36 | 98,056 |
overview.months G01 | 12m | all | py | on | ok | 1 | 14.10 | 14.10 | 1,191,360 |
overview.months G01 | 6y | all | py | on | too_large_for_grain | 1 | 0.02 | 0.02 | 3,575,712 |
overview.months G01 | 30d | one_root | py | on | ok | 1 | 0.25 | 0.25 | 1,442 |
overview.months G01 | ytd | one_root | py | on | ok | 1 | 0.61 | 0.61 | 15,648 |
overview.months G01 | 12m | one_root | py | on | ok | 1 | 0.66 | 0.66 | 17,520 |
overview.months G01 | 6y | one_root | py | on | ok | 1 | 2.72 | 2.72 | 52,584 |
overview.mp_variance | ytd | all | none | on | unavailable:no_comparison | 1 | 0.01 | 0.01 | 532,032 |
overview.mp_variance | 30d | all | py | on | ok | 1 | 0.59 | 0.59 | 98,056 |
overview.mp_variance | 12m | all | py | on | ok | 1 | 6.76 | 6.76 | 1,191,360 |
overview.mp_variance | 6y | all | py | on | too_large_for_grain | 1 | 0.02 | 0.02 | 3,575,712 |
overview.mp_variance | 30d | one_root | py | on | ok | 1 | 0.05 | 0.05 | 1,442 |
overview.mp_variance | ytd | one_root | py | on | ok | 1 | 0.31 | 0.31 | 15,648 |
overview.mp_variance | 12m | one_root | py | on | ok | 1 | 0.35 | 0.35 | 17,520 |
overview.mp_variance | 6y | one_root | py | on | ok | 1 | 1.84 | 1.84 | 52,584 |
development.series E01 | ytd | all | none | on | ok | 1 | 0.10 | 0.10 | – |
development.series E01 | 30d | all | py | on | ok | 1 | 0.03 | 0.03 | – |
development.series E01 | 12m | all | py | on | ok | 1 | 0.11 | 0.11 | – |
development.series E01 | 6y | all | py | on | ok | 1 | 0.25 | 0.25 | – |
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.04 | 0.04 | – |
development.series E01 | 6y | one_root | py | on | ok | 1 | 0.07 | 0.07 | – |
development.series G01 | ytd | all | none | on | ok | 1 | 4.03 | 4.03 | 532,032 |
development.series G01 | 30d | all | py | on | ok | 1 | 1.33 | 1.33 | 98,056 |
development.series G01 | 12m | all | py | on | ok | 1 | 13.73 | 13.73 | 1,191,360 |
development.series G01 | 6y | all | py | on | too_large_for_grain | 1 | 0.02 | 0.02 | 3,575,712 |
development.series G01 | 30d | one_root | py | on | ok | 1 | 0.24 | 0.24 | 1,442 |
development.series G01 | ytd | one_root | py | on | ok | 1 | 0.62 | 0.62 | 15,648 |
development.series G01 | 12m | one_root | py | on | ok | 1 | 0.69 | 0.69 | 17,520 |
development.series G01 | 6y | one_root | py | on | ok | 1 | 2.67 | 2.67 | 52,584 |
consumption.weekday_hours | 30d | all | – | on | ok | 1 | 0.18 | 0.18 | 49,028 |
consumption.weekday_hours | 12m | all | – | on | ok | 1 | 1.58 | 1.58 | 595,680 |
consumption.weekday_hours | 6y | all | – | on | too_large_for_grain | 1 | 0.03 | 0.03 | 3,575,712 |
consumption.weekday_hours | 30d | one_root | – | on | ok | 1 | 0.02 | 0.02 | 721 |
consumption.weekday_hours | ytd | one_root | – | on | ok | 1 | 0.07 | 0.07 | 7,824 |
consumption.weekday_hours | 12m | one_root | – | on | ok | 1 | 0.10 | 0.10 | 8,760 |
consumption.weekday_hours | 6y | one_root | – | on | ok | 1 | 0.40 | 0.40 | 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.01 | 0.01 | – |
mp.series | 6y | one_root | – | on | http 422 | 1 | 0.01 | 0.01 | – |
mp.emission_intervals | ytd | one_root | – | on | http 422 | 1 | 0.01 | 0.01 | – |
mp.emission_intervals | 12m | one_root | – | on | http 422 | 1 | 0.01 | 0.01 | – |
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.21 | 1.21 | 49,028 |
report.footprint | 12m | all | – | on | ok | 1 | 5.02 | 5.02 | 595,680 |
report.footprint | 6y | all | – | on | too_large_for_grain | 1 | 0.02 | 0.02 | 3,575,712 |
report.footprint | 30d | one_root | – | on | ok | 1 | 0.81 | 0.81 | 721 |
report.footprint | ytd | one_root | – | on | ok | 1 | 0.95 | 0.95 | 7,824 |
report.footprint | 12m | one_root | – | on | ok | 1 | 0.95 | 0.95 | 8,760 |
report.footprint | 6y | one_root | – | on | ok | 1 | 1.85 | 1.85 | 52,584 |
The daily run, make status, the loads
The daily run over 2026-11-09..2026-11-22: ts.apply_day results {'confirmed': 854}, ts.day_load {'updated': 854, 'inserted': 0, 'deleted': 0}, ts.reading_change {'updated': 0, 'inserted': 0, 'deleted': 0}, reading rows touched 0, 2.03 s (in one transaction, rolled back).
make status (the worker's program in a one-off container): 1.25 s, of which 0.37 s is the container's start; exit 3, 223 lines.
| Load | Roots | Series | Readings | Seconds | Readings/s |
|---|---|---|---|---|---|
| 2026-11-23T06:14:06Z | 50 | 61 | 4,942,896 | 74.6 | 66303 |
Sizes
| Relation | Kind | MiB | Rows (estimate) |
|---|---|---|---|
ts.reading | table | 320.7 | 4,945,094 |
ts.reading_pkey | index | 150.1 | |
fx.factor_hour | table | 37.5 | 315,504 |
ts.day_load | table | 19.1 | 133,635 |
fx.factor_hour_pkey | index | 9.5 | |
ts.day_load_pkey | index | 2.9 | |
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.0 | 61 |
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.metering_point | table | 0.0 | 61 |
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 | 1 |
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 | 61 |
core.mp_geo | table | 0.0 | 61 |
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 | 50 |
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.53 GiB.
Kilde: docs/adr/ADR-004/2026-11-23-3f12c2c-50-roots.md i løsningens
repository.