A think that, if you are doing a read that returns 10 million records,
batching the queries is not a necessary optimization, as the read must take
orders of magnitude longer then a extra round trip to the database.

On Wed, Feb 20, 2013 at 1:06 PM, Marcello Esposito <[email protected]
> wrote:

> Hi all.
>
> I have to read all records in a big table (more than 10 millions of
> records) for indexing purposes (Lucene.Net involved).
> In order to assure good performance and prevent memory overloads, I was
> trying a Stateless Session with Enumerables (not Lists), but I realized
> that .Future() doesn't work on stateless sessions and didn't find another
> way to get a IEnumerable.
>
> Any help?
>
> Thanks,
> Marcello.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "nhusers" 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/nhusers?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 
"nhusers" 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/nhusers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to