Eloverblik

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)

QueryStateMedian sSlowest sRows the budget counts
meta.contextok0.050.05–
overview.cardstoo_large_for_grain0.040.043,333,024
overview.months E01ok0.220.22–
overview.months G01too_large_for_grain0.050.053,333,024
overview.mp_variancetoo_large_for_grain0.040.043,333,024
development.series E01ok0.240.25–
development.series G01too_large_for_grain0.040.043,333,024
consumption.weekday_hoursok4.694.811,666,512
mp.masterok0.010.01–
mp.treeok0.000.00–
mp.seriesok0.080.09–
mp.emission_intervalsok0.360.37–
mp.changesempty0.000.01–
mp.ingestionok0.010.01–
report.footprintok17.5517.851,666,512

Every cell

QueryPeriodSelectioncmpBudgetStateRequestsMedian sSlowest sRows
meta.context–all–onok50.050.05–
overview.cardsytdallpyontoo_large_for_grain50.040.043,333,024
overview.months E01ytdallpyonok50.220.22–
overview.months G01ytdallpyontoo_large_for_grain50.050.053,333,024
overview.mp_varianceytdallpyontoo_large_for_grain50.040.043,333,024
development.series E01ytdallpyonok50.240.25–
development.series G01ytdallpyontoo_large_for_grain50.040.043,333,024
consumption.weekday_hoursytdall–onok54.694.811,666,512
mp.master–one_root–onok50.010.01–
mp.tree–one_root–onok50.000.00–
mp.series30done_root–onok50.080.09–
mp.emission_intervals30done_root–onok50.360.37–
mp.changes30done_root–onempty50.000.01–
mp.ingestion–one_root–onok50.010.01–
report.footprintytdall–onok517.5517.851,666,512
overview.cardsytdallpyoffhttp 500160.0460.043,333,024
overview.cards12mallpyoffhttp 500160.0460.043,731,760
overview.months G01ytdallpyoffok146.7646.763,333,024
overview.months G0112mallpyoffok152.0552.053,731,760
overview.mp_varianceytdallpyoffok150.9250.923,333,024
overview.mp_variance12mallpyoffok156.7156.713,731,760
development.series G01ytdallpyoffok146.5046.503,333,024
development.series G0112mallpyoffok152.2152.213,731,760
consumption.weekday_hoursytdall–offok14.384.381,666,512
consumption.weekday_hours12mall–offok14.914.911,865,880
report.footprintytdall–offok117.6517.651,666,512
report.footprint12mall–offok119.7019.701,865,880
meta.context–one_root–onok10.050.05–
overview.cardsytdallnoneonok117.3317.331,666,512
overview.cards30dallpyonok16.006.00307,146
overview.cards12mallpyontoo_large_for_grain10.040.043,731,760
overview.cards6yallpyontoo_large_for_grain10.050.0511,200,392
overview.cards30done_rootpyonok10.370.371,442
overview.cardsytdone_rootpyonok11.241.2415,648
overview.cards12mone_rootpyonok11.381.3817,520
overview.cards6yone_rootpyonok15.995.9952,584
overview.months E01ytdallnoneonok10.230.23–
overview.months E0130dallpyonok10.070.07–
overview.months E0112mallpyonok10.240.24–
overview.months E016yallpyonok11.001.00–
overview.months E0130done_rootpyonok10.050.05–
overview.months E01ytdone_rootpyonok10.050.05–
overview.months E0112mone_rootpyonok10.050.05–
overview.months E016yone_rootpyonok10.060.06–
overview.months G01ytdallnoneonok117.3217.321,666,512
overview.months G0130dallpyonok14.494.49307,146
overview.months G0112mallpyontoo_large_for_grain10.040.043,731,760
overview.months G016yallpyontoo_large_for_grain10.060.0611,200,392
overview.months G0130done_rootpyonok10.280.281,442
overview.months G01ytdone_rootpyonok10.770.7715,648
overview.months G0112mone_rootpyonok10.830.8317,520
overview.months G016yone_rootpyonok13.583.5852,584
overview.mp_varianceytdallnoneonunavailable:no_comparison10.010.011,666,512
overview.mp_variance30dallpyonok14.614.61307,146
overview.mp_variance12mallpyontoo_large_for_grain10.040.043,731,760
overview.mp_variance6yallpyontoo_large_for_grain10.050.0511,200,392
overview.mp_variance30done_rootpyonok10.100.101,442
overview.mp_varianceytdone_rootpyonok10.440.4415,648
overview.mp_variance12mone_rootpyonok10.490.4917,520
overview.mp_variance6yone_rootpyonok12.452.4552,584
development.series E01ytdallnoneonok10.250.25–
development.series E0130dallpyonok10.070.07–
development.series E0112mallpyonok10.280.28–
development.series E016yallpyonok11.011.01–
development.series E0130done_rootpyonok10.050.05–
development.series E01ytdone_rootpyonok10.070.07–
development.series E0112mone_rootpyonok10.080.08–
development.series E016yone_rootpyonok10.060.06–
development.series G01ytdallnoneonok117.4617.461,666,512
development.series G0130dallpyonok14.514.51307,146
development.series G0112mallpyontoo_large_for_grain10.040.043,731,760
development.series G016yallpyontoo_large_for_grain10.050.0511,200,392
development.series G0130done_rootpyonok10.280.281,442
development.series G01ytdone_rootpyonok10.790.7915,648
development.series G0112mone_rootpyonok10.870.8717,520
development.series G016yone_rootpyonok13.583.5852,584
consumption.weekday_hours30dall–onok10.450.45153,573
consumption.weekday_hours12mall–onok14.904.901,865,880
consumption.weekday_hours6yall–ontoo_large_for_grain10.040.0411,200,392
consumption.weekday_hours30done_root–onok10.030.03721
consumption.weekday_hoursytdone_root–onok10.110.117,824
consumption.weekday_hours12mone_root–onok10.120.128,760
consumption.weekday_hours6yone_root–onok10.600.6052,584
mp.seriesytdone_root–onhttp 42210.000.00–
mp.series12mone_root–onhttp 42210.000.00–
mp.series6yone_root–onhttp 42210.010.01–
mp.emission_intervalsytdone_root–onhttp 42210.010.01–
mp.emission_intervals12mone_root–onhttp 42210.010.01–
mp.emission_intervals6yone_root–onhttp 42210.010.01–
mp.changesytdone_root–onempty10.010.01–
mp.changes12mone_root–onempty10.010.01–
mp.changes6yone_root–onempty10.010.01–
report.footprint30dall–onok12.332.33153,573
report.footprint12mall–onok119.6919.691,865,880
report.footprint6yall–ontoo_large_for_grain10.040.0411,200,392
report.footprint30done_root–onok10.790.79721
report.footprintytdone_root–onok11.011.017,824
report.footprint12mone_root–onok11.021.028,760
report.footprint6yone_root–onok12.302.3052,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.

LoadRootsSeriesReadingsSecondsReadings/s
2026-11-23T06:14:06Z50614,942,89674.666303
2026-11-23T07:09:51Z80342,576,61633.976107
2026-11-23T07:21:59Z150867,677,264109.869913

Sizes

RelationKindMiBRows (estimate)
ts.readingtable981.115,196,776
ts.reading_pkeyindex459.1
ts.day_loadtable56.9396,571
fx.factor_hourtable37.5315,504
fx.factor_hour_pkeyindex9.5
ts.day_load_pkeyindex8.5
ref.calendar_daytable0.79,497
ref.calendar_day_end_utc_keyindex0.2
ref.calendar_day_pkeyindex0.2
ref.calendar_day_start_utc_keyindex0.2
core.mp_versiontable0.1181
core.metering_pointtable0.1181
ref.codetable0.097
ts.seriestable0.0181
core.mp_geotable0.0181
ingest.mp_statetable0.0150
core.metering_point_gsrn_keyindex0.0
core.metering_point_parentindex0.0
core.metering_point_pkeyindex0.0
core.metering_point_rootindex0.0
core.mp_geo_pkeyindex0.0
core.mp_version_currentindex0.0
core.mp_version_pkeyindex0.0
ingest.mp_state_pkeyindex0.0
ingest.pace_setting_pkeyindex0.0
ingest.pacer_pkeyindex0.0
ingest.source_account_pkeyindex0.0
ingest.source_accounttable0.01
migration.alembic_version_pkcindex0.0
ops.data_version_pkeyindex0.0
raw.fetch_pkeyindex0.0
raw.fetch_requestedindex0.0
raw.fetchtable0.03
ref.code_pkeyindex0.0
ref.grid_area_pkeyindex0.0
ref.grid_areatable0.045
ref.gwp_set_pkeyindex0.0
ref.gwp_settable0.02
ref.method_code_keyindex0.0
ref.method_pkeyindex0.0
ref.methodtable0.02
ref.mp_type_pkeyindex0.0
ref.mp_typetable0.023
ref.price_area_pkeyindex0.0
ref.price_areatable0.02
ts.series_mp_id_business_type_keyindex0.0
ts.series_pkeyindex0.0
fx.factor_hour_history_pkeyindex0.0
fx.factor_hour_historytable0.00
ingest.analyze_owed_pkeyindex0.0
ingest.capture_held_back_pkeyindex0.0
ingest.capture_held_backtable0.00
ingest.capture_import_pkeyindex0.0
ingest.capture_importtable0.00
ingest.chunk_dueindex0.0
ingest.chunk_lineageindex0.0
ingest.chunk_open_no_overlapindex0.0
ingest.chunk_pkeyindex0.0
ingest.dataset_state_pkeyindex0.0
ingest.dataset_statetable0.00
ingest.pace_settingtable0.01
ingest.pacertable0.01
ingest.unknown_field_pkeyindex0.0
ingest.unknown_fieldtable0.00
migration.alembic_versiontable0.01
ops.data_versiontable0.01
ops.job_one_queuedindex0.0
ops.job_pkeyindex0.0
ops.job_queueindex0.0
ops.job_run_job_id_attempt_keyindex0.0
ops.job_run_pkeyindex0.0
ops.job_runtable0.00
ops.jobtable0.00
raw.fetch_item_mpindex0.0
raw.fetch_item_pkeyindex0.0
raw.fetch_itemtable0.00
raw.payload_pkeyindex0.0
raw.payloadtable0.00
ts.reading_change_intervalindex0.0
ts.reading_change_pkeyindex0.0

All relations: 1.52 GiB.

Kilde: docs/adr/ADR-004/2026-11-23-8a5ed97-150-roots.md i løsningens repository.