Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Insert into TEMP table is executing for very long time

3016252Aug 20 2015 — edited Aug 20 2015

INSERT INTO...SELECT into a TEMP table is executing for very long time.It is running for last 3 hrs and expected to insert 2000 records into the temporary table.

This is GLOBAL temporary table with ON COMMIT delete clause.TEMP tableĀ  is having an index and the explain plan shows a cost of 8000 for the select query.

Also there is no errors seen related to tablespace yet.DB is Oracle 12c.

Any idea how we can debug the issue.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 17 2015
Added on Aug 20 2015
4 comments
1,139 views