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

Home -> Community -> Usenet -> c.d.o.server -> Re: What's this...varchar2 as fast as char?

Re: What's this...varchar2 as fast as char?

From: Dave Mausner <dmausner_at_brauntech.com>
Date: 1997/02/07
Message-ID: <5de334$bia@client2.news.psi.net>#1/1

In article <32FA0D54.7504_at_bell-atl.com>,

   Sean Emery <sean.c.emery_at_bell-atl.com> wrote:
>two oracle consultants informed us that we should probably never use a
>char field because varchar2 fields are just as fast inside an Oracle DB
>and you never have to rtrim() them.
>
>This is quite contrary to what I have believed for a long time now.

you should not use char because it takes more space than varchar. now if you need to process 1 million rows of character data, what would take less time: to read all the disk blocks of trailing, useless spaces; or disk blocks packed with just the significant portion of the data? right.

--
Dave Mausner, Consulting Manager, Braun Technology Group, Chicago.
Received on Fri Feb 07 1997 - 00:00:00 CST

Original text of this message

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