Skip site navigation (1) Skip section navigation (2)

Re: sum(int4)/sum(int2) improvement

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Atsushi Ogawa <a_ogawa(at)hi-ho(dot)ne(dot)jp>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: sum(int4)/sum(int2) improvement
Date: 2005-09-01 13:42:10
Message-ID: 12311.1125582130@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Atsushi Ogawa <a_ogawa(at)hi-ho(dot)ne(dot)jp> writes:
> An attached patch uses AggState->aggcontext instead of per-tuple
> context to allocate the data. As a result, per-tuple context is not
> used, and the cycles of AllocSetReset is reduced.

Why is this better than the fix already in place?

			regards, tom lane

In response to

Responses

pgsql-patches by date

Next:From: Atsushi OgawaDate: 2005-09-01 13:56:11
Subject: Re: sum(int4)/sum(int2) improvement
Previous:From: Atsushi OgawaDate: 2005-09-01 13:31:28
Subject: sum(int4)/sum(int2) improvement

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group