SSIS Data Flow Record Count

Bobby P 231 Reputation points
2021-01-23T22:39:08.21+00:00

I thought I used to see a Data Flow Record Count when my SSIS Package was running. The Data Flow has...

  • OLE DB Source which executes a SQL Server Stored Procedure
  • Row Count used to capture the Row Count to a Variable
  • Flat File Destination

My Microsoft Visual Studio Color Theme is Light but I do not seem to see any record count as this is running in Microsoft Visual Studio. That would GREATLY help me to determine the progress of this lllooonnnggg running SSIS Package.

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Monalv-MSFT 5,926 Reputation points
    2021-01-25T03:32:48.843+00:00

    Hi @Bobby P ,

    1.We can add Data Viewer which can display the number of rows and the data buffer by buffer as data moves between two data flow components.

    2.The Row Count transformation stores the row count value in the variable only after the last row has passed through the transformation. Therefore, the value of the variable is not updated in time to use the updated value in the data flow that contains the Row Count transformation.
    If we use Row Count Transformation in Data Flow Task, we can use the following ways to read the value of variable by editing Breakpoints (OnPostExecute event) or use the value of variable in another task.

    Please refer to the following pictures:
    59969-df.png
    59970-dataviewer.png
    59986-addbreakpoints.png
    59987-readvalueofvariable.png
    60041-usevalueofvariable.png

    Best Regards,
    Mona


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. Martin Cairney 2,261 Reputation points
    2021-01-25T00:10:17.32+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.