How to profile slow queries?

Technical