Friday, January 20, 2012

ORA-03124: two-task internal error

Recently, at work I am facing lot of interesting issues. One of them is the "ORA-03124: two-task internal error".

If you have scratched your head, given up on search results, looked at millions of un-answered threads I have one more solutions for you. The solution that worked for me.

In 11g Oracle there is a parameter called "_enable_row_shipping” which sometimes defaults to TRUE. Occasionally your table is huge and have large number of columns. While trying to perform select with parameter true, Oracle restricts and throws an error.

To resolve this issue, set the _ENABLE_ROW_SHIPPING to FALSE.

SQL statement:

alter system set "_enable_row_shipping"=false;

Once this statement is executed successfully, restart your webapp. Sometimes you might have to restart DB server(it is unlikely).

Soo try it out and let me know if it worked for you guys.

3 comments:

  1. What is the correct statement?
    alter system set "_enable_row_shipping"=false;

    OR

    alter session set "_enable_row_shipping"=false;

    ReplyDelete
  2. Either one works.

    Some system accepts only first one and some accepts both.

    ReplyDelete
  3. alter system would change it for the entire DB, alter session would change it only for your current connection/session.

    ReplyDelete

Total Pageviews