Page 1 of 1

Reading large table

Posted: Tue 25 Aug 2009 14:13
by jlund
Hi.

I am reading a large table and writing it to a SDAC table, and I have discovered that the entire table is being read into memory although I have made it unidirectional and set fetchrows to 100.

The result is, that the table consumes more an more memory as the proces runs.

Is there a way to read the table in chunks of about 100 records, dropping them out of memory as the next 100 records are read ?

TIA Jens Lund

Posted: Tue 25 Aug 2009 15:09
by Dimon
To solve this problem you should use the FetchAll and UniDirectional properties.
Please try to compose a small sample to demonstrate the problem and send it to dmitryg*devart*com.

Posted: Wed 26 Aug 2009 07:12
by jlund
Oops - sorry

It was the SDAC table that grew - problem solved

/Jens Lund