<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 11, 2013 at 9:24 PM, Daniel Widerin <span dir="ltr"><<a href="mailto:daniel@widerin.net" target="_blank">daniel@widerin.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":z8" style="overflow:hidden">Anyone experienced similar problems packing large relstorage databases?<br>


The graph traversal takes a really long time. maybe we can improve that<br>
by storing additional information in the relational database?<br></div></blockquote></div><br>You should (at least initially) pack *without* GC (set pack-gc true to false); I packed a humongous RelStorage-backed database before, and packed to earlier dates in the past first to minimize the amount of data removed in a single transaction.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Only when we were down to a reasonable size database did we enable garbage collection.<br clear="all"><div><br></div>-- <br>Martijn Pieters<br>
</div></div>