How to analyze current SQL transactions