RE: How we can limit the UOW executing time

RE: How we can limit the UOW executing time

 

  

DB2 UDB v9 on Linux

I've never tried it, I actually just thought of it 5 minutes ago, but maybe you could use the SYSIBMADM.SNAPSTMT view to list currently running applications and make decisions off of that?

It holds the AGENT_ID which can be forced if over a certain STMT or USR CPU time?


This is a total hack right off the top of my head so enter at your own risk.

:)


-----Original Message-----
From: Schleicher Jeremy D. [mailto:db2udbdba-ezmlmshield-x16465330.[Email address protected]
Sent: Wednesday, October 31, 2007 12:43 PM
To: LazyDBA Discussion
Subject: RE: How we can limit the UOW executing time

The governor is reactive. If you want to be proactive, you will need to us query patroller, which is not free.

Jeremy Schleicher
ERP Database Administrator
Florida State University

-----Original Message-----
From: Alexandre Otávio Cavalcanti de Carvalho [mailto:db2udbdba-ezmlmshield-x75839531.[Email address protected]
Sent: Wednesday, October 31, 2007 12:38 PM
To: LazyDBA Discussion
Subject: How we can limit the UOW executing time

Dear All.

How can we limit the UOW executing time of an application ??? The db2 governor just limits the UOW elapsed time or the idle time of a connection. Anyone can help me ???

Thanks.

AO.

Alexandre Otávio Cavalcanti de Carvalho,
Adm. Banco de Dados
SEFAZ/STI/CEAD
55-81-3419-6552,
55-81-9272-4965.
alexandre.[Email address protected]
[Email address protected]

"Esses termos, portanto, não podem ser aplicados ao Nirvana; a verdade absoluta está além da dualidade e da relatividade. O Nirvana é um estado incondicionado de inefável bem-aventurança, de paz e alegria sem limites, como se atesta pelas declarações daqueles que o alcançaram. Aquele que realizou esta Verdade - Nirvana - é o mais feliz dos seres. Sua saúde mental é perfeita, não se arrepende do passado, nem se preocupa com o futuro; vive o momento presente, está livre da ignorância, dos desejos egoístas, do ódio, da vaidade, do orgulho, livre das dificuldades e dos problemas que atormentam os outros".

Georges da Silva e Rita Homenko - Budismo: Psicologia do Autoconhecimento, página 71.

"Quando nem a realidade nem a não-realidade deixam de se apresentar à mente, então, na ausência de qualquer outra atitude possível, a mente, liberta de conceitos, tranqüiliza-se".

Shantideva - Bhusuku.



---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html



---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html


DB2 & UDB email list listserv db2-l LazyDBA home page