For example, have you considered using a view to represent that query, rather than let the tool build the query?http://resources.arcgis.com/en/help/main/10.2/002q/002q00000023000000.htm
Many thanks guys for the help. your answers are very useful.Sometimes, for particular query, the returned values are more than 1,000 where the end-user needs to export them as CSV file (from the web mapping application).My current layer is parcel (polygon layer) which contains 240,000 records.If performance is down for more than 1000 records returned, I would prefer to keep the number as is.
The problem is not with the server being able to handle publishing services with a large amount of data it is with the browser being able to handle a large amount of features.
I have not tried to up the minimum features to that sort of figure as doing so would defenatly cause issues.
Returning more attributes to display in a table and the geometry to draw the features on the map will cause the browser to struggle.
The only way I will concede that the browser can be part of the problem is when it comes to sending large amounts of HTTP headers with every request. However, that rests solely on the API being used to query the data. It's not the browsers fault that it has to send that much info as part of the request.http://www.chromium.org/spdy/spdy-whitepaperhttps://developers.google.com/speed/docs/best-practices/requesthttp://www.websocket.org/quantum.html
Sometimes, for particular query, the returned values are more than 1,000 where the end-user needs to export them as CSV file (from the web mapping application).
I'd recommend to have a gp service which will execute the query, export to a CSV file on the server side and return it by url (or by value, if that is what you want). I'd not recommend to convert a query result to CSV on the client side especially when a query returns a ton of records.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.