Skip to content
January 29, 2016 / doganay

FORCE ALL SQLS TO HASH JOIN

CREATE OR REPLACE TRIGGER user1.trg_hash_join
AFTER
LOGON
ON SCHEMA
begin
execute immediate 'alter session set events ''10093 trace name context forever, level 12''';
end;
/
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: