Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ROW SIZE SCRIPT

Status
Not open for further replies.

oracle8

MIS
Sep 30, 2000
69
PH
hi!

Pls. send me a script on how to find the average row size of a particular table. I'm using oracle 8.05

thanks
 
Oracle8,

Here is, by far, the best method for finding average row length:
Code:
analyze table <table_name> compute statistics;
select avg_row_len from user_tables where table_name = '<table_name>';
If you do not wish to retain the table's statistics, you can remove them with this command:
Code:
analyze table SDPC_ZIP_CODE delete statistics;

Let us know if this resolves your need.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA @ 06:17 (21Jul04) UTC (aka "GMT" and "Zulu"), 23:17 (20Jul04) Mountain Time)
 
Thanks dave... you're such a great help in this forum keep up the good work.

Rommel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top