Eloverblik

Dokumentation · Arkitektur og beslutninger

The measurement at 420 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: 500 metering points, 500 series, 42,067,200 readings, 1,095,500 day rows, 315,504 factor rows; frontier 2026-11-22. Matrix lead; the run took 1477 s; cells not reached: 0.

What else ran on the VM (4 CPUs): load average 1.72 1.43 1.60 before, 1.64 1.49 1.51 after; containers: elo-api-1, elo-b16b-api-1, elo-b16b-caddy-1, elo-b16b-postgres-1, elo-b16b-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.110.12–
overview.cardstoo_large_for_grain0.140.159,388,800
overview.months E01ok0.590.60–
overview.months G01too_large_for_grain0.160.169,388,800
overview.mp_variancetoo_large_for_grain0.160.169,388,800
development.series E01ok0.650.66–
development.series G01too_large_for_grain0.150.169,388,800
consumption.weekday_hourstoo_large_for_grain0.040.044,694,400
mp.masterok0.010.01–
mp.treeok0.000.00–
mp.seriesok0.150.15–
mp.emission_intervalsok0.490.50–
mp.changesempty0.000.01–
mp.ingestionok0.010.01–
report.footprinttoo_large_for_grain0.040.044,694,400

Every cell

QueryPeriodSelectioncmpBudgetStateRequestsMedian sSlowest sRows
meta.context–all–onok50.110.12–
overview.cardsytdallpyontoo_large_for_grain50.140.159,388,800
overview.months E01ytdallpyonok50.590.60–
overview.months G01ytdallpyontoo_large_for_grain50.160.169,388,800
overview.mp_varianceytdallpyontoo_large_for_grain50.160.169,388,800
development.series E01ytdallpyonok50.650.66–
development.series G01ytdallpyontoo_large_for_grain50.150.169,388,800
consumption.weekday_hoursytdall–ontoo_large_for_grain50.040.044,694,400
mp.master–one_root–onok50.010.01–
mp.tree–one_root–onok50.000.00–
mp.series30done_root–onok50.150.15–
mp.emission_intervals30done_root–onok50.490.50–
mp.changes30done_root–onempty50.000.01–
mp.ingestion–one_root–onok50.010.01–
report.footprintytdall–ontoo_large_for_grain50.040.044,694,400
overview.cardsytdallpyoffover 60 s (HTTP 500)160.1060.109,388,800
overview.cards12mallpyoffover 60 s (HTTP 500)160.1160.1110,512,000
overview.months G01ytdallpyoffover 60 s (HTTP 500)160.0960.099,388,800
overview.months G0112mallpyoffover 60 s (HTTP 500)160.1060.1010,512,000
overview.mp_varianceytdallpyoffok146.8646.869,388,800
overview.mp_variance12mallpyoffok153.2853.2810,512,000
development.series G01ytdallpyoffover 60 s (HTTP 500)160.0960.099,388,800
development.series G0112mallpyoffover 60 s (HTTP 500)160.0960.0910,512,000
consumption.weekday_hoursytdall–offok112.9512.954,694,400
consumption.weekday_hours12mall–offok114.5114.515,256,000
report.footprintytdall–offok123.5123.514,694,400
report.footprint12mall–offok126.3126.315,256,000
meta.context–one_root–onok10.130.13–
meta.context–list_100–onok10.120.12–
meta.context–price_area–onok10.100.10–
overview.cardsytdallnoneontoo_large_for_grain10.040.044,694,400
overview.cards30dallpyonok111.9411.94865,200
overview.cards12mallpyontoo_large_for_grain10.150.1510,512,000
overview.cards6yallpyontoo_large_for_grain10.180.1831,550,400
overview.cards30done_rootpyonok10.620.621,442
overview.cardsytdone_rootpyonok12.322.3215,648
overview.cards12mone_rootpyonok12.622.6217,520
overview.cards6yone_rootpyonok112.9512.9552,584
overview.cards30dlist_100pyonok13.233.23196,112
overview.cardsytdlist_100pyontoo_large_for_grain10.030.032,128,128
overview.cards12mlist_100pyontoo_large_for_grain10.120.122,382,720
overview.cards6ylist_100pyontoo_large_for_grain10.040.047,151,424
overview.cards30dprice_areapyonok18.468.46576,800
overview.cardsytdprice_areapyontoo_large_for_grain10.330.336,259,200
overview.cards12mprice_areapyontoo_large_for_grain10.320.327,008,000
overview.cards6yprice_areapyontoo_large_for_grain10.090.0921,033,600
overview.months E01ytdallnoneonok10.610.61–
overview.months E0130dallpyonok10.190.19–
overview.months E0112mallpyonok10.680.68–
overview.months E016yallpyonok12.802.80–
overview.months E0130done_rootpyonok10.150.15–
overview.months E01ytdone_rootpyonok10.120.12–
overview.months E0112mone_rootpyonok10.130.13–
overview.months E016yone_rootpyonok10.130.13–
overview.months E0130dlist_100pyonok10.130.13–
overview.months E01ytdlist_100pyonok10.240.24–
overview.months E0112mlist_100pyonok10.270.27–
overview.months E016ylist_100pyonok10.910.91–
overview.months E0130dprice_areapyonok10.160.16–
overview.months E01ytdprice_areapyonok10.470.47–
overview.months E0112mprice_areapyonok10.490.49–
overview.months E016yprice_areapyonok12.402.40–
overview.months G01ytdallnoneontoo_large_for_grain10.140.144,694,400
overview.months G0130dallpyonok18.178.17865,200
overview.months G0112mallpyontoo_large_for_grain10.530.5310,512,000
overview.months G016yallpyontoo_large_for_grain10.180.1831,550,400
overview.months G0130done_rootpyonok10.400.401,442
overview.months G01ytdone_rootpyonok11.271.2715,648
overview.months G0112mone_rootpyonok11.381.3817,520
overview.months G016yone_rootpyonok16.536.5352,584
overview.months G0130dlist_100pyonok12.212.21196,112
overview.months G01ytdlist_100pyontoo_large_for_grain10.120.122,128,128
overview.months G0112mlist_100pyontoo_large_for_grain10.120.122,382,720
overview.months G016ylist_100pyontoo_large_for_grain10.030.037,151,424
overview.months G0130dprice_areapyonok15.565.56576,800
overview.months G01ytdprice_areapyontoo_large_for_grain10.340.346,259,200
overview.months G0112mprice_areapyontoo_large_for_grain10.320.327,008,000
overview.months G016yprice_areapyontoo_large_for_grain10.090.0921,033,600
overview.mp_varianceytdallnoneonunavailable:no_comparison10.020.024,694,400
overview.mp_variance30dallpyonok14.924.92865,200
overview.mp_variance12mallpyontoo_large_for_grain10.530.5310,512,000
overview.mp_variance6yallpyontoo_large_for_grain10.180.1831,550,400
overview.mp_variance30done_rootpyonok10.250.251,442
overview.mp_varianceytdone_rootpyonok11.021.0215,648
overview.mp_variance12mone_rootpyonok11.131.1317,520
overview.mp_variance6yone_rootpyonok15.925.9252,584
overview.mp_variance30dlist_100pyonok12.652.65196,112
overview.mp_varianceytdlist_100pyontoo_large_for_grain10.120.122,128,128
overview.mp_variance12mlist_100pyontoo_large_for_grain10.120.122,382,720
overview.mp_variance6ylist_100pyontoo_large_for_grain10.040.047,151,424
overview.mp_variance30dprice_areapyonok114.0314.03576,800
overview.mp_varianceytdprice_areapyontoo_large_for_grain10.330.336,259,200
overview.mp_variance12mprice_areapyontoo_large_for_grain10.330.337,008,000
overview.mp_variance6yprice_areapyontoo_large_for_grain10.090.0921,033,600
development.series E01ytdallnoneonok10.650.65–
development.series E0130dallpyonok10.190.19–
development.series E0112mallpyonok10.710.71–
development.series E016yallpyonok12.822.82–
development.series E0130done_rootpyonok10.120.12–
development.series E01ytdone_rootpyonok10.150.15–
development.series E0112mone_rootpyonok10.150.15–
development.series E016yone_rootpyonok10.130.13–
development.series E0130dlist_100pyonok10.140.14–
development.series E01ytdlist_100pyonok10.270.27–
development.series E0112mlist_100pyonok10.290.29–
development.series E016ylist_100pyonok10.910.91–
development.series E0130dprice_areapyonok10.170.17–
development.series E01ytdprice_areapyonok10.500.50–
development.series E0112mprice_areapyonok10.530.53–
development.series E016yprice_areapyonok12.402.40–
development.series G01ytdallnoneontoo_large_for_grain10.130.134,694,400
development.series G0130dallpyonok18.098.09865,200
development.series G0112mallpyontoo_large_for_grain10.530.5310,512,000
development.series G016yallpyontoo_large_for_grain10.180.1831,550,400
development.series G0130done_rootpyonok10.400.401,442
development.series G01ytdone_rootpyonok11.281.2815,648
development.series G0112mone_rootpyonok11.401.4017,520
development.series G016yone_rootpyonok16.566.5652,584
development.series G0130dlist_100pyonok12.192.19196,112
development.series G01ytdlist_100pyontoo_large_for_grain10.120.122,128,128
development.series G0112mlist_100pyontoo_large_for_grain10.120.122,382,720
development.series G016ylist_100pyontoo_large_for_grain10.040.047,151,424
development.series G0130dprice_areapyonok15.535.53576,800
development.series G01ytdprice_areapyontoo_large_for_grain10.330.336,259,200
development.series G0112mprice_areapyontoo_large_for_grain10.320.327,008,000
development.series G016yprice_areapyontoo_large_for_grain10.180.1821,033,600
consumption.weekday_hours30dall–onok11.261.26432,600
consumption.weekday_hours12mall–ontoo_large_for_grain10.040.045,256,000
consumption.weekday_hours6yall–ontoo_large_for_grain10.170.1731,550,400
consumption.weekday_hours30done_root–onok10.050.05721
consumption.weekday_hoursytdone_root–onok10.200.207,824
consumption.weekday_hours12mone_root–onok10.220.228,760
consumption.weekday_hours6yone_root–onok11.331.3352,584
consumption.weekday_hours30dlist_100–onok10.410.4198,056
consumption.weekday_hoursytdlist_100–onok12.992.991,064,064
consumption.weekday_hours12mlist_100–onok13.343.341,191,360
consumption.weekday_hours6ylist_100–ontoo_large_for_grain10.030.037,151,424
consumption.weekday_hours30dprice_area–onok11.161.16288,400
consumption.weekday_hoursytdprice_area–ontoo_large_for_grain10.310.313,129,600
consumption.weekday_hours12mprice_area–ontoo_large_for_grain10.310.313,504,000
consumption.weekday_hours6yprice_area–ontoo_large_for_grain10.090.0921,033,600
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.000.00–
mp.emission_intervals12mone_root–onhttp 42210.000.00–
mp.emission_intervals6yone_root–onhttp 42210.010.01–
mp.changesytdone_root–onempty10.000.00–
mp.changes12mone_root–onempty10.000.00–
mp.changes6yone_root–onempty10.000.00–
report.footprint30dall–onok13.463.46432,600
report.footprint12mall–ontoo_large_for_grain10.520.525,256,000
report.footprint6yall–ontoo_large_for_grain10.180.1831,550,400
report.footprint30done_root–onok10.850.85721
report.footprintytdone_root–onok11.201.207,824
report.footprint12mone_root–onok11.261.268,760
report.footprint6yone_root–onok13.883.8852,584
report.footprint30dlist_100–onok11.411.4198,056
report.footprintytdlist_100–onok16.516.511,064,064
report.footprint12mlist_100–onok17.117.111,191,360
report.footprint6ylist_100–ontoo_large_for_grain10.030.037,151,424
report.footprint30dprice_area–onok12.572.57288,400
report.footprintytdprice_area–ontoo_large_for_grain10.310.313,129,600
report.footprint12mprice_area–ontoo_large_for_grain10.310.313,504,000
report.footprint6yprice_area–ontoo_large_for_grain10.090.0921,033,600

The daily run, make status, the loads

The daily run over 2026-11-09..2026-11-22: ts.apply_day results {'confirmed': 7000}, ts.day_load {'updated': 7000, 'inserted': 0, 'deleted': 0}, ts.reading_change {'updated': 0, 'inserted': 0, 'deleted': 0}, reading rows touched 0, 4.13 s (in one transaction, rolled back).

make status (the worker's program in a one-off container): 2.61 s, of which 0.33 s is the container's start; exit 3, 1540 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
2026-11-23T07:46:57Z42031926,870,424419.664034

Sizes

RelationKindMiBRows (estimate)
ts.readingtable2,713.142,066,964
ts.reading_pkeyindex1,266.8
ts.day_loadtable156.61,095,500
fx.factor_hourtable37.5315,504
ts.day_load_pkeyindex23.5
fx.factor_hour_pkeyindex9.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.1500
core.metering_pointtable0.1500
ts.seriestable0.1500
core.mp_geotable0.1500
ingest.mp_statetable0.1420
ref.codetable0.097
core.metering_point_gsrn_keyindex0.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
ts.series_mp_id_business_type_keyindex0.0
ts.series_pkeyindex0.0
core.metering_point_parentindex0.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.04
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
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: 4.11 GiB.

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