Record the before and after comparison of track 1
8x1 with the image of edc091d (before) and the one-statement write
(after), alternating per repeat, three repeats at 3 600, 5 400 and
8 100 rps. At 3 600 rps, below the knee, p95 falls from 64.5 ms
(35.7..142.5) to 3.7 ms (2.8..5.4) and p99 from 122 to 13 ms; the API
spends 391 instead of 457 % CPU and PostgreSQL 102 instead of 137 %;
connections waiting for a chat lock drop from 12.8 to 0.15 and none is
idle in transaction any more. Past the knee the peak rises from 4 252
(4 054..4 396) to 4 894 rps (4 494..5 104), +15 %, and at 8 100 rps
from 4 104 to 4 841 (+18 %); the ranges do not overlap. Saturated, the
lock holders now wait for the WAL flush (LWLock WALWrite) instead of
the application.
The switch to the after image for the third repeat failed in compose
while another lab was running tests on the shared VM, so that repeat
was run alone with --first-repeat 3 on the same database; apply now
retries compose up twice and prints its stderr. Two after rows were
still marked disturbed after three reruns and are kept; they are the
lower ones.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
296e070eba
commit
dde113b4ed
@@ -0,0 +1,234 @@
|
||||
ts,state,wait_event_type,wait_event,backends,max_connections
|
||||
1793226592,idle,Client,ClientRead,64,200
|
||||
1793226593,active,,,1,200
|
||||
1793226593,active,IO,WalSync,1,200
|
||||
1793226593,active,LWLock,LockManager,3,200
|
||||
1793226593,active,LWLock,WALWrite,9,200
|
||||
1793226593,active,Lock,transactionid,36,200
|
||||
1793226593,active,Lock,tuple,8,200
|
||||
1793226593,idle,Client,ClientRead,6,200
|
||||
1793226594,active,,,1,200
|
||||
1793226594,active,LWLock,WALWrite,8,200
|
||||
1793226594,active,Lock,transactionid,44,200
|
||||
1793226594,active,Lock,tuple,4,200
|
||||
1793226594,idle,Client,ClientRead,6,200
|
||||
1793226594,idle,Lock,transactionid,1,200
|
||||
1793226595,active,,,2,200
|
||||
1793226595,active,LWLock,WALWrite,9,200
|
||||
1793226595,active,Lock,transactionid,42,200
|
||||
1793226595,active,Lock,tuple,6,200
|
||||
1793226595,idle,Client,ClientRead,5,200
|
||||
1793226596,active,Client,ClientRead,4,200
|
||||
1793226596,active,LWLock,WALWrite,6,200
|
||||
1793226596,active,Lock,transactionid,47,200
|
||||
1793226596,active,Lock,tuple,5,200
|
||||
1793226596,idle,Client,ClientRead,2,200
|
||||
1793226597,active,IO,WalSync,1,200
|
||||
1793226597,active,LWLock,WALWrite,8,200
|
||||
1793226597,active,Lock,transactionid,38,200
|
||||
1793226597,active,Lock,tuple,12,200
|
||||
1793226597,idle,Client,ClientRead,5,200
|
||||
1793226599,active,IO,WalSync,1,200
|
||||
1793226599,active,LWLock,WALWrite,9,200
|
||||
1793226599,active,Lock,transactionid,32,200
|
||||
1793226599,active,Lock,tuple,22,200
|
||||
1793226600,active,,,1,200
|
||||
1793226600,active,Client,ClientRead,2,200
|
||||
1793226600,active,IO,WalSync,1,200
|
||||
1793226600,active,LWLock,WALWrite,5,200
|
||||
1793226600,active,Lock,transactionid,30,200
|
||||
1793226600,active,Lock,tuple,18,200
|
||||
1793226600,idle,Client,ClientRead,7,200
|
||||
1793226601,active,,,1,200
|
||||
1793226601,active,IO,WalSync,1,200
|
||||
1793226601,active,LWLock,WALWrite,7,200
|
||||
1793226601,active,Lock,transactionid,44,200
|
||||
1793226601,active,Lock,tuple,3,200
|
||||
1793226601,idle,Client,ClientRead,8,200
|
||||
1793226602,active,,,2,200
|
||||
1793226602,active,Client,ClientRead,5,200
|
||||
1793226602,active,LWLock,WALWrite,8,200
|
||||
1793226602,active,Lock,transactionid,36,200
|
||||
1793226602,active,Lock,tuple,6,200
|
||||
1793226602,idle,Lock,transactionid,4,200
|
||||
1793226602,idle,Lock,tuple,3,200
|
||||
1793226603,active,IO,WalSync,1,200
|
||||
1793226603,active,LWLock,WALWrite,9,200
|
||||
1793226603,active,Lock,transactionid,41,200
|
||||
1793226603,active,Lock,tuple,10,200
|
||||
1793226603,idle,Client,ClientRead,3,200
|
||||
1793226604,active,Client,ClientRead,2,200
|
||||
1793226604,active,IO,WalWrite,1,200
|
||||
1793226604,active,LWLock,WALWrite,8,200
|
||||
1793226604,active,Lock,transactionid,44,200
|
||||
1793226604,active,Lock,tuple,3,200
|
||||
1793226604,idle,Client,ClientRead,5,200
|
||||
1793226604,idle,Lock,tuple,1,200
|
||||
1793226605,active,,,2,200
|
||||
1793226605,active,IO,WalSync,1,200
|
||||
1793226605,active,LWLock,WALWrite,7,200
|
||||
1793226605,active,Lock,transactionid,49,200
|
||||
1793226605,active,Lock,tuple,4,200
|
||||
1793226605,idle,Client,ClientRead,1,200
|
||||
1793226607,active,IO,WalSync,1,200
|
||||
1793226607,active,LWLock,WALWrite,9,200
|
||||
1793226607,active,Lock,transactionid,38,200
|
||||
1793226607,active,Lock,tuple,12,200
|
||||
1793226607,idle,,,1,200
|
||||
1793226607,idle,Client,ClientRead,3,200
|
||||
1793226608,active,,,1,200
|
||||
1793226608,active,Client,ClientRead,5,200
|
||||
1793226608,active,LWLock,WALWrite,8,200
|
||||
1793226608,active,Lock,transactionid,36,200
|
||||
1793226608,active,Lock,tuple,7,200
|
||||
1793226608,idle,Client,ClientRead,2,200
|
||||
1793226608,idle,Lock,transactionid,3,200
|
||||
1793226608,idle,Lock,tuple,2,200
|
||||
1793226609,active,,,4,200
|
||||
1793226609,active,Client,ClientRead,3,200
|
||||
1793226609,active,IO,WalSync,2,200
|
||||
1793226609,active,LWLock,BufferContent,8,200
|
||||
1793226609,active,LWLock,LockManager,6,200
|
||||
1793226609,active,LWLock,WALWrite,5,200
|
||||
1793226609,active,Lock,transactionid,21,200
|
||||
1793226609,active,Lock,tuple,11,200
|
||||
1793226609,idle,Client,ClientRead,1,200
|
||||
1793226609,idle,Lock,transactionid,1,200
|
||||
1793226609,idle,Lock,tuple,2,200
|
||||
1793226610,active,Client,ClientRead,1,200
|
||||
1793226610,active,IO,WalSync,1,200
|
||||
1793226610,active,LWLock,WALWrite,9,200
|
||||
1793226610,active,Lock,transactionid,31,200
|
||||
1793226610,active,Lock,tuple,18,200
|
||||
1793226610,idle,Client,ClientRead,3,200
|
||||
1793226610,idle,Lock,tuple,1,200
|
||||
1793226611,active,IO,WalSync,1,200
|
||||
1793226611,active,LWLock,WALWrite,9,200
|
||||
1793226611,active,Lock,transactionid,36,200
|
||||
1793226611,active,Lock,tuple,16,200
|
||||
1793226611,idle,,,1,200
|
||||
1793226611,idle,Client,ClientRead,1,200
|
||||
1793226612,active,IO,WalSync,1,200
|
||||
1793226612,active,LWLock,WALWrite,9,200
|
||||
1793226612,active,Lock,transactionid,39,200
|
||||
1793226612,active,Lock,tuple,8,200
|
||||
1793226612,idle,,,1,200
|
||||
1793226612,idle,Client,ClientRead,5,200
|
||||
1793226612,idle,Lock,transactionid,1,200
|
||||
1793226614,active,,,1,200
|
||||
1793226614,active,Client,ClientRead,6,200
|
||||
1793226614,active,IO,WalSync,1,200
|
||||
1793226614,active,LWLock,WALWrite,7,200
|
||||
1793226614,active,Lock,transactionid,39,200
|
||||
1793226614,active,Lock,tuple,6,200
|
||||
1793226614,idle,Client,ClientRead,3,200
|
||||
1793226614,idle,Lock,tuple,1,200
|
||||
1793226615,active,,,1,200
|
||||
1793226615,active,IO,WalSync,1,200
|
||||
1793226615,active,LWLock,WALWrite,8,200
|
||||
1793226615,active,Lock,transactionid,36,200
|
||||
1793226615,active,Lock,tuple,10,200
|
||||
1793226615,idle,,,3,200
|
||||
1793226615,idle,Client,ClientRead,5,200
|
||||
1793226616,active,,,3,200
|
||||
1793226616,active,IO,WalSync,1,200
|
||||
1793226616,active,LWLock,WALWrite,6,200
|
||||
1793226616,active,Lock,transactionid,25,200
|
||||
1793226616,active,Lock,tuple,24,200
|
||||
1793226616,idle,Client,ClientRead,5,200
|
||||
1793226617,active,,,1,200
|
||||
1793226617,active,IO,WalSync,1,200
|
||||
1793226617,active,LWLock,WALWrite,9,200
|
||||
1793226617,active,Lock,transactionid,48,200
|
||||
1793226617,active,Lock,tuple,2,200
|
||||
1793226617,idle,,,1,200
|
||||
1793226617,idle,Client,ClientRead,2,200
|
||||
1793226618,active,,,2,200
|
||||
1793226618,active,IO,WalSync,1,200
|
||||
1793226618,active,LWLock,WALWrite,7,200
|
||||
1793226618,active,Lock,transactionid,37,200
|
||||
1793226618,active,Lock,tuple,10,200
|
||||
1793226618,idle,Client,ClientRead,7,200
|
||||
1793226619,active,,,1,200
|
||||
1793226619,active,IO,WalSync,1,200
|
||||
1793226619,active,LWLock,WALWrite,8,200
|
||||
1793226619,active,Lock,transactionid,38,200
|
||||
1793226619,active,Lock,tuple,7,200
|
||||
1793226619,idle,,,1,200
|
||||
1793226619,idle,Client,ClientRead,8,200
|
||||
1793226620,active,Client,ClientRead,3,200
|
||||
1793226620,active,IO,WalSync,1,200
|
||||
1793226620,active,LWLock,WALWrite,8,200
|
||||
1793226620,active,Lock,transactionid,40,200
|
||||
1793226620,active,Lock,tuple,7,200
|
||||
1793226620,idle,Client,ClientRead,4,200
|
||||
1793226620,idle,Lock,tuple,1,200
|
||||
1793226622,active,,,3,200
|
||||
1793226622,active,IO,DataFileExtend,1,200
|
||||
1793226622,active,LWLock,WALWrite,6,200
|
||||
1793226622,active,Lock,extend,1,200
|
||||
1793226622,active,Lock,transactionid,37,200
|
||||
1793226622,active,Lock,tuple,11,200
|
||||
1793226622,idle,,,1,200
|
||||
1793226622,idle,Client,ClientRead,4,200
|
||||
1793226623,active,,,1,200
|
||||
1793226623,active,IO,WalSync,1,200
|
||||
1793226623,active,LWLock,WALWrite,8,200
|
||||
1793226623,active,Lock,transactionid,39,200
|
||||
1793226623,active,Lock,tuple,6,200
|
||||
1793226623,idle,,,1,200
|
||||
1793226623,idle,Client,ClientRead,8,200
|
||||
1793226624,active,,,3,200
|
||||
1793226624,active,Client,ClientRead,1,200
|
||||
1793226624,active,IO,WalSync,1,200
|
||||
1793226624,active,LWLock,WALWrite,5,200
|
||||
1793226624,active,Lock,transactionid,32,200
|
||||
1793226624,active,Lock,tuple,16,200
|
||||
1793226624,idle,,,1,200
|
||||
1793226624,idle,Client,ClientRead,3,200
|
||||
1793226624,idle,Lock,transactionid,1,200
|
||||
1793226624,idle,Lock,tuple,1,200
|
||||
1793226625,active,IO,WalSync,1,200
|
||||
1793226625,active,LWLock,WALWrite,8,200
|
||||
1793226625,active,Lock,transactionid,40,200
|
||||
1793226625,active,Lock,tuple,9,200
|
||||
1793226625,idle,Client,ClientRead,6,200
|
||||
1793226626,active,,,3,200
|
||||
1793226626,active,IO,WalSync,1,200
|
||||
1793226626,active,LWLock,LockManager,5,200
|
||||
1793226626,active,LWLock,WALWrite,7,200
|
||||
1793226626,active,Lock,transactionid,33,200
|
||||
1793226626,active,Lock,tuple,10,200
|
||||
1793226626,idle,Client,ClientRead,5,200
|
||||
1793226627,active,,,1,200
|
||||
1793226627,active,IO,WalSync,1,200
|
||||
1793226627,active,LWLock,WALWrite,8,200
|
||||
1793226627,active,Lock,transactionid,31,200
|
||||
1793226627,active,Lock,tuple,21,200
|
||||
1793226627,idle,Client,ClientRead,2,200
|
||||
1793226628,active,,,1,200
|
||||
1793226628,active,IO,WalSync,1,200
|
||||
1793226628,active,LWLock,WALWrite,7,200
|
||||
1793226628,active,Lock,transactionid,26,200
|
||||
1793226628,active,Lock,tuple,11,200
|
||||
1793226628,idle,Client,ClientRead,18,200
|
||||
1793226630,active,Client,ClientRead,1,200
|
||||
1793226630,active,IO,WalSync,1,200
|
||||
1793226630,active,LWLock,WALWrite,8,200
|
||||
1793226630,active,Lock,transactionid,32,200
|
||||
1793226630,active,Lock,tuple,17,200
|
||||
1793226630,idle,Client,ClientRead,5,200
|
||||
1793226631,active,IO,WalSync,1,200
|
||||
1793226631,active,LWLock,WALWrite,9,200
|
||||
1793226631,active,Lock,transactionid,40,200
|
||||
1793226631,active,Lock,tuple,8,200
|
||||
1793226631,idle,,,1,200
|
||||
1793226631,idle,Client,ClientRead,5,200
|
||||
1793226632,active,,,1,200
|
||||
1793226632,active,IO,WalSync,1,200
|
||||
1793226632,active,LWLock,WALWrite,8,200
|
||||
1793226632,active,Lock,transactionid,36,200
|
||||
1793226632,active,Lock,tuple,15,200
|
||||
1793226632,idle,Client,ClientRead,2,200
|
||||
1793226632,idle,Lock,tuple,1,200
|
||||
1793226633,idle,Client,ClientRead,64,200
|
||||
|
Reference in New Issue
Block a user