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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:59:45+00:00 2026-06-15T18:59:45+00:00

What’s the fastest way to get a thousand records into the database? I’m not

  • 0

What’s the fastest way to get a thousand records into the database?

I’m not looking for the best answers – I’m just looking to hear that they’ve done some work to performance tune their queries. If they’re doing fully logged individual record inserts, one at a time, into a data warehouse-size system, we’re going to have problems down the road. (Yes, I’ve actually worked with a BI developer that did millions of individual inserts per night in full recovery mode and thought the performance was the database’s fault.)

  • 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-15T18:59:46+00:00Added an answer on June 15, 2026 at 6:59 pm

    What’s the fastest way to get a thousand records into the database?

    In a very generic sense, the fastest process to do this often involves some form of bulk insert, maybe paying attention to the options that ignore referential integrity, constraints, triggers and such (if this makes sense for your app), and possibly done under a recovery model that doesn’t log the entire thing.

    If you’re coming from your app, you might look at something like the .net SqlBulkCopy class rather than writing the file and such as in the above.

    As always when trying to get the absolute best performing method, test multiple methods in your environment.

    I’m not looking for the best answers

    Please tell us what you are looking for, then.

    I’m just looking to hear that they’ve done some work to performance tune their queries.

    Okay, I have worked for six years with a platform which relies upon inserting many thousands of records at a time, many hundreds of times per day, and be as close to appearing as a decently performing web-app as possible. The bulk insert was one of my first “fixes” when I started maintaining the thing, and we’ve done much since then to optimize. I’m sure others out there have much more extreme requirements and use similar methods. Not that any of that really matters to the answer.

    UPDATE: a word about hardware:

    I’m sure that anyone looking for the absolute best performance when repeatedly stuffing a ton of records into a database will want to look at getting some of the best hardware available as well. This discussion would be beyond the scope of this site, I believe.

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

Sidebar

Related Questions

What would be the fastest way to get the numerical format ( NOT THE
I'm looking for the fastest way to get pixel data (int the form int[][]
Edit: I meant to ask what is the best/fastest way to get the first
what is the best and fastest way to get the country iso code by
Django, What's the best ,fastest way to get only first and last element from
Just as stated in the title, what is the best and fastest way to
What's the Fastest way to get a large number of files (relatively small 10-50kB)
What is the most efficient (fastest) way to get a lower bound of zero?
For the following datatable column, what is the fastest way to get the min
What is the fastest, most optimized, one-liner way to get an array of the

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.