Subject | Which way of connection is prefered? |
---|---|
Author | Magicloud Magiclouds |
Post date | 2008-01-10T02:07:07Z |
Hello,
One is beginning a connection when application starts, and closing it
when application ends.
Another one is beginning a connection just when one query starts, and
closing it after the query ends.
As I know, on db like oracle or pgsql, long connection (the first way)
is better. But on db like mssql or mysql, short connection (the second
way) is better.
Which is better on FireBird?
Thanks.
One is beginning a connection when application starts, and closing it
when application ends.
Another one is beginning a connection just when one query starts, and
closing it after the query ends.
As I know, on db like oracle or pgsql, long connection (the first way)
is better. But on db like mssql or mysql, short connection (the second
way) is better.
Which is better on FireBird?
Thanks.