Re: like/ilike improvements

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: "Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com>
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: like/ilike improvements
Date: 2007-09-21 09:41:38
Message-ID: 20070921180728.68E4.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


"Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com> wrote:

> It's better but still slower than 8.2.

It probablly comes from 'var-varlena' feature in 8.3. Now we store
text fields in a compact format on disks and extract them on access.
It consumes some CPU cycles. If all of data are in buffer cache
and the encoding of database is single-byte encodings, the performance
of LIKE in 8.3 was 10-20% slower than 8.2 on my tests.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2007-09-21 09:47:48 Re: Beginning Tamil Community for Postgre
Previous Message Guillaume Smet 2007-09-21 08:53:27 Re: like/ilike improvements

Browse pgsql-patches by date

  From Date Subject
Next Message Gregory Stark 2007-09-21 10:00:31 Re: like/ilike improvements
Previous Message Guillaume Smet 2007-09-21 08:53:27 Re: like/ilike improvements