Re: [GENERAL] Re : Solaris Performance - Profiling (Solved)

From: mlw <markw(at)mohawksoft(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Justin Clift <justin(at)postgresql(dot)org>, Mark kirkwood <markir(at)slingshot(dot)co(dot)nz>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] Re : Solaris Performance - Profiling (Solved)
Date: 2002-04-03 15:23:33
Message-ID: 3CAB1E75.4A66D7E3@mohawksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Tom Lane wrote:
>
> Justin Clift <justin(at)postgresql(dot)org> writes:
> > Mark kirkwood wrote:
> >> Indeed it is - obtained qsort.c from Freebsd CVS and rebuilt Postgresql :
> >> The query now takes 6 seconds instead of 1 hour ! Thanks for an
> >> excellent suggestion.
>
> > How about we include this and have configure somehow ensure the Solaris
> > users get it automatically?
>
> > There are a *bunch* of Solaris users out there.
>
> Hmm. I suppose there'd be no license issues with borrowing a BSD qsort.
> But I can't see any reasonable way for configure to decide automatically
> whether we should replace the system qsort. I think we'd have to put
> a USE_PRIVATE_QSORT symbol definition into src/template/solaris.
>
> Can anyone see a problem with doing it that way --- are there any
> versions of Solaris where this'd be a bad idea?

I noticed poor performance on Solaris, does one see this problem when compiling
PostgreSQL with gcc on solaris?

As a suggestion, why not find the *best* version of qsort available, anywhere,
and always use that version on all platforms?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-04-03 15:23:41 Re: [GENERAL] Re : Solaris Performance - Profiling (Solved)
Previous Message Lincoln Yeoh 2002-04-03 15:13:31 Sorting. Re: Re : Solaris Performance - Profiling (Solved)

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-04-03 15:23:41 Re: [GENERAL] Re : Solaris Performance - Profiling (Solved)
Previous Message Gavin Sherry 2002-04-03 15:15:47 Re: notification: pg_notify ?