Quantcast
Channel: Go4Expert
Viewing all articles
Browse latest Browse all 1989

Even the most experienced SQL tuning developer cannot do it?

$
0
0
I came across with a SQL statement from a user as a testing case to our product, the SQL is joining 4 tables with data retrieved from system table dba_objects.

create table tu as select * from dba_objects;
create table tv as select * from dba_objects;
create table tw as select * from dba_objects;
create table tt as select * from dba_objects;

The user try to use /*+ use_hash(w u v t) */ optimization Hints to force the SQL to process with 4 tables Hash Join:

SELECT /*+ use_hash(w u v t)...

Even the most experienced SQL tuning developer cannot do it?

Viewing all articles
Browse latest Browse all 1989

Trending Articles