How to do incremental loading of fact table WITHOUT USING OLE DB command

Sudarsan Pandiyan 21 Reputation points
2020-12-26T08:26:21.167+00:00

Hi experts,

I have 3 fact table and 8 dim tables.

i have created and load my dim tables. now i want to load fact table(insert dim table key ) and do a incremental load in fact in future.

please help

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} votes

4 answers

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,916 Reputation points Volunteer Moderator
    2020-12-26T08:37:08.92+00:00

    OLEDB command does the row by row operation and not in bulk so you might face performance issues

    Instead, use stored procedure and run them to populate Fact tables


    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav


  2. Monalv-MSFT 5,926 Reputation points
    2020-12-28T09:56:22.35+00:00

    Hi @Sudarsan Pandiyan ,

    1. Could you please share the version of SQL Server?
    2. We can use the following methods to do incremental loading of table:
      a. Using Lookup Transformation , Conditional Split Transformation and Union All Transformation;
      b. Using CDC Control task

    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.
    Hot issues in November--What can I do if my transaction log is full?
    Hot issues in November--How to convert Profiler trace into a SQL Server table?


  3. Tom Phillips 17,771 Reputation points
    2020-12-28T15:41:31.897+00:00

    Although you can technically do insert/update/delete in SSIS, I would recommend you do it via TSQL in a stored proc.

    You can simply "stage" your data into a table, and run a stored proc which "merges" the data into the target tables. It is much simpler.


  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.