Page 1 of 1
OnProgress in UniLoader doesn't work
Posted: Wed 01 May 2013 17:15
by FCS
Hello,
The OnProgress event in UniLoader doesn't work. It is not called at all.
Regards
MIchal
Re: OnProgress in UniLoader doesn't work
Posted: Thu 02 May 2013 09:41
by CristianP
Hello,
I tested it in XE3 with UniDAC 5.0.1 and 4.6.12 and is called.
Best Regards,
Cristian Peta
Re: OnProgress in UniLoader doesn't work
Posted: Thu 02 May 2013 10:16
by FCS
Hello,
On BDS2006 onProgress is not called. I use version 4.6.12.
I'm testing loading data into PostgreSQL.
How to set the UniLoader SpecificOptions from code ?
What is the BufferSize and how it should be calculated to improve loading?
Regards
Re: OnProgress in UniLoader doesn't work
Posted: Thu 02 May 2013 10:55
by CristianP
FCS wrote:
On BDS2006 onProgress is not called. I use version 4.6.12.
I do not have BDS2006 so you need to wait for devart response.
FCS wrote:
How to set the UniLoader SpecificOptions from code ?
Code: Select all
UniLoader1.SpecificOptions.Values['BufferSize'] := '8192'
FCS wrote:
What is the BufferSize and how it should be calculated to improve loading?
From help "UniDAC and PostgreSQL":
BufferSize
This property contains the size of the memory buffer used by TPgLoader. When buffer is filled, the loader sends block of data to the server.
Best Regards,
Cristian Peta
Re: OnProgress in UniLoader doesn't work
Posted: Thu 02 May 2013 11:01
by FCS
Hello,
Thanks for your reply.
Regards
MIchal
Re: OnProgress in UniLoader doesn't work
Posted: Fri 10 May 2013 10:52
by AlexP
Hello,
The OnProgress event in TUniLoader runs only in the case, when the LoadFromDataSet method is used for data loading; if you implement loading with the OnGetColumnData or OnPutData method, you should implement displaying the data loading process by yourself.
Re: OnProgress in UniLoader doesn't work
Posted: Fri 10 May 2013 15:45
by FCS
Hello,
Thanks for the information.
Regards
Michal
Re: OnProgress in UniLoader doesn't work
Posted: Tue 14 May 2013 10:00
by AlexP
Hello,
If you have any other questions, feel free to contact us.