Page 1 of 1

ScrollableCursor is slow

Posted: Tue 09 Jul 2013 20:42
by sinys
I noticed that ScrollableCursor is slow.
I want export over 3 billions records from table in CSV.
Oracle sql developer exported it at 1 hour, TOraQuery with ScrollableCursor=True as tortoise.
I have tried to adjust FetchRows parameter.
Problem in implementation ScrollableCursor or setup TOraQuery?

Re: ScrollableCursor is slow

Posted: Wed 10 Jul 2013 11:23
by AlexP
Hello,

You can use the UniDirectional property instead of ScrollableCursor and choose an optimal value for FetchRows for maximum performance. In addition, if a grid is connected to DataSet, the DisableControls method should be called before starting export

Re: ScrollableCursor is slow

Posted: Thu 11 Jul 2013 06:43
by sinys
Thank you, it's great working!

Re: ScrollableCursor is slow

Posted: Fri 12 Jul 2013 10:42
by AlexP
Hello,

Glad to see that the problem was solved. If you have any other questions, feel free to contact us.