Manual:$wgBufferSQLResults/en

Details
Use buffered queries by default