Re: patch: fix performance problems with repated decomprimation of varlena values in plpgsql

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: patch: fix performance problems with repated decomprimation of varlena values in plpgsql
Date: 2010-11-23 19:29:03
Message-ID: 1290539890-sup-3667@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Excerpts from Pavel Stehule's message of lun nov 22 10:01:23 -0300 2010:

> sorry - it is related to tests from FOR-IN-ARRAY thread

> test query: select avg(array_upper(filter02(x,'%AA%', 10),1)) from t1000;

Yeah, I can measure a 25x improvement in that test with the patch
applied.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-11-23 19:48:07 Re: s/LABEL/VALUE/ for ENUMs
Previous Message Peter Eisentraut 2010-11-23 19:27:42 Re: multibyte-character aware support for function "downcase_truncate_identifier()"