<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Grazie &nbsp;a tutti per l'aiuto, vorrei seguire la strada indicatami da Yuri, ma che cos'è il creation flag ? e come si usa?<div><br><div><div>Il giorno 16/mag/2011, alle ore 08.36, Yuri ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Il 13/05/2011 18:11, Guglielmo Carandente ha scritto:<br><blockquote type="cite">Nel recuperare i dati dal webservice con suds impiega poco tempo, e faccio un ciclo usando invokeFactory() per creare un oggetto alla volta...<br></blockquote><br>puoi usare le call più "interne" tipo<br><br> _createObjectByType('Mytype', self, id)<br><br>e settare il creationflag, e poi reindicizzare alla fine.<br><br>Quanti oggetti al secondo riesci a creare con il tuo script? È un PythonScript o una Browser View?<br><br><br><blockquote type="cite">Il giorno 13/mag/2011, alle ore 17.59, <a href="mailto:yurj@alfa.it">yurj@alfa.it</a> &lt;<a href="mailto:yurj@alfa.it">mailto:yurj@alfa.it</a>&gt; ha scritto:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Quoting Guglielmo Carandente &lt;<a href="mailto:guglielmo.carandente@infocube.it">guglielmo.carandente@infocube.it</a> &lt;<a href="mailto:guglielmo.carandente@infocube.it">mailto:guglielmo.carandente@infocube.it</a>&gt;&gt;:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Ciao a tutti,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">ho dei problemi di performance in un import massivo di dati in Plone 4 da un Webservice. Sapreste consigliarmi qualcosa per migliorarne le prestazioni o se c'è un metodo in cui passo tutto l'array di oggetti e li salvo in un solo colpo?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Se posti lo script, possiamo vedere. Per le prove che ho fatto io, Plone 4 non ha grossi problemi negli import massivi.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Plone-IT mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:Plone-IT@lists.plone.org">Plone-IT@lists.plone.org</a> &lt;<a href="mailto:Plone-IT@lists.plone.org">mailto:Plone-IT@lists.plone.org</a>&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="https://lists.plone.org/mailman/listinfo/plone-plone-it">https://lists.plone.org/mailman/listinfo/plone-plone-it</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html">http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">*Guglielmo Carandente* <a href="mailto:guglielmo.carandente@infocube.it">guglielmo.carandente@infocube.it</a> &lt;<a href="mailto:guglielmo.carandente@infocube.it">mailto:guglielmo.carandente@infocube.it</a>&gt;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">*INFOCUBE srl* via gino doria, 84 | 80128 napoli tel. +39 081 3412051 | fax. +39 081 19305669 <a href="http://www.infocube.it">www.infocube.it</a> &lt;<a href="http://www.infocube.it">http://www.infocube.it</a>&gt; <a href="http://blog.infocube.it">blog.infocube.it</a> &lt;<a href="http://blog.infocube.it">http://blog.infocube.it</a>&gt;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Plone-IT mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Plone-IT@lists.plone.org">Plone-IT@lists.plone.org</a><br></blockquote><blockquote type="cite"><a href="https://lists.plone.org/mailman/listinfo/plone-plone-it">https://lists.plone.org/mailman/listinfo/plone-plone-it</a><br></blockquote><blockquote type="cite"><a href="http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html">http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html</a><br></blockquote><br>_______________________________________________<br>Plone-IT mailing list<br><a href="mailto:Plone-IT@lists.plone.org">Plone-IT@lists.plone.org</a><br>https://lists.plone.org/mailman/listinfo/plone-plone-it<br>http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html<br><br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><pre id="line1"><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal; "><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre; "><p style="line-height: 17px; font-size: 13px; color: rgb(51, 51, 51); font-family: Tahoma; "><strong>Guglielmo Carandente</strong><br><span style="text-decoration: none; "><a href="mailto:guglielmo.carandente@infocube.it"><font class="Apple-style-span" color="#424242">guglielmo.carandente@infocube.it</font></a></span><font class="Apple-style-span" color="#424242">
</font></p><p style="line-height: 17px; font-size: 13px; color: rgb(51, 51, 51); font-family: Tahoma; "><strong style="color: rgb(0, 102, 102); ">INFOCUBE srl</strong><br>via gino doria, 84 | 80128 napoli<br>tel. +39 081 3412051 | fax. +39 081 19305669<br><a href="http://www.infocube.it"><span style="color: rgb(51, 51, 51); text-decoration: none; ">www.infocube.it</span></a><br><a href="http://blog.infocube.it"><span style="color: rgb(51, 51, 51); text-decoration: none; ">blog.infocube.it</span></a></p></span></font></span></font></pre></div></div></span></div></span></span>
</div>
<br></div></body></html>