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

Thread: Db_file_multiblock_read_count

Threaded View

  1. #4
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    You can experiment with different values for db_file_multiblock_read_count parameter and choose
    the optimum value.

    Below is the one test:

    Code:
    SQL> col plan_plus_exp format a99
    SQL> set lines 100 pages 55 wrap off
    SQL>  alter session set optimizer_mode = choose;
    Session altered.
    SQL> alter session set db_file_multiblock_read_count= 8 ;
    Session altered.
    
    SQL> alter session set optimizer_index_caching= 50   ;
    Session altered.
    
    SQL> alter session set optimizer_index_cost_adj = 50 ;
    Session altered.
    
    SQL> set autot trace expla
    SQL>  select * from t2
      2   where  object_id between 10  and  109;
    
    Execution Plan
    ---------------------------------------------------------------------------- 
    rows will be truncated
       0 SELECT STATEMENT Optimizer=CHOOSE (Cost=97 Card=192,bytes=18432)                          
       1    0   TABLE ACCESS (BY INDEX ROWID) OF 'T2' (Cost=97 Card=192,Bytes=18432)                    
       2    1     INDEX (RANGE SCAN) OF 'T2_INDEX' (NON-UNIQUE) (Cost=2,Card=192)     
    
    SQL> set autot off
    SQL> alter session set db_file_multiblock_read_count= 16 ;
    
    Session altered.
    
    SQL> set autot trace expla
    SQL> select * from t2
      2  where  object_id between 10  and  109;
    
    Execution Plan
    ----------------------------------------------------------
    rows will be truncated
    
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=63 Card=192,Bytes=18432)
       1    0   TABLE ACCESS (FULL) OF 'T2' (Cost=63 Card=192,Bytes=18432) 
    
    SQL> spool off

    Also, choose the correct values for optimizer_index_caching
    and optimizer_index_cost_adj.

    Tamil
    Last edited by tamilselvan; 02-04-2005 at 11:45 AM.

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