Translations:Manual:$wgDebugDBTransactions/3/en

This setting enables additional database transaction lifecycle tracing in the debug output: