Skip to Main Content
  • Questions
  • performance tunnig ==> excessive child cursor

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, krishna.

Asked: July 23, 2018 - 6:28 pm UTC

Last updated: July 24, 2018 - 11:00 am UTC

Version: 12.1.0.2.0

Viewed 1000+ times

You Asked

hi Team ,

my cursor_sharing parameter is set to exact , amount of parsing i have checked is less but some query have very high number of child cursor .

One of update statement have 506 child cursor . can you help me out how to deal with this and put some lighting on identifying cause



and Connor said...

Take a look at v$sql_shared_cursor for that particular SQL_ID.

Then check the reference manual to see which column is causing the lack of sharing

https://docs.oracle.com/en/database/oracle/oracle-database/12.2/refrn/V-SQL_SHARED_CURSOR.html#GUID-4993A6DE-5658-4745-B43E-F5AD9DB8DCCC

Is this answer out of date? If it is, please let us know via a Comment

More to Explore

Performance

Get all the information about database performance in the Database Performance guide.