DBAsupport.com Forums - Powered by vBulletin
Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Query Perfomance

  1. #21
    Join Date
    Jan 2001
    Posts
    2,828
    Hi Chuck

    Can you analyze your tables involved in this query like this and let us know whether anything changed with the plan.


    exec dbms_stats.gather_table_stats('USERNAME','TABLE_NAME',CASCADE=>TRUE,ESTIMATE_PERCENT=>15);

    regards
    Hrishy

  2. #22
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    ====
    That's a crazy assertion when you don't even know what the problematic query is.

    Also, you probably mean "if it's equivalent to the number of rows", not blocks.


    __________________

    ===
    Slimdave,
    You are right. I made a mistake while typing.
    My point is: If the table is disorganized, then probably the optimizer may not choose INDEX access path.

    Tamil

  3. #23
    Join Date
    Dec 2001
    Posts
    337
    Hi all,

    I have got it to work thanks to hrishys advice of using dbms_stats.gather_table_stats. I dont understand why when using this it picked up the index and not when i analyzed using dbms_utility?. Thank u all for yer valuable contributions, it has helped immensely.

    Thanks once again,
    Chucks.

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