Depends. Since it's timing out mid way through processing I assume
manipulating the command and/or connection timeout won't help you. I assume
you are running into a MVCC timeout (depends on backend database or
configuration.) The best thing might be to page based on content. Find a
good way to split the data and create an operation that runs first to grab
the distinct values. Then when you get to the main select you filter on
that value. To give an example if we're dealing with addresses you can have
this.

operation GetDistinctStates
operation GetData
operation ProcessData

GetDistinctStates will get a list of states within your dataset
GetData will process 1 state at a time (and yield it to the next operation)
ProcessData will do what it's doing today.

Nathan Palmer


On Sun, May 5, 2013 at 7:42 AM, Wayne Douglas <[email protected]> wrote:

> I'm getting timeout issues when doing a select on a huge data set - it
> times out in the select mid way through processing.
>
> Is there anyway to page through huge data sets to stop this from happening?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to