Snapsheet Interview Question

How do I analyze a slow database query