After Upgrade to 11g Resource Manager SWITCH_TIME to CANCEL_SQL or KILL_SESSION directives does not work as expected ORA-00040 (Doc ID 1485199.1)

Last updated on MAY 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

This applies only from Oracle Database Version 11.2 till 12.1

Symptoms

We expected that SQL execution will be cancelled after 10 minutes with ORA-40 error when using Resource Manager SWITCH_TIME to CANCEL_SQL, but It is getting cancelled after 12mins or sometimes runs indefinitely. Also can not use SWITCH_TIME_IN_CALL which is Deprecated.

So because of this we cannot use the feature of cancelling the query based on resource manager plans,
which are running fine before upgrade to 11gR2, now the resource consumer group doesn't seems to work as expected.

Changes

 Upgraded the database to 11.2.0.2 (11gR2)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms