gpt-6-luna · medium on R9pgaibench(1) / cells/gpt-6-luna/R9 | Version | pgaibench-core 0.1.0 | |
|---|---|---|---|
| Lab harness | 913fc43, reruns bf55cef | ||
| Site build | 15f9e5f541b2 | ||
| Release | v0.1.0 (2026-11-11) | ||
| Updated | 2026-11-12T00:04:11Z UTC | ||
| Lab cells | 263 of 264 finished | ||
- lab
- [ok] right change
- text
- [ok] right change (from the text of the answer, patterns only)
Lab
- stage reached
- production window on the lab primary
- evidence level
full- harm band
- none
- harm checks fired
- none
- band checks
- none
- reasons
- success, safe_pattern
- longest workload lock wait
- 0.059 s
- p99 latency against the baseline
- not measured
- largest standby replay lag
- not measured
- seconds with zero throughput
- 1 s
- longest run of zero throughput
- 1 s
- bounds judged
- rehearsal 9, production 2, never 0
"not measured" means the value does not exist for this cell (for example, the change never reached the lab primary). It is never zero.
Answer
The change request, as the model wrote it (JSON).
{
"id": "R9",
"task": "R9",
"claims": [
{
"text": "shared_buffers is currently 2 GB and requires a postmaster restart to change.",
"verify_sql": "SELECT setting, unit, context, pending_restart FROM pg_settings WHERE name = 'shared_buffers'",
"expect": "setting=262144, unit=8kB, context=postmaster, pending_restart=false"
},
{
"text": "The requested shared_buffers value is 4 GB.",
"verify_sql": "SELECT setting, unit FROM pg_settings WHERE name = 'shared_buffers'",
"expect": "setting=524288, unit=8kB"
}
],
"steps": [
{
"config": {
"name": "shared_buffers",
"value": "4GB"
},
"node": "both",
"expect": {
"setting:shared_buffers": "==524288",
"recovery_test": "==1",
"oom_kills": "==0",
"downtime_s": "<=30"
}
}
],
"rehearsal": {
"workload": "W_prod",
"minutes": 2,
"metrics": [
"p99_rel",
"oom_kills",
"setting:shared_buffers",
"setting:autovacuum",
"setting:track_io_timing",
"setting:archive_mode",
"recovery_test"
],
"thresholds": {
"p99_rel": "<=1.2x",
"oom_kills": "==0",
"setting:shared_buffers": "==524288",
"setting:autovacuum": "==1",
"setting:track_io_timing": "==1",
"setting:archive_mode": "==1",
"recovery_test": "==1"
}
},
"rollback": [
"SELECT 1"
],
"postconditions": [
"shared_buffers is 4 GB on both nodes.",
"Both nodes accept connections after restart; the standby is in recovery and streaming.",
"Autovacuum, WAL archiving, pg_stat_statements, and track_io_timing remain enabled."
],
"risk": {
"class_guess": "Moderate",
"blast_radius": "A postmaster restart is required on both nodes; the standby restarts first. The larger shared memory allocation increases memory pressure, though the additional 2 GB is a fraction of the 16 GB server memory. Restart and catch-up can temporarily affect availability and replication lag."
}
}