Manual:$wgCheckDBSchema/en

Details
Live high performance sites should disable this - some checks acquire giant MySQL locks.