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 333195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:56:19+00:00 2026-05-12T09:56:19+00:00

My understanding of SQL*Loader’s conventional path is that it simply generates INSERT statements and

  • 0

My understanding of SQL*Loader’s conventional path is that it simply generates INSERT statements and sends them to the database. Are there any performance benefits to using this rather than just generating the SQL statements programmatically and executing them against the database?

  • 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-05-12T09:56:19+00:00Added an answer on May 12, 2026 at 9:56 am

    SQL*Loader is generating INSERT statements, but very critically, it is using bind variables. If you are loading thousands of rows, building up INSERT statements which include string literals will be an order of magnitude slower than using bind variables in addition to thrashing the shared pool. If you generate a bunch of INSERT statements, Oracle has to parse each and every statement– that will quickly consume the vast majority of the time of your load process. Depending on the size of your shared pool, your CURSOR_SHARING parameter, and the number of rows you are loading, a file of insert statements can very easily put enough pressure on the shared pool that the load process (and/or some other unrelated process that happens to be running at the same time that needs to parse a new query) will error out because there isn’t enough contiguous space in the shared pool.

    You can certainly write an application that behaves as well as SQL*Loader for a conventional path load. Your application would need to do something like

    Prepare the statement
    Loop
      Read the next row of data
      Split the next row of data into columns
      Bind the data to the bind variables in the prepared statement
      Execute the prepared statement
    End loop
    

    That’s very different than just unleashing thousands of separate INSERT statements against the database.

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

Sidebar

Related Questions

I have a database that I am migrating to SQL Azure. There are a
It's my understanding that SQL Server 2005 does some sort of result or index
My understanding is that both JAAS and SQL Server can be configured to use
Am I understanding correctly, and the database connection string for Linq to SQL is
I'm currently experiencing a strange issue that my understanding of SQL server doesn't quite
I am coming to MySQL from MS SQL. It was my understanding that in
I've never written a DDL trigger, but my understanding is that they run SQL
My understanding is that Sql Server compact is intended to be a data store
Am I correct in understanding that mysql's LAST_INSERT_ID() function doesn't reset between insert attempts
My understanding is that GREATEST() and LEAST() are not part of the SQL standard,

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.