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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:04:02+00:00 2026-06-14T13:04:02+00:00

I have a dataflow task that updates a record in a table w/ 250k

  • 0

I have a dataflow task that updates a record in a table w/ 250k records.
The update is being made using the primary key. Is SSIS it is taking 3 seconds.

  1. Is there a way to extract the exact sql that gets evaluated for a record (any record, i just want a solid example)

When i mock up what i reasonably believe to be the correct sql and run it in SSMS , it takes 0.0 seconds (records are getting updated via the SSIS package, so Im pretty sure it is doing what i think it is doing)

  1. What could be taking 3 seconds. It seems to be specific to SSIS. My reasoning is that SSMS executes so fast. Its not the database.

Im fishing, Ill admit, but google isnt helping me. Anyone have any suggestions?

Thanks

Greg

  • 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-14T13:04:04+00:00Added an answer on June 14, 2026 at 1:04 pm

    The out of the box update component, OLE DB Command component, performs row-by-agonizing-row (RBAR) updates. That usually does not provide good performance. A better pattern for updates is to stage changes to an “normal” destination (OLE DB Destination or ADO .NET Destination). After the Data Flow Task completes, then use an Execute SQL Task to perform a set-based update against those rows. Read the Stairway to Integration Services series, in particular Level 4 to see this pattern.

    Beyond the update problem I mention above, a difference between the SSIS update and the one from SSMS is that SSMS is just going to run a script and exit. SSIS doesn’t just “go”. It has a fairly complex processing model so it needs to validate that the package is in the right state, resources are available, etc. If you’re logging events (and you should be), capture OnPreExecute and OnPostExecute for your task. That will show how long SSIS spent on a particular step in the package. Do be aware that for timing purposes, running a package from within Visual Studio (BIDS/SSDT) will be slower than the command-line version as it must spin up and manage the debugging resources (and show your pretty boxes change color/receive a check mark).

    Still want to know what’s going on? Turn on SQL Profiler and you can capture all the SQL Server activities from the SSIS package. Just be careful of the impact this can have if you capture everything on a production server for a long period of time. Plenty of resources available explaining how to run profiler if you use your favorite search engine.

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

Sidebar

Related Questions

In SSIS 2008 I have a Script Task that checks if a table exists
I am using SSIS in Visual Studio 2008. I have many XML files that
Within an SSIS package I have a dataflow that extracts two coloumns from an
I have a data flow task that imports excel files. I cant use a
I have a task that I am working on that has me stumped. Hoping
I'm new to SSIS and trying to create a dataflow task that will accomplish
I have a table in my source DB that is self referencing |BusinessID|...|ParentID| This
I have a data flow task that extracts data from one database and inserts
I have a Data Flow Task that does some script component tasks, sorts, then
I have an SSIS data flow task with an OLE DB Destination component that

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.