Database Tuning (MOSC)

MOSC Banner

Insert with Query hint Append Issues

edited Sep 21, 2009 2:36AM in Database Tuning (MOSC) 22 commentsAnswered
 Hello All,  Issue: Insert query with query hint append does not end
 I have been working on this issue since 3 days
 Query
 Insert /*+ append */ into dest_tab select * from x.tab@remotedb
 dest_tab is in nologging
 The same query without the query hint does the job in say approx: 1 - 5 mins
 The same query with rownum<=32000 ie : Insert /*+ append */ into dest_tab select * from user.tab@remotedb where rownum<=32000 works
 Once i increase the rownum to <=33000 it remains stuck.

 Thought is an index issue hence tried altering index to unusable before the insert statement but no change.
 
 I have about 30-40 staging tables to be pumped in with data, all from remote tables.

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