Subject | Re: SELECT ONLY database query performance |
---|---|
Author | Adam |
Post date | 2007-02-26T23:34:53Z |
Thanks Vlad,
application you would have to be statistically very unlucky to ever
run into that issue, but good to know.
serialised in the same way as attach calls?
TIA
Adam
> a) you must not perform more than one isc_attach_database callserialize
> simultaneously (from different threads)
>
> b) you must not perform more than one operation one the same
> attachment simultaneously
>
> Simplest (but not only) way to satisfy this requirements is to
> isc_attach_database calls with critical section (or mutex) and operateNo problems, I will make some precautionary changes then. In my
> one the some attachment within the single thread
application you would have to be statistically very unlucky to ever
run into that issue, but good to know.
> > If so, what is the scope (system-wide mutex) or is an application wideclient library
> > critical section sufficient.
>
> Application wide. It is related with some inner details of
>_embedded_
> I not quite sure that attach synchronization is required for
> but it can't hurt performance if your application make something elseDo you mean disconnect calls (eg TIBDatabase.Close) should also be
> except of connect\disconnect ;)
serialised in the same way as attach calls?
TIA
Adam