Table of Contents

Oracle - Recursive call caused by Hard Parse

About

Hard Parse are made when insufficient informations are present in its cache (shared pool, …) as :

  • object being accessed,
  • permissions,

When Oracle retrieve this information, it made some ”recursive calls”.

Articles Related

Example

Made with the Oracle Database - Sample Schemas :

sh@orcl>alter system FLUSH shared_pool;
 
System altered
 
sh@orcl>set autotrace traceonly statistics;
sh@orcl>select * FROM customers;
 
55500 rows selected.
 
 
Statistics
----------------------------------------------------------
       1019  recursive calls
          0  db block gets
       5292  consistent gets
       1458  physical reads
          0  redo size
    6428049  bytes sent via SQL*Net TO client
      41085  bytes received via SQL*Net FROM client
       3701  SQL*Net roundtrips TO/FROM client
          9  sorts (memory)
          0  sorts (disk)
      55500  rows processed
 
sh@orcl>select * FROM customers;
 
55500 rows selected.
 
 
Statistics
----------------------------------------------------------
          0  recursive calls
          0  db block gets
       5059  consistent gets
          0  physical reads
          0  redo size
    6428049  bytes sent via SQL*Net TO client
      41085  bytes received via SQL*Net FROM client
       3701  SQL*Net roundtrips TO/FROM client
          0  sorts (memory)
          0  sorts (disk)
      55500  rows processed

As you can see the recursive call go to zero and the physical reads as well.

If the recursive call remain high the second time of execution, it's then not an hard parse recursive calls

  • Bookmark "Oracle - Recursive call caused by Hard Parse" at del.icio.us
  • Bookmark "Oracle - Recursive call caused by Hard Parse" at Digg
  • Bookmark "Oracle - Recursive call caused by Hard Parse" at Ask
  • Bookmark "Oracle - Recursive call caused by Hard Parse" at Google
  • Bookmark "Oracle - Recursive call caused by Hard Parse" at StumbleUpon
  • Bookmark "Oracle - Recursive call caused by Hard Parse" at Technorati
  • Bookmark "Oracle - Recursive call caused by Hard Parse" at Live Bookmarks
  • Bookmark "Oracle - Recursive call caused by Hard Parse" at Yahoo! Myweb
  • Bookmark "Oracle - Recursive call caused by Hard Parse" at Facebook
  • Bookmark "Oracle - Recursive call caused by Hard Parse" at Yahoo! Bookmarks
  • Bookmark "Oracle - Recursive call caused by Hard Parse" at Twitter
  • Bookmark "Oracle - Recursive call caused by Hard Parse" at myAOL
 
database/oracle/recursive_calls_hard_parse.txt · Last modified: 2010/01/31 18:49 by gerardnico