Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Oracle 8i - the space wasting pig

Re: Oracle 8i - the space wasting pig

From: guy ruth hammond <grh_at_agency.com>
Date: Wed, 31 May 2000 10:34:13 +0100
Message-Id: <10514.107228@fatcity.com>


Andreas Jung wrote:
>
> Dear all,
>
> I am running a Oracle 8i database with UTF8 character set. I store text files
> inside a CLOB (extra lob segment). I can see that Oracle always needs two times
> the space to store the text inside the LOB segement compared to the size of the
> originial file. Is this a general problem or is this problem related to the
> UTF8 character set ?! It seems to me that Oracle need 2 bytes for every
> character although most of the text is pure Ascii.

UTF8 is a 16-bit character set. ASCII is an 8-bit character set, which lacks the NLS capabilities of UTF8. So storing in UTF8 will be twice as large as storing in ASCII - and if you used plain characters, the additional capability of UTF8 is wasted.

Cheers,

g

-- 
guy ruth hammond <grh_at_agency.com> | One is punished for being
Technology Analysis & Consulting  | weak, not for being cruel.
07879607148 http://www.agency.com |       -- Baudelaire
Received on Wed May 31 2000 - 04:34:13 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US