pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Prasanth <dbadmin@nqadmin.com>
To: pgsql-admin@postgresql.org
Subject: UTF-8 vs ASCII
Date: Wed, 26 Apr 2006 15:01:44 -0500
Message-ID: <444FD1A8.7060306@nqadmin.com> (raw)

Hi,

Seems like by default database is created using UTF-8 when we use
createdb in 8.1.3.

Is there any big advantage of using UTF-8 rather than ASCII? Will there
be any performance difference when performing string operations?

Does the string functions convert every thing to UTF-8 before performing
the operations?

Surely it is going to increase by database size if we switch to UTF-8.

All the characters in my database should be ASCII. I use JDBC so will
there be any performance gain as the JDBC does not have to perform the
conversion?

Thanks,
-Prasanth.



view thread (2+ messages)  latest in thread

Message-ID: <444FD1A8.7060306@nqadmin.com>
Permalink:  ../444FD1A8.7060306@nqadmin.com/
Also on:    postgresql.org/message-id/444FD1A8.7060306@nqadmin.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: dbadmin@nqadmin.com
  Subject: Re: UTF-8 vs ASCII
  In-Reply-To: <444FD1A8.7060306@nqadmin.com>
  References: <444FD1A8.7060306@nqadmin.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox