El 21/07/17 a les 15:47, Richard PALO ha escrit:
Le 21/07/2017 à 00:42, Cédric Krier a écrit :
On 2017-07-20 14:00, E. Boer wrote:
Like Cedric already said, Proteus is not ment to be used for a huge
amount
of data. You can create a script like explained in the (very) old wiki:
http://hg.tryton.org/deprecated/tryton.wiki/file/tip/RemoteCalls.wiki
Indeed such call is doable with proteus by using the raw function of the
Model like Model.create or Model.write.
E.Boer, nice to know you've been able to get such thoughput, which seems
much more reasonable.
You don't happen to have a version of your script that could work with
oerp6.1->tryton4.4?
If you are using proteus 4.4, it's already doing one single call to the
server using the create and the list of all lines.
IIUC, you are creating a move with 15k lines. So I'm wondering if
increasing the record cache size [1] to a number higher than 15k for the
migration will speedup things a little bit. Of course, this will
increase the memory usage, so just take care you don't get out of memory.
Hope it helps.
[1]
http://doc.tryton.org/4.4/trytond/doc/topics/configuration.html?highlight=cache#record
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/39b414c3-a115-fe9f-e28e-beb5b4e320f6%40koolpi.com.