DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Chained Rows?

  1. #1
    Join Date
    Jan 2001
    Posts
    3,134

    Question

    Hiidey ho all;
    I have a new project today, find all the extents allocated to all tables and any tables that have chained rows.

    I am familiar with the UTLCHAIN.SQL but everytime I try ANALYZE TABLE I get "ORA-01496: specified chain row table form incorrect"
    This is also not practical since it only does one table at a time, correct? And there are hundreds to do.
    Any suggestions?

    Thanks;
    MH


  2. #2
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    Why not write a script.

    set heading off
    set pagesize 1000
    spool filename.sql

    select "ANALYZE TABLE "||table_name||" LIST CHAINED ROWS INTO chaine_table; "
    from dba_tables
    where owner in ('your_ownernames');
    /

    spool off;

    @filename.sql


    Hope this would help you.

    Sam
    Thanx
    Sam



    Life is a journey, not a destination!


  3. #3
    Join Date
    Jan 2001
    Posts
    126
    Hi,

    Drop the CHAINED_ROWS table and execute UTLCHAIN.SQL to re-create it in the right format. You can write a script to analyze all the tables in the schema.

    Baliga

  4. #4
    Join Date
    Jan 2001
    Posts
    3,134

    Thumbs up

    Thanks guys; I had to edit the script a little due to "ORA-00972: identifier is too long" but it seems to have worked!
    MH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width