18.08.2016 18:59, Adriano dos Santos Fernandes wrote: > On 18/08/2016 11:55, Vlad Khorsun wrote: >> Global timeout is a last line of defense for DBA against bad apps, wrong >> queries, >> developer mistakes, unlucky days (dropped some indices last week but now >> some queries >> got crazy) and so on. It is *last* line, therefore it should be used with >> maximum care. >> >> > But at the same time, applications should work, not just killed.
Killed ? How ??? Application will receive error on fetch\execute - it will not be killed. Or you speak about idle session timeout ? > Therefore, I suggest something that makes the feature more useful and is > not more difficult to implement. > > Timeouts split in alert-timeout and kill-timeout. > > You can define none, both or one of them. > > The kill-timeout is what you described. > > The alert-timeout just logs. > > You can define both, of course, the alert interval must be bellow the > kill interval. > > With an alert-timeout DBA can understand how the applications and > databases works and in future set an educated value for the kill-timeout. This is easily could be done using trace. Regards, Vlad ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel