Re: Proposed patch to change TOAST compression strategy - Mailing list pgsql-patches

From Teodor Sigaev
Subject Re: Proposed patch to change TOAST compression strategy
Date
Msg-id 47C7FD61.3050205@sigaev.ru
Whole thread Raw
In response to Re: Proposed patch to change TOAST compression strategy  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tsvector dump (taken by Magnus from mail archives of pgsql's lists)
http://www.sigaev.ru/misc/tstest.sql.bz2

Query:
select sum(ts_rank( vector, 'asdfjkl' )) from tstest ;

ts_rank  detoasts value in any case, even tsvector doesn't contain needed lexemes.

Test was on my notebook: Core2 Duo 1.8MHz, 2Gb with default postgres.conf

8.4 without patch:
Time: 10883,368 ms

8.4 with patch (db was reinited)
Time: 9654,266 ms



--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: DTrace probe patch for OS X Leopard
Next
From: Robert Lor
Date:
Subject: Re: DTrace probe patch for OS X Leopard