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

Re: Unicode combining characters

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: pgman(at)candle(dot)pha(dot)pa(dot)us
Cc: phede-ml(at)islande(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Unicode combining characters
Date: 2001-10-02 06:49:52
Message-ID: 20011002154952Y.t-ishii@sra.co.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
> Also, have we decided if multibyte should be the configure default now?

Not sure.

Anyway I have tested LIKE/REGEX query test using current. The query
executed is:

explain analyze select '0000000 5089 474e...( 16475
bytes long text containing only 0-9a-z chars) like 'aaa';

and

explain analyze select '0000000 5089 474e...( 16475
bytes long text containing only 0-9a-z chars) ~ 'aaa';

Here is the result:

	no MB		with MB
LIKE	0.09 msec	0.08 msec
REGEX	0.09 msec	0.10 msec

LIKE with MB seemed to be resonably fast, but REGEX with MB seemed a
little bit slow. Probably this is due the wide character conversion
overhead.
--
Tatsuo Ishii

In response to

Responses

pgsql-hackers by date

Next:From: Dave PageDate: 2001-10-02 07:45:19
Subject: pgAdmin users upgrading to PostgreSQL 7.2
Previous:From: James L. Hubbard IIIDate: 2001-10-02 06:06:30
Subject: Genetic Query Optimizer

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