Subject | RE: [ib-support] Summarization Query Speed Issue |
---|---|
Author | sugi |
Post date | 2003-03-04T21:15:59Z |
> > Since the performance difference is quite big, does this mean that IOK. I suspected as much...:)
> > have to rewrite all my LEFT JOIN queries?
> No, you see the difference only in execution time.
> To compare the REAL speed between the two you must also
> include fetch-all and then you'll see they are almost the same.
So you'd suggest leaving the LEFT JOINs as it is?
My problem here is that the user will invariably see the 'subquery'
version as way faster; the 60 seconds delay before the first page
appears is going to be a problem.
> If you don't have it, download the great tool below :Thank you for the pointer. I think I saw this tool before, but since
> http://delphi.weblogs.com/IBPLANalyzer
it's only for Interbase, I didn't download it.
> One question from my site :2048 (default on IB1.5beta3).
> What are your database-settings ?
> - Page Buffers ?
I was reluctant to change this setting since (again) I think I read a
posting here that says that there's a possibility that a bigger cache is
actually slowing things down.
> - PageSize ?8192.
I saw some tools (IBAccess?) allowing 16K and 32K page sizes, but never
got these to work.
Many thanks.
sugi.