Hello guys.
Please help me in optimising the query below or suggest to me an efficient way to remove matching records from two different data tables. The below Linq query is taking 60 minutes for 50 000 transactions. Is there a way to speed it up or use a different query or activity all together
Do you perhaps have the option of moving the data to a database and reading the data from there instead? Database technologies are really good at dealing with the manipulation of large amounts of data in a timely manner. We have used SQL Server tables and views to achieve something similar. The Join Data table activity and LINQ queries took us 5 hours to run in UiPath. When we moved the data to SQL and read the data from the view instead it took 3 minutes.
Here dtfirst is your first datatable
and dtsecond is your datatable from which you are going to compare common value
and in dtoutput you will get only not maching record of dtfirst table from dtsecond.
Let me know if any doubt
and i hope it will take less time
Hi @supermanPunch . Thank you for response. I have tried using the query you sent, but its taking as long as the initial one. I guess maybe there is no way to optimize the process. Thank you so much for your help