We have a WCF service that brings back all the related fields for a project based on a query. This is exposed via an inbound port over WCF Services. We consume this from C# using findkeys followed by read. This works but is taking too long. Each one takes .04 seconds and we have 60,000 which means a full extract takes about 7 hours. I've tried altering the number of keys I read doing it in 10s, 100s or even a 1000. 100 is optimal but it doesn't make a huge difference. I don't think its a sqlserver issue, but the ax32srv.exe (AOS) process consumes one core continuously whilst this is running. Anyone got any suggestions as to how I might speed this up. I have a similar thing for Customers and it takes about 1/3 rd the time. I can extract 50,000 in 2 hours. That's still slow compared to SQL, but I can live with it. In the data policy I tried to untick all fields and just get the ones I wanted, but there are a lot of mandatory fields. I'm wondering what the AOS is actually doing?
↧