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: Oracle 9i and null values

Re: Oracle 9i and null values

From: <poundboy_at_nyc.rr.com>
Date: Tue, 10 Jul 2007 10:19:45 -0700
Message-ID: <1184087985.096244.137530@q75g2000hsh.googlegroups.com>


>From the concepts manual...

Nulls are stored in the database if they fall between columns with data values. In these cases they require 1 byte to store the length of the column (zero).

Trailing nulls in a row require no storage because a new row header signals that the remaining columns in the previous row are null. For example, if the last three columns of a table are null, no information is stored for those columns. In tables with many columns, the columns more likely to contain nulls should be defined last to conserve disk space.

So looks like no matter what the datatype, a NULL value is represented by 1 byte.

JR Received on Tue Jul 10 2007 - 12:19:45 CDT

Original text of this message

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