Subject | Re: An existing connection was forcibly closed by the remote host (FB1.53/Win2003) |
---|---|
Author | Glebas |
Post date | 2006-03-28T05:07:19Z |
No BDE components are used here, this is C++ with native FB API.
--- In firebird-support@yahoogroups.com, David Johnson
<johnson_d@...> wrote:
--- In firebird-support@yahoogroups.com, David Johnson
<johnson_d@...> wrote:
>components
> It is a bad idea to use BDE components with an RDBMS. BDE
> were written from an ISAM world view. They expect your app to havewith
> total control of the storage hardware, and they are uncomfortable
> delegating control of the hardware to another application (theRDBMS,
> firebird in this case).it
>
>
> On Mon, 2006-03-27 at 14:35 +0000, Glebas wrote:
> > Thanks Tim, I see your point, but if the code is not optimal -
> > I expect things go slowly every day but what I see is that things
> > are usually fast but go down in a nasty way twice a week. :)
> >
> >
> > --- In firebird-support@yahoogroups.com, Tim <tim@> wrote:
> > >
> > > Write better code. :D
> > >
> > > (in Delphi terms)
> > >
> > > A TTable is a query that returns a subset of ALL the rows in a
> > table.
> > > (LOTS of network traffic) When you scroll through the table,
> > re -asked
> > > runs the query as soon as you go beyond the subset you have
> > for.more,
> > >
> > > A TQuery is a query that (as far as I understand it) returns a
> > subset
> > > of what you ask for, plus some rows on either side.
> > >
> > > A TStoredProcedure returns EXACTLY what you ask for. Nothing
> > > nothing less.have
> > >
> > > Now, I'm no expert. I may have the details wrong. (I probably
> > > the details wrong :)) But even with that, a stored procedureis
> > thedown.
> > > fastest way or returning data AND keeping the network traffic
> > >have
> > > Added to the above, the exact design of your query can also
> > an
> > > effect on network traffic. SELECT * FROM ABC obviously returns
> > more
> > > data than SELECT ROWNUMBER, CLIENTNAME from ABC.
> > >
> > > HTH
> > >
> > > Tim
>