<docbook><section><title>VirtTipsAndTricksGuideTransactionLogControl</title><title> How can I perform SPARQL Updates without exceeding transactional log size?</title> How can I perform SPARQL Updates without exceeding transactional log size?
<para>SPARUL updates are generally not meant to be transactional.
 To prevent running out of rollback space, it is usually best to tell Virtuoso to commit each operation as it is done, with this SQL call: </para>
<programlisting>SQL&gt; log_enable (2);
</programlisting><para> Transaction logging can also be turned off for <ulink url="VirtBulkRDFLoader">bulk updates</ulink>.
 In such case, one should do a manual checkpoint after the bulk insert operation, to ensure persistence across server restart, since there will be no roll forward log.</para>
<para>If you&#39;re only occasionally exceeding the configured transactional log size, you may prefer to set the &quot;<emphasis><ulink url="TransactionAfterImageLimit">TransactionAfterImageLimit</ulink></emphasis>&quot; parameter in the virtuoso.ini config file to a higher value than its 50MB default: </para>
<programlisting>#virtuoso.ini
...
[Parameters]
...
TransactionAfterImageLimit = 99999999   ; bytes default 50000000
...
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2"> Related</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="VirtTipsAndTricksGuide">Virtuoso Tips and Tricks Collection</ulink> </listitem>
<listitem><ulink url="http://docs.openlinksw.com/virtuoso/rdfperformancetuning.html#rdfperfsparul">Using SPARUL</ulink> </listitem>
<listitem><ulink url="http://docs.openlinksw.com/virtuoso/databaseadmsrv.html#ini_Parameters">Virtuoso INI Parameters</ulink></listitem>
</itemizedlist></section></docbook>