Announcements
Background:
I need to retrieve more than 800K record from an entity. After the record is fetched I need to send the record back as CSV file to caller for download. QueryExpression can have 20 or more attributes.
Web Application using c#. Its an API that fetch record and sends CSV file as response.
Action:
I connect to CRM and use QueryExpression to fetch the record. I use pagination to fetch more than 5K records.
Issue:
I wanted to use Parallel For loop but the problem is, for pagination for QueryExpression, it depends on pagingcookies and pagenumber, so It is not feasible.
I would be very thankful if someone could provide some insights to resolve 2 issues.
Yeah, I was thinking with respect to SSIS Perspective, However You can still use Point #2 for your work.
For Point # 1 - Have you tried to use Threading to process records?
Hello haseeb,
Are you talking about balance distributor in SSIS? I am using web application and Language is c#.
Thank you for your insights, but it seems like you are talking about SSIS. Can you please provide more detail on your point 1 and 2 if it's not related with SSIS.
Issue #1 - Use balance distributer.
Issue #2 -
1. Reduce CRM connection Batch Size.
2. Check and change default buffer size and defaultbufferrowsize
example: Set Default Buffer Size = Default size/4
suppose row size = 10k then change to 2500
André Arnaud de Cal...
294,017
Super User 2025 Season 1
Martin Dráb
232,852
Most Valuable Professional
nmaenpaa
101,158
Moderator