Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7829617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:51:10+00:00 2026-06-02T10:51:10+00:00

I wish to do a serial, logging insert of bulk data from one table

  • 0

I wish to do a serial, logging insert of bulk data from one table to another. This is once-of as part of a data migration so swapping partitions, etc is not an answer.

The SQL will be of the following structure:

INSERT /*+ APPEND */ ... SELECT FROM ....

What might cause Oracle to run this a convential insert rather than a direct path insert?

For example, I believe having a trigger on the table will cause Oracle to conduct a convential insert. Is there a definitive list of restrictions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T10:51:16+00:00Added an answer on June 2, 2026 at 10:51 am

    A quote from http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1211797200346279484 :

    “insert /*+ append */ will ignore the append hint and use conventional path loading when the table has referential integrity or a trigger…” – Tom Kyte

    From https://docs.oracle.com/cd/E18283_01/server.112/e17118/statements_9014.htm#sthref6486

    Direct-path INSERT is subject to a number of restrictions. If any of
    these restrictions is violated, then Oracle Database executes
    conventional INSERT serially without returning any message, unless
    otherwise noted:

    • You can have multiple direct-path INSERT statements in a single transaction, with or without other DML statements. However, after one
      DML statement alters a particular table, partition, or index, no other
      DML statement in the transaction can access that table, partition, or
      index.

    • Queries that access the same table, partition, or index are allowed before the direct-path INSERT statement, but not after it.

    • If any serial or parallel statement attempts to access a table that has already been modified by a direct-path INSERT in the same
      transaction, then the database returns an error and rejects the
      statement.

    • The target table cannot be of a cluster.

    • The target table cannot contain object type columns.

    • Direct-path INSERT is not supported for an index-organized table (IOT) if it is not partitioned, if it has a mapping table, or if it is
      reference by a materialized view.

    • Direct-path INSERT into a single partition of an index-organized table (IOT), or into a partitioned IOT with only one partition, will
      be done serially, even if the IOT was created in parallel mode or you
      specify the APPEND or APPEND_VALUES hint. However, direct-path INSERT
      operations into a partitioned IOT will honor parallel mode as long as
      the partition-extended name is not used and the IOT has more than one
      partition.

    • The target table cannot have any triggers or referential integrity constraints defined on it.

    • The target table cannot be replicated.

    • A transaction containing a direct-path INSERT statement cannot be or become distributed.

    However the list in the manual is not exhaustive and is not completely accurate. For example, referential integrity constraints do not block direct-path INSERT if that constraint is part of reference partitioning.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wish to implement multi-class SVM using one-vs-one method on fisheriris data in MATLAB.
I wish to request data from a web service endpoint( say http://www.example.com ) using
I wish someone can help me with this one. I have a Spring MVC
I have a table that looks like this:- TABLEA SERIAL SKU GRADE ID HA501
I wish to send an email from my localhost machine (using PHPs mail function)
I wish to be able to generate URL variables like this: http://example.com/195yq http://example.com/195yp http://example.com/195yg
Really wish i was God, then I would understand what this means: The element
I wish to add a KeyListener to the entire UI by using: frame.addKeyListener(this); In
Wish anybody can help me with this error Column 'Sales.No_' is invalid in the
I wish to find the total number of distinct records in a table. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.