|Subject||Re: [ib-support] Performance|
> Our application has some processes that run for an extended period ofAnything that reduces the amount of work that the server
> time(up to 4 or 5 hours) as there is alot of complicated calculations.
> These processes are written with Stored Procedures (One main
> procedure that may call many other procedures.)
> We are experiencing problems where when these procedures are running,
> they take over the server. IBServer shows it is taking 99% of the CPU
> causing all other users to virtually stop when trying to access the
> We experience a similiar problem when users run complicated queries.
> 1) Is it adviseable to process these types of calculations in Stored
> Procedures or should they be written in C++?
does will help. You don't say what the processing is, but if
it can be run on a client machine and only hold up the
server when writing each result then that would help from a
load sharing point of view. Some things are great built into
the server, but from a load sharing point of view, getting
each client to do complex stuff and just post the answers
can give much better responce times.
> 2) Is there something we can do to ensure the server isn't taken overLinux or Windows?
> by Firebird?
Linux is much better at 'load sharing' than Windows ( which
is NOT a good multi tasking OS ), so the problem here is set
the priorities so that Firebird is kicked out when something
more important comes up.
That does not help with the problem that a complex query can
lock out other database users, but if the volumn of work
means that Firebird is hogging most of the processing time,
then you need another server for the rest of the jobs or a
faster processor / more memory on the existing one.
Not a very satisfactory answer, but this is not simply a
L.S.Caine Electronic Services