Re: Multiple sorts in a query

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: Chuck McDevitt <cmcdevitt(at)greenplum(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Multiple sorts in a query
Date: 2009-05-20 08:14:19
Message-ID: 1242807259.27960.42.camel@ebony.2ndQuadrant
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Tue, 2009-05-19 at 22:19 +0200, Zdenek Kotala wrote:
> Chuck McDevitt píše v út 19. 05. 2009 v 09:33 -0700:

> > Solaris default malloc always uses sbrk(), and never ever tried to reduce the sbrk point.
> >
> > If you want a malloc that uses mmap, there is an non-default malloc that does that (libumem or something?)
>
> There are severals memory allocator on Solaris. You can choose what you
> need. See
>
> mapalloc (it uses mmap insted of srbk)
> mtmalloc (optimized fro multi threaded apps)
> mumem_alloc
> watchmalloc
> bsdmalloc
>
> maybe more.
>
> What I heart is that standard malloc is not good, but it is still here
> for compatibility reason with old application which depends on some
> functionality.

Which one is used in the default PostgreSQL build for Solaris? If you
use default malloc, have you tested the others and would you recommend
one in particular?

Which one has Dimitri used in his performance testing?

--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-05-20 08:16:05 Re: Multiple sorts in a query
Previous Message Scott Bailey 2009-05-20 06:42:27 Re: INTERVAL SECOND limited to 59 seconds?