Subject | Re: [firebird-support] current_connection |
---|---|
Author | Nando Dessena |
Post date | 2004-11-17T10:19:33Z |
Helen,
H> 24/7, it would take about 70 years to reach the maximum.
since it's an integer, at that rate you are going to overflow in slightly
more than 1.36 years. This is assuming it is unsigned. If it's signed
instead, as the docs seem to suggest, and if it starts from 0 and
not from -2.147.483.647 then you only have 0.68 years.
So be worried. ;-)
Ciao
--
Nando Dessena
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================
>>If the max value of the current_connection is reached, is it setH> Yes. I recall that someone calculated that, at 100 connections per second,
>>to 1 again?
H> 24/7, it would take about 70 years to reach the maximum.
since it's an integer, at that rate you are going to overflow in slightly
more than 1.36 years. This is assuming it is unsigned. If it's signed
instead, as the docs seem to suggest, and if it starts from 0 and
not from -2.147.483.647 then you only have 0.68 years.
So be worried. ;-)
Ciao
--
Nando Dessena
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================