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: size taken up in tables

Re: size taken up in tables

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Tue, 10 May 2005 13:27:07 -0700
Message-ID: <1115756576.454034@yasure>


Oxnard wrote:

> db 9.2.0.5
> OS AIX 5.2
> Character set: UTF8
>
> How can I determine in bytes how much space is taken up by date data and
> number data?
> I seem to vaguely recall a number and a date each always take the same
> amount of space in a column of that type irregardless of the value.
>
> Thanks

SELECT dump(column_name)
FROM table_name;

SELECT vsize(column_name)
FROM table_name;

Or, of course, read the docs bcause your vague recall is wrong with respect to numbers.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Tue May 10 2005 - 15:27:07 CDT

Original text of this message

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