Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Cursor invalidated during parallel execution Expand / Collapse
Author
Message
Posted Tuesday, May 26, 2009 10:21 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, October 10, 2013 3:02 AM
Points: 9, Visits: 238
Hi,

My DTS have 5 parallel transfer data from sql db to oracle db at the same time, it have come up with an error "ORA-12842: Cursor invalidated during parallel execution".

Based on the information I get is as per below:
Cause: The cursor was invalidated during the parse phase of deferred parallel processing, e.g. when set operands are parallelized.
Action: Depends on why the cursor was invalidated. Possible causes include DDL on a schema object and shared pool being flushed.

I have checked with all the nested view and the status is valid during that time.

FYI, the view have function, materialized view, view and table.

Every time the cursor invalidated happen, the query from the DTS will become slower and slower.

Any idea what the cause of it or how to trace the problem?

Thanks And Best Regards,
Kien Way




Post #723757
Posted Wednesday, September 09, 2009 11:13 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Tuesday, January 28, 2014 8:15 AM
Points: 3,068, Visits: 4,639
kienway (5/26/2009)
I have checked with all the nested view and the status is valid during that time.

Error message says the "cursor" is getting invalidated, not any of the underlying objects.

Try the process with no degree of paralellism.


_____________________________________
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.
Post #785182
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse