Subject | RE: [ib-support] Re: Fetching records and CPU utilization |
---|---|
Author | Thomas Steinmaurer |
Post date | 2002-11-08T10:03:22Z |
> --- In ib-support@y..., "Thomas Steinmaurer" <ts@i...> wrote:The strange thing is, that it only happens with the mentioned SQL query.
> > Hi all,
> >
> > Using EXISTS instead of IN makes the query pretty fast. Fetching
> now all rows
> > to the client application (to export them into different formats),
> the CPU
> > utilizitation for both, the client application and the ibserver.exe
> process
> > is about 45% for each. But after approx. 115.000 fetched rows, the
> CPU
> > utilizitation for the client application falls to 0% and for the
> ibserver.exe
> > to 99%. The only way to bring down the ibserver.exe process is to
> kill
> > the client application.
> >
> > This happens for different client applications.
> >
>
> I have seen such behaviour with interbase when importing a paradox
> database on the client to interbase on the server. The problem was
> that the transaction grew to big. Committing and opening a new
> transaction every 1000 records (486, 24mb server ;-) ) solved the
> problem. Have you tried to 'fetch' it in chuncks? It's possible with
> the new SQL commands FIRST SKIP.
Fetching all records from only table with for example 141.023 records works
without problems.
As I said, really strange ...
Thanks anyway!
Regards,
Thomas Steinmaurer
IB LogManager 2.1 - The Logging/Auditing Tool for InterBase and Firebird
http://www.iblogmanager.com