Jul 20, 2004 #1 oracle8 MIS Joined Sep 30, 2000 Messages 69 Location 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
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
Jul 20, 2004 #2 SantaMufasa Technical User Joined Jul 17, 2003 Messages 12,588 Location US 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. Mufasa (aka Dave of Sandy, Utah, USA @ 06:17 (21Jul04) UTC (aka "GMT" and "Zulu"), 23:17 (20Jul04) Mountain Time) Upvote 0 Downvote
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. Mufasa (aka Dave of Sandy, Utah, USA @ 06:17 (21Jul04) UTC (aka "GMT" and "Zulu"), 23:17 (20Jul04) Mountain Time)
Jul 27, 2004 Thread starter #3 oracle8 MIS Joined Sep 30, 2000 Messages 69 Location PH Thanks dave... you're such a great help in this forum keep up the good work. Rommel Upvote 0 Downvote