Re: Unicode database + JDBC driver performance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Ploski <jpljpl(at)gmx(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Unicode database + JDBC driver performance
Date: 2002-12-21 20:33:57
Message-ID: 2017.1040502837@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jan Ploski <jpljpl(at)gmx(dot)de> writes:
> It seems correct to me, so the question about Unicode's slowness remains.
> I guess that I will have a look at the driver's internals. Do you believe
> that the backend should not be much slower [than LATIN1] when delivering
> query results in the UNICODE encoding?

If no translation is happening then I can't see a reason for any
difference at all, given what you were doing.

I can imagine speed differences for operations that actually interpret
the character data --- for example, sorting on a text column --- but
AFAICT you weren't doing anything like that.

It'd be worth checking first to see whether the extra time is really
being spent in the backend, client, or both.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jan Ploski 2002-12-22 01:16:40 Re: Unicode database + JDBC driver performance
Previous Message Jan Ploski 2002-12-21 20:22:44 Re: Unicode database + JDBC driver performance