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

Thread: buffer gets.

Threaded View

  1. #4
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Quote Originally Posted by jayasankar View Post
    select * from chained_rows where table_name='EMPLOYEES'
    ---------
    no rows.

    That means no chained rows..i think so
    It depends on how statistics are gathered. Analyze command updates chained_rows but dbms_stats doesn't.

    Eitherway buffer_gets should be identical for both queries - assuming query is doing full table scan for each one of them.

    You don't have index on (job_id,salary,email,first_name) - don't you?

    Would you mind in doing/posting...

    sqlplus /
    set autotrace traceonly;
    select * from employees;
    select job_id,salary,email,first_name from employees;

    Thank you.
    Last edited by PAVB; 10-04-2010 at 04:25 PM. Reason: typo
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

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