Blog Aggregator - Amardeep Sidhu

  • Tags

  • Archives

  • Meta

  •  

    April 2007
    M T W T F S S
    « Mar   May »
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30  

Archive for April 7th, 2007

07 Apr

An effect of sql_trace=true

Tom Kyte has a recent post about explain plan.

In that there is something I have not realized before that I want to share. When you execute a sql statement after you set sql_trace=true it is hard parsed again even if it is already in the shared pool.

A simple test is below.

SQL> select ‘test’ from dual;

‘TES
—-
test

SQL> alter session set sql_trace=true;

Session altered.

SQL> select ‘

© 2008 Blog Aggregator - Amardeep Sidhu | Entries (RSS) and Comments (RSS)

Powered by Wordpress, design by Web4 Sudoku, based on Pinkline by GPS Gazette