Subject | Re: Bad query optimisation on the MAC? |
---|---|
Author | phil_hhn |
Post date | 2004-11-30T20:57:27Z |
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
wrote:
experimented with super-server on the MAC. However OSX is based on BSD
and I wouldn't expect the threading model to be too radically
different from other *nix's. If it was then all sorts of
multi-platform applications would suffer similar issues. (Or maybe
some do; I personally don't spend much time on the MAC :) )
One particular issue I find interesting and worth tracking down is
just why the call to UPPER(xxx) on the MAC causes such a performance
hit. If we solve that it may shed light on similar issues.
the knowledge here ;-)
database on that same machine you must use 127.0.0.1 rather than say
192.168.0.100 (if that is it's IP address)? And you're talking about
in the connect string?
Thanks
wrote:
> At 04:13 AM 30/11/2004 +0000, you wrote:running an
>
> >I've just retrieved the firebird.conf file from the MAC... I haven't
> >examined this up until now because it seems I've never had to adjust
> >anything in that file on the windows platform.
> >Anyway, in both the MAC and Windows .conf files, ALL settings are
> >commented out, i.e are at their defaults (presumeably).
> >Can you (or anyone else) recommend any particular settings we should
> >try adjusting to increase performance? I'll start trying some things...
>
> The firebird.conf settings are fully documented in the v.1.5 release
> notes. I still think you have a big "unknown" in that you are
> untested, multi-threaded server version on a platform whose threadingIn some respects that is true, it doesn't seem like many have
> behaviour isn't likely to be similar to the well-tried platforms.
experimented with super-server on the MAC. However OSX is based on BSD
and I wouldn't expect the threading model to be too radically
different from other *nix's. If it was then all sorts of
multi-platform applications would suffer similar issues. (Or maybe
some do; I personally don't spend much time on the MAC :) )
One particular issue I find interesting and worth tracking down is
just why the call to UPPER(xxx) on the MAC causes such a performance
hit. If we solve that it may shed light on similar issues.
> Any numbers you come up with are likely to be very interesting toother Mac
> users as long as you keep all of the variables under some kind of traceAbsolutely, if we discover any MAC tricks then I'll certainly spread
> control. I can start a Mac Port page on the website if you think it's a
> good idea to have a central place for storing your tricks and gotchas.
the knowledge here ;-)
> One place where resource starvation might be occurring is the pagecache
> setting - a too-high setting will kidnap too many resources on anmuch, as it
> under-resourced machine; a too-low setting won't help anything
> will just pag to disk constantly and defeat the purpose of the cache.different
>
> The "shipped" settings for Classic and SS are quite distinctly
> different. Classic uses cache and other resources in a totally
> way from SS. Another gotcha with SS is that a local connection*must* be
> via localhost on ***X. This differs from Win32, which allows SS toconnect
> locally without a hostname in the path.Can I clarify this - do you mean that when on the MAC, connecting to a
database on that same machine you must use 127.0.0.1 rather than say
192.168.0.100 (if that is it's IP address)? And you're talking about
in the connect string?
Thanks