Sometimes, the only way to let the system continue as a whole is by surgically terminating some offending database sessions. Yes, you read it right: surgically. You might indeed be tempted to reboot the server, but you should think of that as a last resort in a business continuity scenario.
In this recipe, you will learn how to intervene, from gracefully canceling a query, to brutally killing the actual process from the command line.