Tracking down major slowdowns in sql.