REGEXP_LIKE Hangs and CPU Spikes After DB Upgrade To 11gr2 From 10.2.0.4

(Doc ID 1276379.1)

Last updated on SEPTEMBER 01, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.1 [Release 11.2]
Information in this document applies to any platform.
***Checked for relevance on 01-Sep-2017***

Goal

The following SQL which contains regexp_like seems to hang after db upgrade from 10.2.0.4 to 11.2.0.1:

SELECT * FROM dual WHERE REGEXP_LIKE('12aBC', '^(-{0,1}+{0,1})[0-9]+(.{0,1}[0-9]+)$')


Solution

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