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: CLOBs storage vs Varchar storage

RE: CLOBs storage vs Varchar storage

From: Jack C. Applewhite <japplewhite_at_inetprofit.com>
Date: Mon, 13 Aug 2001 11:49:01 -0700
Message-ID: <F001.00369160.20010813115313@fatcity.com>

Rick,

If the CLOB is <4KB and stored inline with the table, then it takes up only as much space as it needs - much like a VarChar2. If the CLOB is stored out-of-line in a LOB segment, it takes at least one, possibly many more, Oracle DB Blocks, depending on your specification of "Chunk" in the Create Table command.

Jack



Jack C. Applewhite
Database Administrator/Developer
OCP Oracle8 DBA
iNetProfit, Inc.
Austin, Texas
www.iNetProfit.com
japplewhite_at_inetprofit.com
(512)327-9068

-----Original Message-----
T (Richard)
Sent: Monday, August 13, 2001 12:50 PM
To: Multiple recipients of list ORACLE-L

Hi,

I am resending this question as I cannot find the answer

> CLOBs vs VARCHAR. If a varchar datatype is not completely used it will
> not allocate storage for what is was defined.
> Does a CLOB data type use entire storage if not completely used?
>
> Thanks
> Rick

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jack C. Applewhite
  INET: japplewhite_at_inetprofit.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Aug 13 2001 - 13:49:01 CDT

Original text of this message

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