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

Thread: dbms_stats - Suckes

  1. #1
    Join Date
    Dec 1999
    Location
    Alpharetta, GA, US
    Posts
    192
    I tryed to analyze the partition table by using the
    dbms_stats, after 24 hours also it is still running then i killed
    that job. when i use the analyze it usualley take 6 hours/partition. i got app. 300 million rows in every partition.
    Any suggestions...........
    Here is the script i used:
    DECLARE
    BEGIN
    dbms_stats.gather_table_stats(
    ownname => 'SAM',
    tabname => 'mess_count',
    partname => 'apr02',
    estimate_percent => null,
    block_sample => false,
    method_opt => 'FOR ALL COLUMNS SIZE 1',
    degree => 4,
    granularity => 'default',
    cascade => true,
    stattab => null,
    statid => null,
    statown => null);
    END;
    /

    Thanks

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    degree 4, how many cpus do you have?

  3. #3
    Join Date
    Dec 1999
    Location
    Alpharetta, GA, US
    Posts
    192
    i am sorry this my env.

    Sun E 3500 - 4 x 400 MHz, 2 GB RAM, Solaris 8 and A5200 Storager sub system
    Oracle 8.1.6.2

    Thanks

  4. #4
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    try degree 8

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