ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

105 Run a for loop in SSIS till a particular condition is met

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ธ.ค. 2022
  • Run a for loop in SSIS till a particular condition is met
    Download the file\script used in the Video from below link
    drive.google.com/drive/folder...
    SSIS Tutorials: • SSIS Tutorials
    SSIS real time scenarios examples: • SSIS real time scenari...
    SSIS Interview questions and answers: • SSIS Interview questio...
    Run a for loop in SSIS till a particular condition is met
    Executing stored procedure in a loop until a condition is met
    How do you make a loop in SSIS?
    How do you pass a variable to Foreach Loop in SSIS?
    What is the difference between For Loop and Foreach Loop in SSIS?
    What is a task loop in SSIS?
    Happy Learning.
    If you have any questions or suggestions please comment on the video or write to me at “aqil33@gmail.com”

ความคิดเห็น • 13

  • @deepakj6717
    @deepakj6717 ปีที่แล้ว

    Hi Aqil, The design limitation of SSIS package is not making use of parallelism. Can you pls explain this in detail?

    • @learnssis
      @learnssis  ปีที่แล้ว

      What I got from it is that due to design limitation of SSIS package, the parallelism is not achieved in the SSIS package.
      The package is designed in such a way that parallelism is not achieved.

    • @deepakj6717
      @deepakj6717 ปีที่แล้ว

      @@learnssis Is there any way to achieve parallelism in SSIS?

    • @learnssis
      @learnssis  ปีที่แล้ว +1

      @@deepakj6717 There are a few ways that you can use parallelism in an SSIS package:
      1. Use the "Parallel Execute SQL Task" in a control flow. This allows you to execute multiple SQL statements in parallel.
      2. Use the "Foreach Loop Container" with the "Parallel" option. This allows you to execute a set of tasks in parallel for each item in a collection.
      3. Use the "Data Flow Task" with multiple sources or destinations. This allows you to load data in parallel from multiple sources, or to write data in parallel to multiple destinations.
      4. Use the "Execute Package Task" with the "Parallel" option. This allows you to execute multiple child packages in parallel.
      Overall, SSIS provides many options for using parallelism to improve the performance of your packages. It is important to carefully design your packages and consider the use of parallelism when appropriate to maximize the efficiency and scalability of your solutions.

    • @deepakj6717
      @deepakj6717 ปีที่แล้ว

      @@learnssis Thank you for detailed description. Could you pls make video on this.

    • @learnssis
      @learnssis  ปีที่แล้ว

      @@deepakj6717 I already have created 2 videos on performance tuning of SSIS packages, will try to make more videos in future.

  • @TKJ
    @TKJ ปีที่แล้ว

    Hii.. From last 3 months my SSIS package was taking 15 minutes to complete but from last two days it is taking 1hour to complete.
    Please suggest what to do now...

    • @learnssis
      @learnssis  ปีที่แล้ว

      If the package is still running then you can go to that sql server and run sp_who2 and see whether there is a blocking on the server or not which is causing the package to block, or see whether some other huge processes are also running on the server at the same time those are consuming the server resources and your ssis package did not get the enough recourses to execute.
      If the package is completed then you can try logging the start datetime and completed datetime for all tasks inside the ssis package along with SSIS package start date and completed date, this will help you to understand what tasks inside the ssis package are taking maximum time and you can try to fix and concentrate on those tasks, may be some indexes are missing or some unwanted indexes got created on a table, there can be tons of reason for a package to run slow.
      How to log start and end time of all tasks in SSIS package
      th-cam.com/video/37CbNV-xxAI/w-d-xo.html
      If you want to see how to do performance tuning then I have shared few points in these videos
      How to do performance tuning in SSIS
      th-cam.com/video/7sKEgm2uQEM/w-d-xo.html
      th-cam.com/video/3pacxWeTce4/w-d-xo.html

    • @TKJ
      @TKJ ปีที่แล้ว

      @@learnssis thanks bro.
      Currently that query is being suspended for sometime and after that it runs as runnable. Approx it take 5x time instead of 2 minute

    • @TKJ
      @TKJ ปีที่แล้ว +1

      @@learnssis can you make video on suspended, blocked, server blocked.
      In your next video.

    • @learnssis
      @learnssis  ปีที่แล้ว

      @@TKJ Actually I am making a series on SQL Server tutorials, thus I will make a video on this in future.

    • @TKJ
      @TKJ ปีที่แล้ว

      @@learnssis ok. Thanks again