RE: killing oracle processes

From: Goulet, Richard <Richard.Goulet_at_parexel.com>
Date: Mon, 17 Aug 2009 15:44:40 -0400
Message-ID: <23C4836D8E9C5F4280A66C0C247BC16F2C86E822_at_US-BOS-MX011.na.pxl.int>



The biggest reason that I can drop on you and yes this did in fact happen in prod, was a developer who believed that a user was blocking his activity & he killed their session. Now I think that it being the CFO running some financial report near to closing time did a lot to bolster my contention that they should not have that privilege, because that afternoon we were revoking it.  

Dick Goulet
Senior Oracle DBA
PAREXEL International  


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Michael Schmitt
Sent: Monday, August 17, 2009 1:49 PM
To: 'oracle-l_at_freelists.org'
Subject: RE: killing oracle processes

Hi Rich,  

Thanks for the suggestion. We are actually on Oracle 10g. I am not sure if resource limits will work for us in this case since it is typically scheduled batch jobs or ad-hoc reports that need to be killed. These all tend to run as a common user, and will sometimes be expected to run for long periods of time. Some have suggested in separate emails that there is really no issue in development environments, but this request includes production. I am trying to think of a technical reason why it should not be done (beyond knowing what is being done in the environment we support).  

Thanks        

From: Goulet, Richard [mailto:Richard.Goulet_at_parexel.com] Sent: Monday, August 17, 2009 12:39 PM
To: Michael Schmitt; oracle-l_at_freelists.org Subject: RE: killing oracle processes  

Michael,  

    I'm going to assume that your atleast on Oracle 9i. If so have you tried enabling resource limits in their profiles? I normally create a developer profile that kills a statement after 30 minutes of CPU time. It always seems to work.  

Dick Goulet
Senior Oracle DBA
PAREXEL International    


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Michael Schmitt
Sent: Monday, August 17, 2009 11:34 AM
To: 'oracle-l_at_freelists.org'
Subject: killing oracle processes  

Hi All,  

I had a quick question that I was hoping the list could help me out with. We have a group of developers who are requesting the ability to kill their own processes in the database (PRD/DEV/TST). For example, if a poorly written report gets kicked off, one of their jobs chooses a poor execution plan, or an OWB process gets left out there. The only reason they can really offer is that they do not have to wait for the DBA team to respond. I am trying to think of technical reasons why this would not work.  

I can write a script to limit the process to be killed to their stuff, but something about this still makes me feel uneasy. Is there anything that I should worry about?  

Any thoughts?  

Thanks

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Aug 17 2009 - 14:44:40 CDT

Original text of this message