We daily receive files to fileShare and it increases number of files save in that folder. So, ADF pipeline takes lot of time to pick the latest file. I want to know how to reduce the time that pipeline takes to go through all the files in the folder. Thank you!
This is the overview of my pipelines
On your initial Get Metadata activity (Get file List), limit the files only to those modified in the last day:
where start time is 24 hours ago:
and end time is now:
Since you want to find the latest file, bringing only files modified in last 24 hours will reduce the number of iteration in the foreach activity and improve run times.