Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: table stats
I think you should never trust avg_row_len
after any call to dbms_stats.
(method_opt => 'for all indexed columns'
also leaves the column with its default value
of 100)
Even when it's set "properly", it's likely to
be misleading because is omits the 3 byte
row header, the two byte rowindex entry
(as does analyze), the length byte for any
embedded null columns, and the extra
length bytes needed by columns with content
greater than 254 bytes.
Fortunately (from Oracle's perspective) it's not used for anything. Unfortunately (from the DBA perspective) it's sometimes used for capacity planning.
-- Regards Jonathan Lewis http://www.jlcomp.demon.co.uk The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html April 2004 Iceland http://www.index.is/oracleday.php June 2004 UK - Optimising Oracle Seminar July 2004 USA West Coast, Optimising Oracle Seminar August 2004 Charlotte NC, Optimising Oracle Seminar September 2004 USA East Coast, Optimising Oracle Seminar September2004 UK - Optimising Oracle Seminar "dias" <ydias_at_hotmail.com> wrote in message news:55a68b47.0404221326.7f0369d5_at_posting.google.com...Received on Fri Apr 23 2004 - 05:25:44 CDT
> Hi,
>
> In 9.2, the av_row_len is also wrong with method_opt=> null.
>
> Dias