Dokumentation · Arkitektur og beslutninger
The measurement at 150 roots: 2026-11-23, commit 8a5ed97
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: 181 metering points, 181 series, 15,196,776 readings, 396,571 day rows, 315,504 factor rows; frontier 2026-11-22. Matrix lead; the run took 1354 s; cells not reached: 0.
What else ran on the VM (4 CPUs): load average 3.16 2.80 2.66 before, 1.29 1.45 1.73 after; containers: elo-api-1, elo-b16b-api-1, elo-b16b-caddy-1, elo-b16b-postgres-1, elo-b16b-worker, elo-b66-api-1, elo-b66-caddy-1, elo-b66-postgres-1, elo-b66-worker, 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.05 | 0.05 | – |
overview.cards | too_large_for_grain | 0.04 | 0.04 | 3,333,024 |
overview.months E01 | ok | 0.22 | 0.22 | – |
overview.months G01 | too_large_for_grain | 0.05 | 0.05 | 3,333,024 |
overview.mp_variance | too_large_for_grain | 0.04 | 0.04 | 3,333,024 |
development.series E01 | ok | 0.24 | 0.25 | – |
development.series G01 | too_large_for_grain | 0.04 | 0.04 | 3,333,024 |
consumption.weekday_hours | ok | 4.69 | 4.81 | 1,666,512 |
mp.master | ok | 0.01 | 0.01 | – |
mp.tree | ok | 0.00 | 0.00 | – |
mp.series | ok | 0.08 | 0.09 | – |
mp.emission_intervals | ok | 0.36 | 0.37 | – |
mp.changes | empty | 0.00 | 0.01 | – |
mp.ingestion | ok | 0.01 | 0.01 | – |
report.footprint | ok | 17.55 | 17.85 | 1,666,512 |
Every cell
| Query | Period | Selection | cmp | Budget | State | Requests | Median s | Slowest s | Rows |
|---|---|---|---|---|---|---|---|---|---|
meta.context | – | all | – | on | ok | 5 | 0.05 | 0.05 | – |
overview.cards | ytd | all | py | on | too_large_for_grain | 5 | 0.04 | 0.04 | 3,333,024 |
overview.months E01 | ytd | all | py | on | ok | 5 | 0.22 | 0.22 | – |
overview.months G01 | ytd | all | py | on | too_large_for_grain | 5 | 0.05 | 0.05 | 3,333,024 |
overview.mp_variance | ytd | all | py | on | too_large_for_grain | 5 | 0.04 | 0.04 | 3,333,024 |
development.series E01 | ytd | all | py | on | ok | 5 | 0.24 | 0.25 | – |
development.series G01 | ytd | all | py | on | too_large_for_grain | 5 | 0.04 | 0.04 | 3,333,024 |
consumption.weekday_hours | ytd | all | – | on | ok | 5 | 4.69 | 4.81 | 1,666,512 |
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.08 | 0.09 | – |
mp.emission_intervals | 30d | one_root | – | on | ok | 5 | 0.36 | 0.37 | – |
mp.changes | 30d | one_root | – | on | empty | 5 | 0.00 | 0.01 | – |
mp.ingestion | – | one_root | – | on | ok | 5 | 0.01 | 0.01 | – |
report.footprint | ytd | all | – | on | ok | 5 | 17.55 | 17.85 | 1,666,512 |
overview.cards | ytd | all | py | off | http 500 | 1 | 60.04 | 60.04 | 3,333,024 |
overview.cards | 12m | all | py | off | http 500 | 1 | 60.04 | 60.04 | 3,731,760 |
overview.months G01 | ytd | all | py | off | ok | 1 | 46.76 | 46.76 | 3,333,024 |
overview.months G01 | 12m | all | py | off | ok | 1 | 52.05 | 52.05 | 3,731,760 |
overview.mp_variance | ytd | all | py | off | ok | 1 | 50.92 | 50.92 | 3,333,024 |
overview.mp_variance | 12m | all | py | off | ok | 1 | 56.71 | 56.71 | 3,731,760 |
development.series G01 | ytd | all | py | off | ok | 1 | 46.50 | 46.50 | 3,333,024 |
development.series G01 | 12m | all | py | off | ok | 1 | 52.21 | 52.21 | 3,731,760 |
consumption.weekday_hours | ytd | all | – | off | ok | 1 | 4.38 | 4.38 | 1,666,512 |
consumption.weekday_hours | 12m | all | – | off | ok | 1 | 4.91 | 4.91 | 1,865,880 |
report.footprint | ytd | all | – | off | ok | 1 | 17.65 | 17.65 | 1,666,512 |
report.footprint | 12m | all | – | off | ok | 1 | 19.70 | 19.70 | 1,865,880 |
meta.context | – | one_root | – | on | ok | 1 | 0.05 | 0.05 | – |
overview.cards | ytd | all | none | on | ok | 1 | 17.33 | 17.33 | 1,666,512 |
overview.cards | 30d | all | py | on | ok | 1 | 6.00 | 6.00 | 307,146 |
overview.cards | 12m | all | py | on | too_large_for_grain | 1 | 0.04 | 0.04 | 3,731,760 |
overview.cards | 6y | all | py | on | too_large_for_grain | 1 | 0.05 | 0.05 | 11,200,392 |
overview.cards | 30d | one_root | py | on | ok | 1 | 0.37 | 0.37 | 1,442 |
overview.cards | ytd | one_root | py | on | ok | 1 | 1.24 | 1.24 | 15,648 |
overview.cards | 12m | one_root | py | on | ok | 1 | 1.38 | 1.38 | 17,520 |
overview.cards | 6y | one_root | py | on | ok | 1 | 5.99 | 5.99 | 52,584 |
overview.months E01 | ytd | all | none | on | ok | 1 | 0.23 | 0.23 | – |
overview.months E01 | 30d | all | py | on | ok | 1 | 0.07 | 0.07 | – |
overview.months E01 | 12m | all | py | on | ok | 1 | 0.24 | 0.24 | – |
overview.months E01 | 6y | all | py | on | ok | 1 | 1.00 | 1.00 | – |
overview.months E01 | 30d | one_root | py | on | ok | 1 | 0.05 | 0.05 | – |
overview.months E01 | ytd | one_root | py | on | ok | 1 | 0.05 | 0.05 | – |
overview.months E01 | 12m | one_root | py | on | ok | 1 | 0.05 | 0.05 | – |
overview.months E01 | 6y | one_root | py | on | ok | 1 | 0.06 | 0.06 | – |
overview.months G01 | ytd | all | none | on | ok | 1 | 17.32 | 17.32 | 1,666,512 |
overview.months G01 | 30d | all | py | on | ok | 1 | 4.49 | 4.49 | 307,146 |
overview.months G01 | 12m | all | py | on | too_large_for_grain | 1 | 0.04 | 0.04 | 3,731,760 |
overview.months G01 | 6y | all | py | on | too_large_for_grain | 1 | 0.06 | 0.06 | 11,200,392 |
overview.months G01 | 30d | one_root | py | on | ok | 1 | 0.28 | 0.28 | 1,442 |
overview.months G01 | ytd | one_root | py | on | ok | 1 | 0.77 | 0.77 | 15,648 |
overview.months G01 | 12m | one_root | py | on | ok | 1 | 0.83 | 0.83 | 17,520 |
overview.months G01 | 6y | one_root | py | on | ok | 1 | 3.58 | 3.58 | 52,584 |
overview.mp_variance | ytd | all | none | on | unavailable:no_comparison | 1 | 0.01 | 0.01 | 1,666,512 |
overview.mp_variance | 30d | all | py | on | ok | 1 | 4.61 | 4.61 | 307,146 |
overview.mp_variance | 12m | all | py | on | too_large_for_grain | 1 | 0.04 | 0.04 | 3,731,760 |
overview.mp_variance | 6y | all | py | on | too_large_for_grain | 1 | 0.05 | 0.05 | 11,200,392 |
overview.mp_variance | 30d | one_root | py | on | ok | 1 | 0.10 | 0.10 | 1,442 |
overview.mp_variance | ytd | one_root | py | on | ok | 1 | 0.44 | 0.44 | 15,648 |
overview.mp_variance | 12m | one_root | py | on | ok | 1 | 0.49 | 0.49 | 17,520 |
overview.mp_variance | 6y | one_root | py | on | ok | 1 | 2.45 | 2.45 | 52,584 |
development.series E01 | ytd | all | none | on | ok | 1 | 0.25 | 0.25 | – |
development.series E01 | 30d | all | py | on | ok | 1 | 0.07 | 0.07 | – |
development.series E01 | 12m | all | py | on | ok | 1 | 0.28 | 0.28 | – |
development.series E01 | 6y | all | py | on | ok | 1 | 1.01 | 1.01 | – |
development.series E01 | 30d | one_root | py | on | ok | 1 | 0.05 | 0.05 | – |
development.series E01 | ytd | one_root | py | on | ok | 1 | 0.07 | 0.07 | – |
development.series E01 | 12m | one_root | py | on | ok | 1 | 0.08 | 0.08 | – |
development.series E01 | 6y | one_root | py | on | ok | 1 | 0.06 | 0.06 | – |
development.series G01 | ytd | all | none | on | ok | 1 | 17.46 | 17.46 | 1,666,512 |
development.series G01 | 30d | all | py | on | ok | 1 | 4.51 | 4.51 | 307,146 |
development.series G01 | 12m | all | py | on | too_large_for_grain | 1 | 0.04 | 0.04 | 3,731,760 |
development.series G01 | 6y | all | py | on | too_large_for_grain | 1 | 0.05 | 0.05 | 11,200,392 |
development.series G01 | 30d | one_root | py | on | ok | 1 | 0.28 | 0.28 | 1,442 |
development.series G01 | ytd | one_root | py | on | ok | 1 | 0.79 | 0.79 | 15,648 |
development.series G01 | 12m | one_root | py | on | ok | 1 | 0.87 | 0.87 | 17,520 |
development.series G01 | 6y | one_root | py | on | ok | 1 | 3.58 | 3.58 | 52,584 |
consumption.weekday_hours | 30d | all | – | on | ok | 1 | 0.45 | 0.45 | 153,573 |
consumption.weekday_hours | 12m | all | – | on | ok | 1 | 4.90 | 4.90 | 1,865,880 |
consumption.weekday_hours | 6y | all | – | on | too_large_for_grain | 1 | 0.04 | 0.04 | 11,200,392 |
consumption.weekday_hours | 30d | one_root | – | on | ok | 1 | 0.03 | 0.03 | 721 |
consumption.weekday_hours | ytd | one_root | – | on | ok | 1 | 0.11 | 0.11 | 7,824 |
consumption.weekday_hours | 12m | one_root | – | on | ok | 1 | 0.12 | 0.12 | 8,760 |
consumption.weekday_hours | 6y | one_root | – | on | ok | 1 | 0.60 | 0.60 | 52,584 |
mp.series | ytd | one_root | – | on | http 422 | 1 | 0.00 | 0.00 | – |
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.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 | 2.33 | 2.33 | 153,573 |
report.footprint | 12m | all | – | on | ok | 1 | 19.69 | 19.69 | 1,865,880 |
report.footprint | 6y | all | – | on | too_large_for_grain | 1 | 0.04 | 0.04 | 11,200,392 |
report.footprint | 30d | one_root | – | on | ok | 1 | 0.79 | 0.79 | 721 |
report.footprint | ytd | one_root | – | on | ok | 1 | 1.01 | 1.01 | 7,824 |
report.footprint | 12m | one_root | – | on | ok | 1 | 1.02 | 1.02 | 8,760 |
report.footprint | 6y | one_root | – | on | ok | 1 | 2.30 | 2.30 | 52,584 |
The daily run, make status, the loads
The daily run over 2026-11-09..2026-11-22: ts.apply_day results {'confirmed': 2534}, ts.day_load {'updated': 2534, 'inserted': 0, 'deleted': 0}, ts.reading_change {'updated': 0, 'inserted': 0, 'deleted': 0}, reading rows touched 0, 2.5 s (in one transaction, rolled back).
make status (the worker's program in a one-off container): 1.58 s, of which 0.34 s is the container's start; exit 3, 583 lines.
| Load | Roots | Series | Readings | Seconds | Readings/s |
|---|---|---|---|---|---|
| 2026-11-23T06:14:06Z | 50 | 61 | 4,942,896 | 74.6 | 66303 |
| 2026-11-23T07:09:51Z | 80 | 34 | 2,576,616 | 33.9 | 76107 |
| 2026-11-23T07:21:59Z | 150 | 86 | 7,677,264 | 109.8 | 69913 |
Sizes
| Relation | Kind | MiB | Rows (estimate) |
|---|---|---|---|
ts.reading | table | 981.1 | 15,196,776 |
ts.reading_pkey | index | 459.1 | |
ts.day_load | table | 56.9 | 396,571 |
fx.factor_hour | table | 37.5 | 315,504 |
fx.factor_hour_pkey | index | 9.5 | |
ts.day_load_pkey | index | 8.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 | 181 |
core.metering_point | table | 0.1 | 181 |
ref.code | table | 0.0 | 97 |
ts.series | table | 0.0 | 181 |
core.mp_geo | table | 0.0 | 181 |
ingest.mp_state | table | 0.0 | 150 |
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 | 3 |
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 | |
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.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: 1.52 GiB.
Kilde: docs/adr/ADR-004/2026-11-23-8a5ed97-150-roots.md i løsningens
repository.