Database DataWarehousing (MOSC)

MOSC Banner

SQL developer hangs when I try to run a query. How do I get rid of this?

edited Jul 15, 2020 1:35AM in Database DataWarehousing (MOSC) 15 commentsAnswered

Hello All,

I am running a sql query using sql developer, against Autonomous Data Warehouse (ADW) and it hangs. How do I get rid of this?

I have two tables, Merged_DS_Table (4.6 million records) and operation_list_16 (235 records).

And the query is

select * from Merged_DS_Table a, operation_list_16 b where a.CS_METHOD=b.CS_METHOD and regexp_like(a.CS_URI,b.CS_URI);

The above query, when run in sql developer hangs and that is because, regexp_like(a.CS_URI,b.CS_URI), tries to match the source_string a.CS_URI with each of the distinct search_pattern, b.CS_URI (155 patterns) in operation_list_16 table.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center