You need to sign in to do that
Don't have an account?

Query Timeout vs. Network Timeout
I just ran a query (using sforce Explorer .NET version) for "select Id from AccountShare". This was for a large customer with nearly 2 million AccountShare records.
I did not receive a query timeout. I received a network timeout. I also tried the same thing with the API and confirmed that it is a network timeout by increasing the Timeout in the web service binding.
Is this the expected behavior? Under which circumstances should I expect a query timeout vs. a network timeout?
Simon,
I did increase the timeout to 5 minutes, and I did _not_ see the query timeout.
At what time are you seeing the network timeout?
You probably only need all the accountshare rows that are manual shares. If you are trying to backup your data, all the other rows (child implicit, parent implicit, rule shares) would be automatically created based on the role hierarchy and sharing rules.
Please help me understand how to avoid this query time out error permanently. I've already enhanced the query with the batch size set as 250.
Hi John,
I am facing the query timeout problem and while doing some research on this came to know you had faced the same problem and you increased the query timeout to 5 minutes.Could you please let me know how to increase the query timeout value.
It would be great help.