Forum Discussion

arock-well's avatar
arock-well
Responsive Resident
2 years ago
Solved

Incremental Refresh with Linked/Referenced Tables?

I have a staging workspace where I set up a dataflow that imports data from an on-prem SQL Server database. On one table I set up an incremental refresh and it takes 30 seconds to update.   In a se...
  • TomMartens's avatar
    TomMartens
    2 years ago

    Hey arock-well ,

     

    as always it depends. A dataflow is a data source from the perspective of dataset. From my experience loading data from a dataflow if often much more faster than importing data from the data source directly. This reason for this simple, all the heavy lifting is done inside the dataflow. Loading data from a dataflow into a table should always be like this "SELECT * FROM TABLE." There is no need for any transformation, no need for data shaping.

     

    But then, if you add 10k rows incrementally to a dataflow that already holds 1BN rows, then, of course loading 1BN rows to a dataset takes more time than adding only the increment.

     

    Your choice, you pay faster dataset refresh with solution complexity.

     

    What I do, load dataflows incrementally, to get the cleaned and beautified data as fast as possible, then I give the full load to the dataset a try.

    The reason for this: I always want to keep my solution as fast, but also as simple as possible.

     

    Hopefuyll, this helps to find your way.

     

    Regards,

    Tom