ScrollableCursor is slow

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sinys
Posts: 186
Joined: Tue 21 Feb 2012 03:44

ScrollableCursor is slow

Post by sinys » Tue 09 Jul 2013 20:42

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?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: ScrollableCursor is slow

Post by AlexP » Wed 10 Jul 2013 11:23

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

sinys
Posts: 186
Joined: Tue 21 Feb 2012 03:44

Re: ScrollableCursor is slow

Post by sinys » Thu 11 Jul 2013 06:43

Thank you, it's great working!

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: ScrollableCursor is slow

Post by AlexP » Fri 12 Jul 2013 10:42

Hello,

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

Post Reply