Subject | Re: [firebird-support] about threads |
---|---|
Author | Matthias Hanft |
Post date | 2008-03-16T07:33:21Z |
Anderson Farias schrieb:
connection when needed, reuse it somewhen later, and let it exist - and
open! - until program termination). It does work, but deep inside I have
kind of a "bad feeling" - doesn't it really "hurt" FB if a database
connection remains open for a looong time, for example, some weeks
or even months?
-Matt
>Some time ago, I had built such a connection pool myself (create/open a
> BUT, you can always use a database connection pool, that should speed up
> things (connecting to db), and you don't even need to code your own, you can
> use IBConnectionBroker that comes with IBX.
connection when needed, reuse it somewhen later, and let it exist - and
open! - until program termination). It does work, but deep inside I have
kind of a "bad feeling" - doesn't it really "hurt" FB if a database
connection remains open for a looong time, for example, some weeks
or even months?
-Matt