Re: How to speedup intarray aggregate function?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Dmitry Koterov <dmitry(at)koterov(dot)ru>
Cc: Filip Rembiałkowski <plk(dot)zuber(at)gmail(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to speedup intarray aggregate function?
Date: 2007-10-23 13:55:10
Message-ID: 20071023135509.GL5772@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dmitry Koterov escribió:
> I have written in C all needed contrib functions: intarray.bidx() (binary
> search in sorted list) and intagg.int_agg_append_state (bufferized appending
> of one array to another without linear memory reallocation). The speed now
> is great: in one case with intersection of 100000 and 15000 arrays it become
> 30ms instead of 1600 ms (50 times faster).
>
> Few days later, after complex testing, I'll publish complete patches in
> pgsql-hackers maillist.

Did you already?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dietmar Maurer 2007-10-23 14:02:08 Re: autovacuum and locks
Previous Message Alvaro Herrera 2007-10-23 13:49:41 Re: autovacuum and locks