Subject | Re: Why is Interbase so slow? |
---|---|
Author | john@equatorIT.com |
Post date | 2001-09-27T14:16:31Z |
--- In ib-support@y..., Helen Borrie <helebor@d...> wrote:
scores or hundreds of times faster in IB.
I and my customers have a range of servers all running NT4 or Windows
2000 Adv Server (some smaller customers use Windows 98 as servers -
but they have correspondingly smaller db's and are not having
problems).
My dev server is Pentium II 350 with 128 MB RAM on W2k Adv Server
Clients range from Petium II to my dev machine Athelon 1.2 MHz with
512 Mb RAM, etc
The BDE is version 5.01 the application is written in delphi 5.
fast or faster on IB unless there is something fundamentally wrong
with your IB setup.
your original CSQ is doing.
problem...please provide details.
No the IB6 servers have just used a restored IB5.6 backup - so
should be dialect 1 ... correct?
details (paste in a copy of your ibconfig file).
All default values -
IBConfig file from IB6.0.1.6 (opened using notepad)
V4_LOCK_MEM_SIZE 98304
V4_LOCK_SEM_COUNT 32
V4_LOCK_SIGNAL 16
V4_EVENT_MEM_SIZE 32768
DATABASE_CACHE_PAGES 75
SERVER_PRIORITY_CLASS 1
SERVER_CLIENT_MAPPING 4096
SERVER_WORKING_SIZE_MIN 0
SERVER_WORKING_SIZE_MAX 0
V4_LOCK_GRANT_ORDER 1
ANY_LOCK_MEM_SIZE 98304
ANY_LOCK_SEM_COUNT 32
ANY_LOCK_SIGNAL 16
ANY_EVENT_MEM_SIZE 32768
Thanks again Helen,
If this can fixed I would be delighted.
John
PS How do you usually override these values?
> At 01:00 AM 27-09-01 +0000, you wrote:after 1
> >Thanks for your time and efforts Helen,
> >
> >I entered the procedure and executed it - I stopped Interbase
> >1/2 hours.data involved, that solution should have been close to sub-second.
> >
> >So no great improvement.
>
> So something else is going on in your setup. With the volume of
>have
>
> >I have been developing apps using Interbase for over 4 years and
> >about 30 customers using Interbase - I am looking down the barrelof
> >dumping Interbase - this is not what I want to choose.using? Is this the kind of performance you have been used to?
>
> What kind of front end and connectivity are you using/have you been
>A Delphi 3 then 4 then 5 app using the BDE.
>Queries that take hours or days (or never complete) in SQL Server are
> >The basis of my question I guess is why is it so difficult with
> >Interbase and so easy for SQL_SERVER?
>
> The normal experience is for the boot to be on the other foot.
scores or hundreds of times faster in IB.
>exactly
> >Hours compared to 2 seconds, for exactly the same query - on
> >the same server.setup, client setup, versions, client tools, etc.
>
> Definitely something wrong then. Give us some details - server
I and my customers have a range of servers all running NT4 or Windows
2000 Adv Server (some smaller customers use Windows 98 as servers -
but they have correspondingly smaller db's and are not having
problems).
My dev server is Pentium II 350 with 128 MB RAM on W2k Adv Server
Clients range from Petium II to my dev machine Athelon 1.2 MHz with
512 Mb RAM, etc
The BDE is version 5.01 the application is written in delphi 5.
>get
>
> >Why do I need to enter a procedure for Interbase, when I don't to
> >a decent response from SQL_SERVER?SQL Server. If it only takes 2 secs on SQL Server, it should be as
>
> A correlated subquery that is slow on IB should be even slower on
fast or faster on IB unless there is something fundamentally wrong
with your IB setup.
>because it is not creating the huge volume of intermediate sets that
> The (functionally equivalent) procedure should be faster on both
your original CSQ is doing.
>on
> >I have over 30 customers using Interbase - and my larger customers
> >(ie database size > 100mb) the reports die with blown temp files
> >the server.and of any max size up to the OS limit). Perhaps this is your
>
> Then you need to configure the temp files (these can be multiple
problem...please provide details.
>How do I do this?
> >SQL_SERVER replies in seconds with the same complex queriesentered
> >using SQL_Explorer.databases through the BDE - they should be equally crippled.
>
> Yep, sounds like a configuration problem if you are querying both
>database?
> Are you by any chance trying to use the BDE with an IB 6 Dialect 3
No the IB6 servers have just used a restored IB5.6 backup - so
should be dialect 1 ... correct?
>misconfiguration there. To avoid guessing games, please provide
>
> >Do I have to re-write my app to use SQL_SERVER instead?
>
> Your choice. :) But it sounds as if you have a serious IB
details (paste in a copy of your ibconfig file).
All default values -
IBConfig file from IB6.0.1.6 (opened using notepad)
V4_LOCK_MEM_SIZE 98304
V4_LOCK_SEM_COUNT 32
V4_LOCK_SIGNAL 16
V4_EVENT_MEM_SIZE 32768
DATABASE_CACHE_PAGES 75
SERVER_PRIORITY_CLASS 1
SERVER_CLIENT_MAPPING 4096
SERVER_WORKING_SIZE_MIN 0
SERVER_WORKING_SIZE_MAX 0
V4_LOCK_GRANT_ORDER 1
ANY_LOCK_MEM_SIZE 98304
ANY_LOCK_SEM_COUNT 32
ANY_LOCK_SIGNAL 16
ANY_EVENT_MEM_SIZE 32768
Thanks again Helen,
If this can fixed I would be delighted.
John
PS How do you usually override these values?
>
> Regards,
> Helen
>
> All for Open and Open for All
> InterBase Developer Initiative ยท http://www.interbase2000.org
> _______________________________________________________